Browse Source

specify DeliverTx/CheckTx Tags format

pull/1780/head
Anton Kaliaev 7 years ago
parent
commit
a6fe2a9854
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      specification.rst

+ 3
- 0
specification.rst View File

@ -228,6 +228,8 @@ CheckTx
After ``Commit``, the mempool will rerun CheckTx on all remaining After ``Commit``, the mempool will rerun CheckTx on all remaining
transactions, throwing out any that are no longer valid. transactions, throwing out any that are no longer valid.
Keys and values in Tags must be UTF-8 encoded strings (e.g. "account.owner": "Bob", "balance": "100.0", "date": "2018-01-02")
DeliverTx DeliverTx
^^^^^^^^^ ^^^^^^^^^
@ -251,6 +253,7 @@ DeliverTx
- Deliver a transaction to be executed in full by the application. If the transaction is valid, - Deliver a transaction to be executed in full by the application. If the transaction is valid,
returns CodeType.OK. returns CodeType.OK.
- Keys and values in Tags must be UTF-8 encoded strings (e.g. "account.owner": "Bob", "balance": "100.0", "time": "2018-01-02T12:30:00Z")
EndBlock EndBlock
^^^^^^^^ ^^^^^^^^


Loading…
Cancel
Save