Commit Graph

961 Commits

Author SHA1 Message Date
Chris Kleeschulte
72770944db Address routes fixes. 2017-08-15 12:48:16 -04:00
Chris Kleeschulte
d0eaedbb01 Headers are no longer persisted. 2017-08-14 12:04:40 -04:00
Chris Kleeschulte
b4fdfa3d42 Fixed minor sync issue. 2017-08-11 18:00:19 -04:00
Chris Kleeschulte
a1fbf20317 Refactored onHeaders. 2017-08-11 11:49:57 -04:00
Chris Kleeschulte
c7ee57f224 Fixed network name when referring to bcoin's main net. 2017-08-10 18:11:04 -04:00
Chris Kleeschulte
bf7cd67269 Fixed address/transaction indexing. 2017-08-10 17:46:27 -04:00
Chris Kleeschulte
abf52f8136 Fixed initial sync issue with headers. 2017-08-10 11:23:28 -04:00
Chris Kleeschulte
d53abfd023 Removed insight symlinks. 2017-08-10 00:01:00 -04:00
Chris Kleeschulte
f2672205e5 Fixed issue where incorrect best hash was being selected. 2017-08-09 23:54:33 -04:00
Chris Kleeschulte
3575b6eda3 Fixed timestamp service for the proper block hashes. 2017-08-09 19:40:40 -04:00
Chris Kleeschulte
cbf59e8e72 Fixed height on block load. 2017-08-09 17:53:52 -04:00
Chris Kleeschulte
9875d81df1 Fixed issue with tip. 2017-08-09 16:43:56 -04:00
Thomas Bright
54130ce77b
fixed merge conflicts 2017-08-09 14:32:26 -04:00
Justin Langston
5db694f93e
Merge branch 'blocks' of github.com:bitpay/bitcore-node into embeddedBcoinStartupHandling 2017-08-09 13:59:05 -04:00
Justin Langston
24e3b3df07
Merge branch 'blocks' of github.com:bitpay/bitcore-node into embeddedBcoinStartupHandling 2017-08-09 13:27:43 -04:00
Justin Langston
ccf51ec337
catching the synced state better
simpler connect handling
2017-08-09 13:24:24 -04:00
Jason Dreyzehner
30bcddd34d refactor: downlevel, use strict 2017-08-09 12:51:18 -04:00
Jason Dreyzehner
16c7708dd7 refactor: pacify jshint 2017-08-09 12:51:18 -04:00
Jason Dreyzehner
33d6559305 feat(config): detect and move outdated config, replace with new default 2017-08-09 12:51:18 -04:00
Justin Langston
6ad7d35963
workers should generally be enabled, should be fixed in bcoin if recurrant issue 2017-08-09 11:51:38 -04:00
Chris Kleeschulte
e3b96a2d32 Paired down what information we are persisting as far as headers go. 2017-08-09 11:48:00 -04:00
Justin Langston
79ca74421a
bcoin syncing gets stuck with workers true 2017-08-09 11:24:55 -04:00
Justin Langston
fa7868e468
listen for event sooner and increasing maxOutbound peers 2017-08-09 02:25:29 -04:00
Justin Langston
68fb731e83
switching to pool full event to indicate the sync is complete and p2p online 2017-08-09 02:10:46 -04:00
Justin Langston
8e9829016e
* making embedded bcoin sync persistent
* correctly shutdown embedded bcoin instance
* wait until bcoin is listening on P2P before trying to connect
* align bcoin port and peer port
2017-08-09 01:02:41 -04:00
Chris Kleeschulte
7809476147 Fixed off by one error when gathering blocks. 2017-08-08 17:53:07 -04:00
Chris Kleeschulte
a8d709caf6 Added cache miss function for input values. 2017-08-08 14:48:36 -04:00
Chris Kleeschulte
5ff8e7c6c1 Fixed some tests. 2017-08-08 10:09:30 -04:00
Chris Kleeschulte
07a4b706c7 Added the checkpoints back in. 2017-08-07 19:29:57 -04:00
Chris Kleeschulte
408243de4b Merge pull request #514 from bitjson/blocks
fix(default-config): update default config generation, include insigh…
2017-08-07 17:12:28 -04:00
Chris Kleeschulte
0431353048 Removed checkpoint from headers; it is not needed. 2017-08-07 17:06:44 -04:00
Jason Dreyzehner
63c55689e8 fix(default-config): update default config generation, include insight-api and insight-ui 2017-08-07 16:36:31 -04:00
Jason Dreyzehner
7c65ebad27 ci(Travis): Fix build, fix (or ignore) jshint issues 2017-07-31 15:04:25 -04:00
Chris Kleeschulte
b8e8926dad Fixed all tests. 2017-07-28 18:19:10 -04:00
Chris Kleeschulte
272fb542af Fixed missing network object in messages. 2017-07-28 17:49:56 -04:00
Chris Kleeschulte
dfdce81287 Fixed more tests. 2017-07-28 17:17:07 -04:00
Chris Kleeschulte
2bf06956e1 Added db tests. 2017-07-28 10:37:01 -04:00
Chris Kleeschulte
2bd769cce0 wip 2017-07-27 19:12:23 -04:00
Chris Kleeschulte
033849ed1f wip 2017-07-27 10:55:10 -04:00
Chris Kleeschulte
45042aee57 wip 2017-07-26 17:36:41 -04:00
Chris Kleeschulte
b4a66d969c wip 2017-07-26 10:35:06 -04:00
Chris Kleeschulte
35a21288b4 wip 2017-07-25 23:10:07 -04:00
Chris Kleeschulte
f69dfd0462 wip 2017-07-25 18:41:17 -04:00
tenthirtyone
7af2548d68 Fee service unit test 2017-07-25 18:29:49 -04:00
tenthirtyone
f7da83693e Updated fee service and cleaned console log from header service 2017-07-25 14:32:28 -04:00
Chris Kleeschulte
594452e7ba wip 2017-07-25 09:21:43 -04:00
Chris Kleeschulte
c7c9052034 wip 2017-07-24 20:51:48 -04:00
Chris Kleeschulte
d426169f33 wip 2017-07-24 10:07:27 -04:00
Chris Kleeschulte
6bb383f0d9 Merge pull request #4 from unusualbob/feature/SimpleMap
Simple map for headers
2017-07-24 08:59:34 -04:00
Chris Kleeschulte
d15d213f7f wip 2017-07-22 20:32:13 -04:00
Rob Riddle
79c171292e Implement a simple map + array to reduce memory allocations via Array creation 2017-07-21 20:21:43 -04:00
Chris Kleeschulte
c91155cc35 wip 2017-07-21 18:47:50 -04:00
Chris Kleeschulte
4a294f7058 wip 2017-07-21 14:03:04 -04:00
Chris Kleeschulte
f47a3e3a3b wip 2017-07-21 11:45:36 -04:00
Chris Kleeschulte
0263aa14ae wip 2017-07-21 11:10:54 -04:00
Chris Kleeschulte
3044a4dcfe wip 2017-07-21 07:22:13 -04:00
Chris Kleeschulte
759087bfc2 wip 2017-07-20 15:55:02 -04:00
Chris Kleeschulte
6b45ef27cd wip 2017-07-19 18:58:18 -04:00
Chris Kleeschulte
de4c59f958 wip 2017-07-19 15:50:47 -04:00
Chris Kleeschulte
861a80d678 wip 2017-07-19 10:35:25 -04:00
Chris Kleeschulte
aceddb12d9 wip 2017-07-18 19:05:32 -04:00
Chris Kleeschulte
a8eb0f8979 wip 2017-07-18 13:29:28 -04:00
Chris Kleeschulte
8365f358e7 wip 2017-07-18 10:04:22 -04:00
Chris Kleeschulte
b3ed843057 wip 2017-07-18 09:47:28 -04:00
Chris Kleeschulte
17bbfcc6ce wip 2017-07-17 18:20:48 -04:00
Chris Kleeschulte
eb39e5bf19 wip 2017-07-17 13:26:08 -04:00
Chris Kleeschulte
e1b8c583d8 wip 2017-07-17 10:17:49 -04:00
Chris Kleeschulte
67e9d63f4b wip 2017-07-16 17:29:58 -04:00
Chris Kleeschulte
b471857bf0 wip 2017-07-15 15:50:52 -04:00
Chris Kleeschulte
98ea052405 wip 2017-07-14 16:14:24 -04:00
Chris Kleeschulte
1dbba6708d wip 2017-07-14 10:07:15 -04:00
Chris Kleeschulte
63cada9e8d wip 2017-07-13 19:15:21 -04:00
Chris Kleeschulte
a488c3f083 wip 2017-07-12 17:46:38 -04:00
Chris Kleeschulte
9c943cc959 wip 2017-07-12 10:07:46 -04:00
Chris Kleeschulte
5e0b2b1f11 wip 2017-07-11 17:16:23 -04:00
Chris Kleeschulte
5de265e094 wip 2017-07-10 16:16:31 -04:00
Chris Kleeschulte
7afaa59862 wip 2017-07-10 10:00:47 -04:00
Chris Kleeschulte
b5d67135ae wip 2017-07-09 19:50:30 -04:00
Chris Kleeschulte
c837456761 wip 2017-07-07 14:30:38 -04:00
Chris Kleeschulte
ee9a3682b4 wip 2017-07-06 14:54:53 -04:00
Chris Kleeschulte
14c54a2fbf wip 2017-07-05 19:12:25 -04:00
Chris Kleeschulte
314c37db49 wip 2017-07-05 10:10:12 -04:00
Chris Kleeschulte
d0ee9c18a9 wip 2017-07-05 09:34:51 -04:00
Chris Kleeschulte
54d08d57bf wip 2017-07-05 08:57:50 -04:00
Chris Kleeschulte
3fc8ddb103 wip 2017-06-30 10:05:43 -04:00
Chris Kleeschulte
98dee7084f wip 2017-06-30 08:48:06 -04:00
Chris Kleeschulte
90b0e0e94b wip 2017-06-28 18:54:15 -04:00
Chris Kleeschulte
1cf3d6ccd2 wip 2017-06-27 16:40:10 -04:00
Chris Kleeschulte
fb0dd680ac wip 2017-06-27 07:44:58 -04:00
Chris Kleeschulte
1b77fdf5e4 wip 2017-06-26 15:28:22 -04:00
Chris Kleeschulte
73687b36cf wip 2017-06-26 08:46:32 -04:00
Chris Kleeschulte
58a5c14cdf wip 2017-06-23 07:33:54 -04:00
Chris Kleeschulte
e8efdafce0 wip 2017-06-22 14:10:23 -04:00
Chris Kleeschulte
28e29ff8db wip 2017-06-22 09:17:55 -04:00
Chris Kleeschulte
d0fb0c12ee wip 2017-06-21 16:49:36 -04:00
Chris Kleeschulte
facea3bd13 wip 2017-06-21 13:36:18 -04:00
Chris Kleeschulte
7ca831657b wip 2017-06-20 15:05:46 -04:00
Chris Kleeschulte
c4e90875a9 wip 2017-06-20 09:47:59 -04:00
Chris Kleeschulte
ac8e8b6577 Added block regtests. 2017-06-07 08:43:31 -04:00
Chris Kleeschulte
dae3c1de07 wip 2017-06-05 15:59:19 -04:00
Chris Kleeschulte
09ff858e81 wip 2017-06-05 08:17:24 -04:00
Chris Kleeschulte
84f4dbf7aa wip 2017-06-02 15:03:39 -04:00
Chris Kleeschulte
76be902463 wip 2017-06-02 08:52:46 -04:00
Chris Kleeschulte
019851e48f wip 2017-06-01 08:50:22 -04:00
Chris Kleeschulte
bf31eb44a3 wip 2017-05-31 16:25:17 -04:00
Chris Kleeschulte
58223948ac wip 2017-05-30 15:42:01 -04:00
Chris Kleeschulte
87df236e35 wip 2017-05-30 08:01:13 -04:00
Chris Kleeschulte
ec826b4940 added more blocks stuff. 2017-05-30 08:00:28 -04:00
Chris Kleeschulte
443688face wip 2017-05-26 16:19:49 -04:00
Chris Kleeschulte
d6f1f26469 wip 2017-05-26 07:40:26 -04:00
Chris Kleeschulte
8730ca6148 wip 2017-05-25 23:11:55 -04:00
Chris Kleeschulte
780175ee4e wip 2017-05-25 08:54:27 -04:00
Chris Kleeschulte
22c537f003 wip 2017-05-24 15:56:00 -04:00
Chris Kleeschulte
b51179274f wip 2017-05-23 08:53:54 -04:00
Chris Kleeschulte
6fc170f7da wip 2017-05-22 15:45:16 -04:00
Chris Kleeschulte
6cccce833d Moved closer toward not relying on zmq and rpc. 2017-05-22 08:21:37 -04:00
Chris Kleeschulte
0e1b21b988 wip 2017-05-19 19:09:47 -04:00
Chris Kleeschulte
ce15e8ecf3 wip 2017-05-19 10:48:19 -04:00
Chris Kleeschulte
72602ba89f wip 2017-05-18 17:13:50 -04:00
Chris Kleeschulte
a8760b3451 Wip on block service. 2017-05-18 09:48:28 -04:00
Chris Kleeschulte
fe6896ba98 Minor cleanup. 2017-05-17 14:47:09 -04:00
Chris Kleeschulte
bb73bac027 Added more logging. Services should call the db service for db operations. 2017-05-17 18:02:00 +00:00
Chris Kleeschulte
b4214e6ffc Fixes for missing transaction id. 2017-05-16 20:32:10 +00:00
Chris Kleeschulte
ce09b816bb Put reportStatus on ProcessSerial. 2017-05-15 15:28:34 -04:00
Chris Kleeschulte
b6f56fb02b Fixed progress bar and added tests for getTransaction in
TransactionService.
2017-05-15 15:06:21 -04:00
Chris Kleeschulte
6d95cd0302 Combined bitcoind getBlock with getBlockHeader to centralize height. 2017-05-12 20:36:27 -04:00
Chris Kleeschulte
61e5d77fea Height not properly set during reorg situation. Fixed. 2017-05-12 20:03:43 -04:00
Chris Kleeschulte
c080a62958 Callback not called properly in _process for sync. 2017-05-12 16:23:17 -04:00
Chris Kleeschulte
f2eaa1ae83 Load tip must retrieve blocks from bitcoind at startup. 2017-05-12 14:47:28 -04:00
Chris Kleeschulte
835ab3b617 Made local transform stream. 2017-05-12 13:03:51 -04:00
support
492895538a Fixed streaming issue and slowness when using new PublicKey. 2017-05-12 15:38:02 +00:00
Chris Kleeschulte
26704e52f7 wip 2017-05-11 10:52:29 -04:00
Chris Kleeschulte
94445c2073 wip 2017-05-11 10:00:01 -04:00
Chris Kleeschulte
f452d63d75 Fixed issue with missing inputValues. 2017-05-09 16:36:09 -04:00
Chris Kleeschulte
57a7155265 Fixed progress bar starting point. 2017-05-09 11:02:18 -04:00
Chris Kleeschulte
d9efd7bc02 wip 2017-05-08 21:00:50 -04:00
Chris Kleeschulte
3fe2c3ea16 wip 2017-05-01 11:22:46 -04:00
Chris Kleeschulte
758a98b2cd wip 2017-04-28 15:52:43 -04:00
Chris Kleeschulte
06b1f02e6a wip 2017-04-28 10:13:36 -04:00
Chris Kleeschulte
ebe37222f5 wip on timestamp test. 2017-04-27 15:52:46 -04:00
Chris Kleeschulte
5dfadf9d2b Added wallet regtest. 2017-04-27 07:57:59 -04:00
Chris Kleeschulte
6634b4feae wip on regtest 2017-04-26 16:59:44 -04:00
k
0788da0e45 wip new routes. 2017-04-24 13:44:08 -04:00
Chris Kleeschulte
df38a6b838 Added start retry times as an option for bitcoin startup. 2017-04-21 14:40:11 -04:00
k
cef4088908 Progress bar adjustment. 2017-04-21 14:33:40 -04:00
k
9a7b39230f Added jsonl output to stream in order to better delimit on client. 2017-04-17 19:01:33 -04:00
k
230f3681bd Cleaned code a bit. 2017-04-01 13:27:57 -04:00
Chris Kleeschulte
65089302bb Fixed wallet getTransactions. 2017-03-31 16:05:07 -04:00
Chris Kleeschulte
06ffa05ba2 Added code for tx list. 2017-03-30 16:34:49 -04:00
Chris Kleeschulte
a732128fb9 Fixed reference to wrogn util. 2017-03-29 17:37:00 -04:00
Chris Kleeschulte
b6ca44e414 Lowered highwater mark. 2017-03-21 11:42:07 -04:00
Chris Kleeschulte
8873f19a43 Fixed parsing error of incoming addresses. 2017-03-10 21:14:46 -05:00
Chris Kleeschulte
750cda44ae wip 2017-03-09 15:57:24 -05:00
Chris Kleeschulte
6a9d9bac7b Further work on jobids. 2017-03-09 08:10:07 -05:00
Chris Kleeschulte
fea7c33ab0 Further work on job ids. 2017-03-08 15:36:47 -05:00
Chris Kleeschulte
841530705e Added job reporting. 2017-03-08 14:32:32 -05:00
Chris Kleeschulte
d06c177a1a Fixed small items with syncing. 2017-03-03 13:35:43 -05:00
Chris Kleeschulte
aadd336b4c Fixed premature initial sync ending. 2017-03-02 20:25:20 -05:00
Chris Kleeschulte
f3e1ff0842 override zmq for now. 2017-03-02 15:54:03 -05:00
Chris Kleeschulte
a213ddb4fc Will not try to sync is already synced. 2017-02-20 13:04:29 -05:00
Chris Kleeschulte
d4238225d4 more cleanup. 2017-02-14 08:05:28 -05:00
Chris Kleeschulte
8d98abd080 Cleaned up old code that may not make it into the next release. 2017-02-12 12:15:22 -05:00
Chris Kleeschulte
fe2d4231cb wip 2017-02-09 17:41:39 -05:00
Chris Kleeschulte
17011bdf69 Merge branch 'feature/walletIndex' of github.com:kleetus/bitcore-node into feature/walletIndex 2017-02-07 16:16:29 -05:00
Chris Kleeschulte
f559daac4e wip 2017-02-07 16:15:49 -05:00
Chris Kleeschulte
a52b8134f7 Added unit tests for encoding files. 2017-02-07 08:18:09 -05:00
Chris Kleeschulte
921210a6d0 added some encoding tests. 2017-02-06 15:46:16 -05:00
Chris Kleeschulte
331b4e3f77 wip 2017-02-06 09:49:05 -05:00
Chris Kleeschulte
ee62cbf178 wip 2017-02-06 09:45:51 -05:00
Chris Kleeschulte
f83b8a63e3 wip 2017-02-06 09:45:51 -05:00
Chris Kleeschulte
71ca53f8ba wip 2017-02-06 09:42:33 -05:00
Patrick Nagurny
3c53b1284c got reorg working and wrote test around it 2017-02-03 17:06:00 -05:00
Patrick Nagurny
de25b1e3fe reorg wip 2017-02-03 11:23:03 -05:00
Chris Kleeschulte
cebf2c310a small fixes. 2017-02-02 15:47:23 -05:00
Chris Kleeschulte
f07486f0f6 Added mempool database encodings. 2017-02-02 11:38:29 -05:00
Chris Kleeschulte
4310faa8f0 Split out encodings and nested all services into a directory. 2017-02-02 08:53:51 -05:00
Chris Kleeschulte
9a9f43bc7f small fixes to mempool. 2017-02-01 18:35:22 -05:00
Chris Kleeschulte
c73d5bde2e mempool service. 2017-02-01 15:57:53 -05:00
Chris Kleeschulte
1ccf4e9741 Added gettransactions. 2017-02-01 13:14:54 -05:00
Chris Kleeschulte
7862481df5 Minor cleanup. 2017-02-01 10:31:48 -05:00
Chris Kleeschulte
3051c04147 Called next to proceed with sync. 2017-02-01 10:21:23 -05:00
Patrick Nagurny
7e08651d95 import addresses 2017-01-31 17:09:59 -05:00
Patrick Nagurny
15b9bce0ac blockHandler for wallet-api service 2017-01-31 14:42:08 -05:00
Chris Kleeschulte
e2229a6516 Added Utxo index block handler. 2017-01-31 13:30:48 -05:00
Chris Kleeschulte
3b76463112 Unified all encodings/serialization functions into one,
centrally-accessible encodings file.
2017-01-31 08:00:28 -05:00
Patrick Nagurny
0627a14f18 use initialSync 2017-01-30 16:09:00 -05:00
Patrick Nagurny
d4302091ee fix condition 2017-01-30 16:08:19 -05:00
Chris Kleeschulte
cd4cbe3fb7 wip 2017-01-30 15:14:32 -05:00
Chris Kleeschulte
735810919a wip 2017-01-30 15:06:32 -05:00
Chris Kleeschulte
fbdafb74f9 Merge branch 'feature/concurrency' into feature/walletIndex 2017-01-30 15:05:05 -05:00
Chris Kleeschulte
8511e2f31b Fixed event name. 2017-01-30 14:21:22 -05:00
Patrick Nagurny
4b51bc0143 make ProcessSerial a Writable stream 2017-01-27 17:02:38 -05:00
Patrick Nagurny
fae38b1ee8 try this 2017-01-27 14:49:03 -05:00
Patrick Nagurny
c5875332d4 remove serial sync timeout 2017-01-27 14:16:44 -05:00
Patrick Nagurny
68973b4c85 get tip operation in serial sync 2017-01-27 10:15:34 -05:00
Chris Kleeschulte
0f46090b7e wip on untrusted mempool 2017-01-27 08:19:13 -05:00
Patrick Nagurny
df6cfeb164 add delay to make bitcoind not pause 2017-01-26 18:17:36 -05:00
Patrick Nagurny
26108753db got it working 2017-01-26 18:09:36 -05:00
Patrick Nagurny
77c9a149dc wip 2017-01-26 15:47:16 -05:00
Chris Kleeschulte
553312947f Added mempool stuff. 2017-01-26 14:57:47 -05:00