-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPV Updates #721
SPV Updates #721
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just have a few questions and nits.
If you have time, you could also incorporate bcoin-org/bcoin#755 which should fix all the stuck SPV waiting for new blocks crap and make your tests a lot cleaner.
In addition, I wonder if youd be interested in breaking up the two long test blocks into separate describe
for full and SPV and then breaking up the {}
blocks as it
s
Port of bcoin-org/bcoin#755 Co-authored-by: Matthew Zipkin <pinheadmz@gmail.com>
Rename chain-test to chain-full-test. Rename chain-reorg-test to chain-test.
Synced SPV node from this branch in < 30 minutes. No reorgs while syncing but hey, nice performance. |
2c0507f
to
5513832
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 5513832
Show Signature
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
ACK 55138329613eec257dff0356f681820f74168e94
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmKCnkEACgkQ5+KYS2KJ
yTrEKA/8DpLKGZf5uIJjBwNhOyU8blxAhNF10zujNrbA8dtsrO5Rf6tOQWAm91nt
ryQftvzFyZPRj4i1Zq3sd/NJnS4CGBThlegretU47LdVDrOCjw5Z4o+AYIVd79es
rA2qsV2X39KjgY52zqgtvn5zsIvfkghzOp1vPx9QFHQutt2au364LEkId5LI8vsZ
laJRkNrlwm71Wk4pRnG+TaqB5V3g5VfB0TT/2OV912pkr/L7ze5xjseVcLk6fplK
J5PnWYnMyCNPJ4UhsP7UhHW2ShSzHvfWP1WPFg4e8zvKu0Pe9962/KgYfAwhH+23
w2I5KvhRoVwGwP0Y7hz7RUvcQ9iDvU77dEcjorRvv95lK9/LBLORthDHUaJgHEY2
5P75MMWm6eQi5gDInO3yXrtg7dTLbif5aI3vVc0kq3nyDdAbpa9/TzDDper784pV
AuIuIzuO1zYSY7YP2NxedKreAlVqkVlW1fzN1s/F3L7JFC8CWu91FGnGFTsMZ3q0
Ma0YBkzcriLuAy0e6UycSTm3cehlT/JMZxICnJTbiqVffhhg+bJldfx7kQ9DFyZe
pP2At9OcyoFLAEK6mJBi0a4/yBm/CTJ2yB5pnMsIsQ8+MKlo/cmatr4GxGxdhvJi
SdLQODYBpWbk+vn324z8xutUYWjNYXUIvepBnfv8xK1F8QCJptQ=
=0rME
-----END PGP SIGNATURE-----
pinheadmz's public key is on keybase
Add reorg tests for Chain Full and SPV.
reset
.fork
entry in thereorganize
event aftertip
andcomptetitor
.mtp
andtime-too-new
checks to the SPV Chain.