I’ve started using bitcore-p2p which works great. I’m working on a project that needs to validate remote full nodes, for that project I was wondering if I could use bitcore-p2p to query a certain full node for a specific block height/hash and get the details for that block.
Is that possible? I looked through the tests and could not find anything similar.
I couldn’t make it work with very old blocks (bitcoind doesn’t respond the getdata message for those). Maybe the block has to be in the mempool to be returned.
If you find any clues, please report!