mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-16 20:39:10 +00:00
Implement block producer for validator client
This commit is contained in:
@@ -19,7 +19,9 @@ service BeaconNodeService {
|
||||
|
||||
/// Service that handles block production
|
||||
service BeaconBlockService {
|
||||
// Requests a block to be signed from the beacon node.
|
||||
rpc ProduceBeaconBlock(ProduceBeaconBlockRequest) returns (ProduceBeaconBlockResponse);
|
||||
// Responds to the node the signed block to be published.
|
||||
rpc PublishBeaconBlock(PublishBeaconBlockRequest) returns (PublishBeaconBlockResponse);
|
||||
}
|
||||
|
||||
@@ -64,6 +66,7 @@ message Empty {}
|
||||
// Validator requests an unsigned proposal.
|
||||
message ProduceBeaconBlockRequest {
|
||||
uint64 slot = 1;
|
||||
bytes randao_reveal = 2;
|
||||
}
|
||||
|
||||
// Beacon node returns an unsigned proposal.
|
||||
|
||||
Reference in New Issue
Block a user