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.
This commit is contained in:
Karel Bílek 2017-08-19 11:26:40 +02:00 committed by Karel Bilek
parent 262167393d
commit 06a3aecf06

View File

@ -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.