ceremonyclient/node/execution/execution_engine.go
2023-10-08 23:52:19 -05:00

18 lines
391 B
Go

package execution
import (
"source.quilibrium.com/quilibrium/monorepo/node/protobufs"
)
type ExecutionEngine interface {
GetName() string
GetSupportedApplications() []*protobufs.Application
Start() <-chan error
Stop(force bool) <-chan error
ProcessMessage(
address []byte,
message *protobufs.Message,
) ([]*protobufs.Message, error)
GetPeerInfo() *protobufs.PeerInfoResponse
}