0
Can somebody please show me a working gettxoutproof / verifytxoutproof pair, I am looking for the input used on bitcoin-cli or console window in Bitcoin Core to make this happen, and the outputs.
For example, TXID: D97A21CF46FD5AFB0BF9EA4237BC4BF5C84E8B47D38D1EEE2BBEB5C0F8A1C625 is included in block 0000000000000a3290f20e75860d505ce0e948a1d1d846bec7e39015d242884b
The input to gettxoutproof should include the txid and the blockhash.
Note that
>bitcoin-cli help gettxoutproofsays that you need to maintain a transaction index, using the -txindex command line option or specify the block in which the transaction is included manually (by blockhash) for this command to operate reliably. I do not believe it operates if the transaction is in a pruned block. – Willtech – 2018-02-11T05:59:34.630