mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-29 00:32:14 +00:00
22 lines
409 B
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)
|
|
}
|