1

Bitcoin (and derived altcoins) use magic byte prefixes to identify their network messages and to distinguish between clients running on different networks/chains such as testnet or an altcoin. Does Monero use something similar? If so, what is the value, and where is the code that defines it?

In bitcoin, the value is 0xd9b4bef9 and it is defined at: https://github.com/bitcoin/bitcoin/blob/v0.16.1/src/chainparams.cpp#L115

0

1 Answer 1

1

Monero uses the Levin protocol for p2p comms. Similar question here.

The definitions for the commands are here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.