Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Why I'm receiving always zero in the txn_count field of the block message after calling it with a getdata ? Is this expected ? How can I get the transactions present in a block ?
I solved the problem, I was reading the Nonce from the block as a 64 bit integer like in the version message instead of a 32 bit integer.
Required, but never shown