ceremonyclient/node/execution/execution_engine.go
Cassandra Heart 77c036b94b
v2.0.3-p0
2024-11-11 03:33:35 -06:00

25 lines
531 B
Go

package execution
import (
"math/big"
"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
GetFrame() *protobufs.ClockFrame
GetSeniority() *big.Int
GetRingPosition() int
AnnounceProverMerge()
AnnounceProverJoin()
}