specify DeliverTx/CheckTx Tags format

This commit is contained in:
Anton Kaliaev
2018-04-25 22:52:11 +02:00
parent d02e4f344f
commit a6fe2a9854

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
^^^^^^^^ ^^^^^^^^