ceremonyclient/node/execution/execution_engine.go
luk 1a1ef542d0
Adding GetNodeInfo (#41)
* proto,rpc_server: added NodeInfo that replaces PeerID and also yields max_frame

* proto,rpc_server: added peer_score and added another source for maxframe

---------

Co-authored-by: 0xluk <luk@luktech.dev>
2024-02-13 01:00:50 -06:00

19 lines
425 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
GetFrame() *protobufs.ClockFrame
}