Closed hashbender closed 6 years ago
This is a work in progress and is not ready for merge into master. I wanted to open this up so for review
This PR:
1.) Adds a command line parameter to enable SPV mode, which operates only on headers, i.e. a headers-only consensus. https://www.coindesk.com/spv-support-billion-bitcoin-users-sizing-scaling-claim/
2.) When SPV mode is active, the client only requests block headers and builds a consensus set based on those headers
3.) When SPV mode is not active, the node will be available to respond to both header-only requests and full block requests
TODO: This needs verification and rigorous testing.
This PR will be followed by a PR to implement the filterload and getdata methods, allowing for full SPV functionality.
filterload
getdata
Thanks for this. We merged some of this into our implementation for the 0.2.0 release.
This is a work in progress and is not ready for merge into master. I wanted to open this up so for review
This PR:
1.) Adds a command line parameter to enable SPV mode, which operates only on headers, i.e. a headers-only consensus. https://www.coindesk.com/spv-support-billion-bitcoin-users-sizing-scaling-claim/
2.) When SPV mode is active, the client only requests block headers and builds a consensus set based on those headers
3.) When SPV mode is not active, the node will be available to respond to both header-only requests and full block requests
TODO: This needs verification and rigorous testing.
This PR will be followed by a PR to implement the
filterload
andgetdata
methods, allowing for full SPV functionality.