2018-07-17 18:39:04 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2018-07-31 18:54:45 +00:00
|
|
|
package ethereum.beacon.p2p.v1;
|
2018-07-17 18:39:04 +00:00
|
|
|
|
2019-08-10 20:13:04 +00:00
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
|
2019-09-20 06:27:28 +00:00
|
|
|
message Status {
|
|
|
|
bytes head_fork_version = 1 [(gogoproto.moretags) = "ssz-size:\"4\""];
|
2019-08-13 22:48:25 +00:00
|
|
|
bytes finalized_root = 2 [(gogoproto.moretags) = "ssz-size:\"32\""];
|
|
|
|
uint64 finalized_epoch = 3;
|
|
|
|
bytes head_root = 4 [(gogoproto.moretags) = "ssz-size:\"32\""];
|
|
|
|
uint64 head_slot = 5;
|
|
|
|
}
|
|
|
|
|
2019-09-20 06:27:28 +00:00
|
|
|
message BeaconBlocksByRangeRequest {
|
2019-08-13 22:48:25 +00:00
|
|
|
bytes head_block_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""];
|
2019-09-20 06:27:28 +00:00
|
|
|
uint64 start_slot = 2;
|
2019-08-13 22:48:25 +00:00
|
|
|
uint64 count = 3;
|
|
|
|
uint64 step = 4;
|
|
|
|
}
|