Browse Source

Docs: Hash in ZMQ hash is raw bytes, not hex

Transaction hash cannot be in hexadecimal, that would be 64 bytes. In reality it's just raw bytes.
0.16
Karel Bílek 7 years ago committed by Karel Bilek
parent
commit
06a3aecf06
  1. 2
      doc/zmq.md

2
doc/zmq.md

@ -72,7 +72,7 @@ For instance:
Each PUB notification has a topic and body, where the header Each PUB notification has a topic and body, where the header
corresponds to the notification type. For instance, for the corresponds to the notification type. For instance, for the
notification `-zmqpubhashtx` the topic is `hashtx` (no null notification `-zmqpubhashtx` the topic is `hashtx` (no null
terminator) and the body is the hexadecimal transaction hash (32 terminator) and the body is the transaction hash (32
bytes). bytes).
These options can also be provided in bitcoin.conf. These options can also be provided in bitcoin.conf.

Loading…
Cancel
Save