mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 18:37:26 +08:00
25 lines
533 B
Go
25 lines
533 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
|
|
AnnounceProverJoin()
|
|
GetWorkerCount() uint32
|
|
}
|