Be more explicit about the hash and payload keys

This commit is contained in:
Sylvain Bellemare 2016-02-18 11:15:26 +01:00
parent c9afcfdd98
commit 35c8ea757e

View File

@ -14,8 +14,12 @@ Transactions, blocks and votes are represented using JSON documents with the fol
"operation": "<string>",
"timestamp": "<timestamp>",
"data": {
"hash": "<sha3 hash 0>",
"payload": {},
"hash": "<SHA3-256 hash hexdigest of payload>",
"payload": {
"title": "The Winds of Plast",
"creator": "Johnathan Plunkett",
"IPFS_key": "QmfQ5QAjvg4GtA3wg3adpnDJug8ktA1BxurVqBD8rtgVjP"
}
}
},
"signature": "<ECDSA signature of the transaction>"