Browse Source

Merge pull request #229 from tendermint/update-spec

specify DeliverTx/CheckTx Tags format
pull/1780/head
Ethan Buchman 7 years ago
committed by GitHub
parent
commit
da088e3ecd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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