mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 04:41:22 +00:00
Make order be decided first; Remove TMSP Commit/Rollback
This commit is contained in:
25
proxy/app_conn.go
Normal file
25
proxy/app_conn.go
Normal file
@ -0,0 +1,25 @@
|
||||
package proxy
|
||||
|
||||
import (
|
||||
tmsp "github.com/tendermint/tmsp/types"
|
||||
)
|
||||
|
||||
type Callback func(tmsp.Request, tmsp.Response)
|
||||
|
||||
type AppConn interface {
|
||||
SetResponseCallback(Callback)
|
||||
Error() error
|
||||
|
||||
EchoAsync(msg string)
|
||||
FlushAsync()
|
||||
AppendTxAsync(tx []byte)
|
||||
CheckTxAsync(tx []byte)
|
||||
GetHashAsync()
|
||||
SetOptionAsync(key string, value string)
|
||||
AddListenerAsync(key string)
|
||||
RemListenerAsync(key string)
|
||||
|
||||
InfoSync() (info []string, err error)
|
||||
FlushSync() error
|
||||
GetHashSync() (hash []byte, err error)
|
||||
}
|
Reference in New Issue
Block a user