I'm trying to understand the internals of bitcoin itself, and have deciphered a number of the peer-to-peer messages, but I'm having a hard time tracing where bitcoin handles the MerkleBlock message, if it handles it at all.

Can someone help point me to where the code is that handles this message?

  • 1
    Bitcoin Core only implements a BIP37 server, not a client. So it will create merkleblock messages when requested, but will never process any incoming ones itself (it has no use for them; as it's a full node it needs full blocks, not partial ones). – Pieter Wuille Sep 1 '18 at 1:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.