mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Be more explicit about the hash and payload keys
This commit is contained in:
parent
c9afcfdd98
commit
35c8ea757e
@ -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>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user