Open sb1752 opened 3 weeks ago
Binary formats represented using hexadecimal means I believe what I've written is correct, let me confirm it with Raj once.
Ok. My confusion is whether the data is actually passed as hex strings between nodes or is just binary data, and represented as hex for programming purposes.
This is in regards to the hex bytes tutorial
I'm not 100% sure as I haven't checked the source code, but based on the developer documentation from bitcoin.org, bitcoin transactions are shared between peers in binary format.
"Bitcoin transactions are broadcast between peers in a serialized byte format, called raw format"
The Raw transaction is defined as follows: "Complete transactions in their binary format; often represented using hexadecimal. Sometimes called raw format because of the various Bitcoin Core commands with “raw” in their names."