mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-30 18:35:18 +00:00
1a1ef542d0
* 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>
19 lines
425 B
Go
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
|
|
}
|