ceremonyclient/node/execution/execution_engine.go

18 lines
391 B
Go
Raw Normal View History

2023-09-03 23:47:09 +00:00
package execution
import (
"source.quilibrium.com/quilibrium/monorepo/node/protobufs"
)
2023-09-03 23:47:09 +00:00
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
2023-09-03 23:47:09 +00:00
}