Bitcoin full node and query server

Nov 19, 2020

View in context in the libbitcoin Slack #general mirror.

P
Phil14:47
Hello guys! How do I configure my LB node to [effectively] be an SPV node?
neillm15:26
The v4 client adds a fetch-block-hashes command (i.e. bx fetch-block-hashes -t 100000) where you can get a properly ordered list of transactions in a block. If you needed to generate a merkle proof for a particular tx, you could use that result. This new command does work against version3 servers if you wanted to try it:
/bx fetch-block-hashes -t 100000
hashes
{
    hash 8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87
    hash fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4
    hash 6359f0868171b1d194cbee1af2f16ea598ae8fad666d9b012c8ed2b79a236ec4
    hash e9a66845e05d5abc0ad04ec80f774a7e585c6e8db975962d069a522137b80c1d
}