mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
Use protobuf enums for RetCode. s/RetCode/CodeType/g
This commit is contained in:
@@ -9,14 +9,14 @@ type Application interface {
|
||||
SetOption(key string, value string) (log string)
|
||||
|
||||
// Append a tx
|
||||
AppendTx(tx []byte) (code RetCode, result []byte, log string)
|
||||
AppendTx(tx []byte) (code CodeType, result []byte, log string)
|
||||
|
||||
// Validate a tx for the mempool
|
||||
CheckTx(tx []byte) (code RetCode, result []byte, log string)
|
||||
CheckTx(tx []byte) (code CodeType, result []byte, log string)
|
||||
|
||||
// Return the application Merkle root hash
|
||||
GetHash() (hash []byte, log string)
|
||||
|
||||
// Query for state
|
||||
Query(query []byte) (code RetCode, result []byte, log string)
|
||||
Query(query []byte) (code CodeType, result []byte, log string)
|
||||
}
|
||||
|
Reference in New Issue
Block a user