Commit graph

21 commits

Author SHA1 Message Date
Alex
551a03107a Database update and refactor after rebase. 2018-05-23 19:38:56 -07:00
Alex
189b65ddaf Factor out filters to btcutil. 2018-05-23 19:38:56 -07:00
Alex
fe632ff233 Fix concurrency issues. 2018-05-23 19:38:56 -07:00
Alex
c7b26a11e2 Improved concurrency, added ability to get blocks from network. 2018-05-23 19:38:56 -07:00
Alex
6a1cb8c846 Working cfilter download (slows down tests). 2018-05-23 19:38:56 -07:00
Alex
125d47b55c Starting CFilter download work. 2018-05-23 19:38:56 -07:00
Alex
dd3e47756b A little cleanup. 2018-05-23 19:38:56 -07:00
Alex
5002268321 cfheaders sync works! 2018-05-23 19:38:56 -07:00
Alex
b42c527b1c Fixed some bugs. Still more to fix! 2018-05-23 19:38:56 -07:00
Alex
2b352c966d More debugging/fixes, still not working. 2018-05-23 19:38:56 -07:00
Alex
0bede37c79 More thorough testing. Tests still fail. 2018-05-23 19:38:56 -07:00
Alex
be44a3ea88 Fix some issues with cfheaders sync; reorgs still don't work. 2018-05-23 19:38:56 -07:00
Alex
87759a142f CFHeaders sync mostly done but still has some bugs. 2018-05-23 19:38:56 -07:00
Alex
4d82af7f8e Optimize, prepare for eventual sendheaders use, add sanity check 2018-05-23 19:38:56 -07:00
Alex
0a8de495cc Fix reorgs, improve string formatting/errors/logging. 2018-05-23 19:38:56 -07:00
Alex
f2aceaf363 Fix more test bugs. One last reorg bug to fix before moving on. 2018-05-23 19:38:56 -07:00
Alex
738d889e3d Possible sync fix - tests pass, but more to do 2018-05-23 19:38:56 -07:00
Alex
b7c5bcbf45 More updates on checkpoint, reorg, and sync handling and tests. 2018-05-23 19:38:56 -07:00
Alex
6ea7e6035d Reset chain to previous checkpoint if a checkpoint check fails 2018-05-23 19:38:56 -07:00
Alex
28b7bb65ea Fix checkpoint bug 2018-05-23 19:38:56 -07:00
Alex
68e02afbf4 SPV implementation - hodgepodge mishmash not done yet 2018-05-23 19:38:56 -07:00