tendermint/proxy/app_conn.go

22 lines
409 B
Go

package proxy
import (
tmspcli "github.com/tendermint/tmsp/client"
)
type AppConn interface {
SetResponseCallback(tmspcli.Callback)
Error() error
EchoAsync(msg string)
FlushAsync()
AppendTxAsync(tx []byte)
CheckTxAsync(tx []byte)
GetHashAsync()
SetOptionAsync(key string, value string)
InfoSync() (info string, err error)
FlushSync() error
GetHashSync() (hash []byte, log string, err error)
}