Commit Graph

422 Commits

Author SHA1 Message Date
Christopher Jeffrey
a5b8da17fc
services. 2016-05-15 18:33:54 -07:00
Christopher Jeffrey
5ac4621b0e
comments. docs. 2016-05-15 18:22:28 -07:00
Christopher Jeffrey
86bc2227a4
get address working. 2016-05-13 13:38:18 -07:00
Christopher Jeffrey
6bf5554325
rename address. 2016-05-13 13:15:38 -07:00
Christopher Jeffrey
fc22de77bf
tests passing. 2016-05-13 10:04:56 -07:00
Christopher Jeffrey
5eb3946e38
major refactor. 2016-05-13 09:24:04 -07:00
Christopher Jeffrey
15045bfb0b
fix notfound handler. 2016-05-09 09:49:28 -07:00
Christopher Jeffrey
4700990bcd
mempool locker hasPending. 2016-05-09 00:56:44 -07:00
Christopher Jeffrey
5c61760fef
minor. 2016-05-09 00:51:12 -07:00
Christopher Jeffrey
b85a98b4ca
broadcast option. 2016-05-07 00:52:55 -07:00
Christopher Jeffrey
41a864d130
block sync. 2016-05-07 00:27:46 -07:00
Christopher Jeffrey
7e3635bce6
minor. 2016-05-06 20:11:57 -07:00
Christopher Jeffrey
1bf606a22d
check orphan txs before requesting. 2016-05-06 14:10:01 -07:00
Christopher Jeffrey
3326078694
check mempool before requesting tx. 2016-05-06 14:03:50 -07:00
Christopher Jeffrey
2faf8513c4
add adding state to chain. 2016-05-05 03:08:20 -07:00
Christopher Jeffrey
d89bd13f09
move errors around. assert. 2016-04-29 18:17:48 -07:00
Christopher Jeffrey
9468b00d1c
refactor. cleanup. 2016-04-28 23:01:34 -07:00
Christopher Jeffrey
1e0394cc0b
another tx test. minor. 2016-04-20 01:08:13 -07:00
Christopher Jeffrey
c95681ae3f
add date and time functions. 2016-04-19 20:42:46 -07:00
Christopher Jeffrey
4456e468af
misc fixes. tx.toExtended. 2016-04-19 19:54:34 -07:00
Christopher Jeffrey
a14299bdad
move adjusted time around. 2016-04-19 06:08:40 -07:00
Christopher Jeffrey
b9369412d2
implement GetAdjustedTime. 2016-04-19 05:47:47 -07:00
Christopher Jeffrey
949f8684b0
fixes. 2016-04-18 17:33:03 -07:00
Christopher Jeffrey
69ddca52a8
clean up utils. 2016-04-18 00:36:03 -07:00
Christopher Jeffrey
a62d249d8e
do not kill loader if we have pending blocks. 2016-04-17 23:20:25 -07:00
Christopher Jeffrey
f4c991ab77
mutable scripts. 2016-04-17 21:02:43 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
0f6c19bcd5
major refactor. 2016-04-16 20:03:00 -07:00
Christopher Jeffrey
0d7d8073a2
refactor. 2016-04-16 05:56:38 -07:00
Christopher Jeffrey
e3595906c9
no one can say i didn't write docs now. 2016-04-15 06:43:44 -07:00
Christopher Jeffrey
7c725c40aa
minor. 2016-04-08 14:42:09 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -07:00
Christopher Jeffrey
d423e33e03 getutxos. arg parsing. 2016-04-04 20:29:46 -07:00
Christopher Jeffrey
4b20a87b4f db refactoring. 2016-04-04 18:57:34 -07:00
Christopher Jeffrey
849f1d842e more refactoring. 2016-04-04 17:37:53 -07:00
Christopher Jeffrey
7b3b0695c3 serve merkleblocks. 2016-04-03 23:44:39 -07:00
Christopher Jeffrey
3f0ac32334 add connect method. 2016-04-03 06:11:30 -07:00
Christopher Jeffrey
fb370eda1c mempool. fix sigop counting. 2016-03-31 03:38:28 -07:00
Christopher Jeffrey
b1d53adb6a locks. reject. 2016-03-30 22:47:31 -07:00
Christopher Jeffrey
4d2d9b328c verify error refactor. 2016-03-30 16:21:56 -07:00
Christopher Jeffrey
d2767e4e34 refactoring. 2016-03-30 04:13:26 -07:00
Christopher Jeffrey
6655e57053 refactor maps. 2016-03-29 19:20:10 -07:00
Christopher Jeffrey
caf52c0579 refactor. close methods. 2016-03-29 13:25:03 -07:00
Christopher Jeffrey
484db3568a add getSmall. 2016-03-28 18:37:38 -07:00
Christopher Jeffrey
93660e829a mem usage. 2016-03-28 17:54:56 -07:00
Christopher Jeffrey
af6ac736bf consistent naming. 2016-03-28 13:22:31 -07:00
Christopher Jeffrey
e1fd556ff6 misc. alert. 2016-03-27 13:57:35 -07:00
Christopher Jeffrey
6194c66d8f mempool work. accurate reject messages. 2016-03-26 03:37:06 -07:00
Christopher Jeffrey
e205c70f97 mempool. txdb. 2016-03-25 20:02:23 -07:00
Christopher Jeffrey
b4b4e8b6cc reject packets. 2016-03-23 19:03:50 -07:00
Christopher Jeffrey
81be92b1ba remove old getSeed. 2016-03-23 18:51:47 -07:00
Christopher Jeffrey
cc7004e43a peer handling. 2016-03-23 18:49:51 -07:00
Christopher Jeffrey
6d5e277629 reject packets. pool refactor. 2016-03-23 15:46:07 -07:00
Christopher Jeffrey
5023c7efe4 add locker. refactor. 2016-03-23 03:52:11 -07:00
Christopher Jeffrey
b792976586 fixes. refactor. 2016-03-21 18:41:06 -07:00
Christopher Jeffrey
6136434959 refactor. 2016-03-20 09:19:43 -07:00
Christopher Jeffrey
5153e0e1f0 cleanup. 2016-03-19 10:03:55 -07:00
Christopher Jeffrey
6fdfd2ab6b more db wrapper improvements. 2016-03-19 08:56:50 -07:00
Christopher Jeffrey
800f5a5448 db wrapper. fix memleak. consistency. 2016-03-19 08:24:22 -07:00
Christopher Jeffrey
89a8329a76 fix port. packets. 2016-03-15 14:59:17 -07:00
Christopher Jeffrey
c445fcd1bd more linting. 2016-03-15 04:59:39 -07:00
Christopher Jeffrey
2e37b1e7ad lint. 2016-03-15 04:37:17 -07:00
Christopher Jeffrey
3953f392f6 peer version handling. 2016-03-14 22:21:28 -07:00
Christopher Jeffrey
dc05362ad1 remove blockdb. 2016-03-11 22:53:03 -08:00
Christopher Jeffrey
40f9c62b6e request timeout. 2016-03-06 11:41:24 -08:00
Christopher Jeffrey
2d028bb4b4 version packet handling. 2016-03-06 11:20:35 -08:00
Christopher Jeffrey
99f927665a timeouts. 2016-03-06 02:08:32 -08:00
Christopher Jeffrey
f24d4aa938 more code cleanup. 2016-03-06 02:00:53 -08:00
Christopher Jeffrey
9c64b62078 remove old code. 2016-03-06 01:58:43 -08:00
Christopher Jeffrey
51b2e1f9a9 improve sync. misc fixes. 2016-03-06 01:41:07 -08:00
Christopher Jeffrey
30f454e184 minor. 2016-03-05 17:14:26 -08:00
Christopher Jeffrey
df97d0ce11 pool fixes. 2016-03-05 16:55:58 -08:00
Christopher Jeffrey
c9bf605a85 fixes. improvements. 2016-03-05 09:15:59 -08:00
Christopher Jeffrey
67e739ef39 fixes. 2016-03-05 08:43:52 -08:00
Christopher Jeffrey
d78a727de8 leveldb stuff. 2016-03-05 07:28:45 -08:00
Christopher Jeffrey
6b51badfa9 better reorgs. 2016-03-05 06:19:05 -08:00
Christopher Jeffrey
081924b7d4 remove old _verify method. 2016-03-05 04:24:06 -08:00
Christopher Jeffrey
dd54dcad11 fixes. better reorg. 2016-03-05 04:21:19 -08:00
Christopher Jeffrey
04c5f94997 new chaindb. allow for real fork resolution. 2016-03-05 02:18:39 -08:00
Christopher Jeffrey
6de9e54667 be more strict on the protocol level. 2016-03-04 14:51:37 -08:00
Christopher Jeffrey
f67902a9cf refactor. allow tx querying by timestamp. 2016-03-04 03:49:43 -08:00
Christopher Jeffrey
ad8090dc7c tx-by-height. update node and pool to use walletdb. 2016-03-02 15:20:39 -08:00
Christopher Jeffrey
e31e485553 walletdb. tests. refactor. 2016-03-02 02:36:14 -08:00
Christopher Jeffrey
45292df44d more node improvements. 2016-03-01 03:39:55 -08:00
Christopher Jeffrey
00b8f8950b walletdb improvements. start refactoring node object. 2016-02-29 21:33:11 -08:00
Christopher Jeffrey
5b1ee4cccb ignore orphan soil for request map. fix block delta. 2016-02-29 01:53:08 -08:00
Christopher Jeffrey
2677b0eecd wallet refactoring. 2016-02-28 22:44:02 -08:00
Christopher Jeffrey
7829ff3bea orphan soil. misc. 2016-02-28 19:15:15 -08:00
Christopher Jeffrey
326ef521ff calculate vsize. other misc fixes. 2016-02-28 07:05:16 -08:00
Christopher Jeffrey
3fcc7d5b07 segwit wallet support. segwit chain improvements. 2016-02-28 04:12:51 -08:00
Christopher Jeffrey
77c9348824 get segnet working. 2016-02-26 21:53:39 -08:00
Christopher Jeffrey
afd6ee15c9 getblocks. parser/framer fixes. add profiler. 2016-02-24 23:45:45 -08:00
Christopher Jeffrey
42818c0646 drop block subtype. 2016-02-24 07:08:02 -08:00
Christopher Jeffrey
0af709388c update getheaders sync. 2016-02-24 06:54:36 -08:00
Christopher Jeffrey
07a4c3a465 misc fixes. 2016-02-24 02:37:38 -08:00
Christopher Jeffrey
76b79ab25d headers. 2016-02-23 04:40:00 -08:00
Christopher Jeffrey
95a5d2c47b getheaders. better pow test. 2016-02-23 04:37:13 -08:00
Christopher Jeffrey
78e9be11c3 switch to buffers. 2016-02-22 20:37:15 -08:00
Christopher Jeffrey
9bc0b250ae remove multiplePeers option. 2016-02-22 15:21:53 -08:00
Christopher Jeffrey
c0bb66bf73 refactor orphan root. 2016-02-22 15:16:50 -08:00
Christopher Jeffrey
0dc1b1cc5f fix orphan resolution. 2016-02-22 14:35:13 -08:00
Christopher Jeffrey
9ddc23227c fix LoadRequest. misc. 2016-02-22 13:52:03 -08:00
Christopher Jeffrey
c81770c2b1 move some deps around. drop inherits. 2016-02-21 06:31:15 -08:00
Christopher Jeffrey
e7478372cf use level-js in the browser instead of memdown. 2016-02-20 21:33:58 -08:00
Christopher Jeffrey
6e2eb039ac add spv node. add .bcoin dir. add file storage for wallet. 2016-02-20 16:53:10 -08:00
Christopher Jeffrey
e2759707f2 package.json and Makefile. 2016-02-19 22:29:33 -08:00
Christopher Jeffrey
7a66a2717e minor 2016-02-19 22:11:46 -08:00
Christopher Jeffrey
06d6d74081 more renaming. 2016-02-19 22:10:38 -08:00
Christopher Jeffrey
d48d9d44ee more renaming. 2016-02-19 22:06:47 -08:00
Christopher Jeffrey
3c29e20df2 refactor pool.search. 2016-02-19 22:04:33 -08:00
Christopher Jeffrey
48d7b95d61 minor refactor. 2016-02-19 21:48:06 -08:00
Christopher Jeffrey
28274cdba4 rename methods. 2016-02-19 21:42:44 -08:00
Christopher Jeffrey
9eb90dd821 show pending jobs. 2016-02-19 19:53:24 -08:00
Christopher Jeffrey
e9a847e8e2 remove old functions. 2016-02-19 11:20:34 -08:00
Christopher Jeffrey
3c3e9a496a more chain improvements. 2016-02-19 11:10:45 -08:00
Christopher Jeffrey
3a63da5735 async work. 2016-02-19 08:07:50 -08:00
Christopher Jeffrey
cefeaf779b better block sync. 2016-02-19 07:49:14 -08:00
Christopher Jeffrey
7c3191aee8 fix chaindb queue system. 2016-02-19 06:30:10 -08:00
Christopher Jeffrey
9bc3e44a7f misc method improvements. 2016-02-19 03:08:50 -08:00
Christopher Jeffrey
71557ba95c more chain improvements. 2016-02-19 02:14:10 -08:00
Christopher Jeffrey
5f67f78170 chain fixes. 2016-02-19 01:42:59 -08:00
Christopher Jeffrey
42f5ece282 refactor mempool events from chain. 2016-02-18 17:30:15 -08:00
Christopher Jeffrey
050d801849 standardness. chain. pool. 2016-02-18 15:26:03 -08:00
Christopher Jeffrey
86cebb7e3b normalize DER signature length. 2016-02-17 21:10:46 -08:00
Christopher Jeffrey
d22dc02e8f wait for flush. 2016-02-17 19:40:56 -08:00
Christopher Jeffrey
0139e1340c minor pool changes. 2016-02-17 18:00:54 -08:00
Christopher Jeffrey
6ef09f39ec better events. 2016-02-17 17:07:12 -08:00
Christopher Jeffrey
f7ac99d24d minor refactoring. 2016-02-17 16:02:11 -08:00
Christopher Jeffrey
5d9f106e2a event based system for chain error handling. 2016-02-17 15:30:33 -08:00
Christopher Jeffrey
7a04ac25d0 add queue back to handleBlock. 2016-02-17 13:04:26 -08:00
Christopher Jeffrey
2b84c16f0a drop bip37 emulation. 2016-02-17 12:54:42 -08:00
Christopher Jeffrey
a485a1d334 move queue to the chain. 2016-02-17 12:52:22 -08:00
Christopher Jeffrey
9b1effdc66 pool improvements. 2016-02-17 05:08:19 -08:00
Christopher Jeffrey
8e81b8914d bad bufferpool. misc. 2016-02-17 04:59:12 -08:00
Christopher Jeffrey
f17575f864 queue 2016-02-17 02:53:43 -08:00
Christopher Jeffrey
90b3c16837 debugging. 2016-02-17 01:16:01 -08:00
Christopher Jeffrey
7b14c3b72b debugging. 2016-02-17 00:14:25 -08:00
Christopher Jeffrey
d0d0378f3e queue. fixes. 2016-02-16 21:01:31 -08:00
Christopher Jeffrey
997f0acbb0 more refactoring. 2016-02-16 16:13:34 -08:00
Christopher Jeffrey
e912f78814 async chain. 2016-02-16 03:03:11 -08:00
Christopher Jeffrey
24cc9c85ef options. misc. 2016-02-15 23:48:23 -08:00
Christopher Jeffrey
dbba098190 remove calls to getTip(). 2016-02-12 16:38:26 -08:00
Christopher Jeffrey
05d4eab0d8 add preload option. better errors. 2016-02-08 21:05:27 -08:00
Christopher Jeffrey
6cab97b265 listen on server socket for leech peers. 2016-02-08 18:46:09 -08:00
Christopher Jeffrey
72b7adc800 get bcoin working in the browser again. 2016-02-08 18:06:39 -08:00
Christopher Jeffrey
2ec7989b6a no more dynamic heights. 2016-02-06 21:51:38 -08:00
Christopher Jeffrey
1761266ba9 improve tx-pool. 2016-02-06 19:10:40 -08:00
Christopher Jeffrey
18f0a55779 refactor tx. 2016-02-05 22:46:04 -08:00
Christopher Jeffrey
84551e17e2 paths. scanning. unspents. 2016-02-05 03:44:42 -08:00
Christopher Jeffrey
e0ab0ab88d minor changes/fixes. 2016-02-03 02:09:03 -08:00