mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-11 07:20:19 +00:00
Adds the `FinalizeBlock` method which replaces `BeginBlock`, `DeliverTx`, and `EndBlock` in a single call.
11 lines
240 B
Go
11 lines
240 B
Go
package kvstore
|
|
|
|
// Return codes for the examples
|
|
const (
|
|
CodeTypeOK uint32 = 0
|
|
CodeTypeEncodingError uint32 = 1
|
|
CodeTypeInvalidTxFormat uint32 = 2
|
|
CodeTypeUnauthorized uint32 = 3
|
|
CodeTypeExecuted uint32 = 5
|
|
)
|