Bigzhu's den

bitcoin 的 listsinceblock rpc

bigzhu

https://bitcoin.org/en/developer-reference#listsinceblock

列出从某个块以后的交易

bitcoin-cli getblockhash 100000 00000000009e2958c15ff9290d571bf9459e93b19765c6801ddeccadbb160a1e

bitcoin-cli listsinceblock 00000000009e2958c15ff9290d571bf9459e93b19765c6801ddeccadbb160a1e

lastblock: 00000000a6c4841138996a71de14c48bee72dd4e8e15a5afaacdd2f34cc63e27

bitcoin-cli getblock 00000000a6c4841138996a71de14c48bee72dd4e8e15a5afaacdd2f34cc63e27

“height”: 1288258,

bitcoin-cli getblockcount 1288259

bigzhu
Everything is learnable