mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 03:31:20 +00:00
022b6667e5
* checkpoint progress * add roundtrip tests * change all * remove error response * clean up * Update beacon-chain/sync/error_test.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * gaz * fix tests * fmt * gaz * change back * fix again * clean up * deep source * fix all tests * add gaz * fix tests Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
37 lines
982 B
Protocol Buffer
37 lines
982 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package ethereum.beacon.p2p.v1;
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
message Status {
|
|
bytes fork_digest = 1 [(gogoproto.moretags) = "ssz-size:\"4\""];
|
|
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;
|
|
}
|
|
|
|
message BeaconBlocksByRangeRequest {
|
|
uint64 start_slot = 1;
|
|
uint64 count = 2;
|
|
uint64 step = 3;
|
|
}
|
|
|
|
message ENRForkID {
|
|
bytes current_fork_digest = 1 [(gogoproto.moretags) = "ssz-size:\"4\""];
|
|
bytes next_fork_version = 2 [(gogoproto.moretags) = "ssz-size:\"4\""];
|
|
uint64 next_fork_epoch = 3;
|
|
}
|
|
/*
|
|
Spec Definition:
|
|
MetaData
|
|
(
|
|
seq_number: uint64
|
|
attnets: Bitvector[ATTESTATION_SUBNET_COUNT]
|
|
)
|
|
*/
|
|
message MetaData {
|
|
uint64 seq_number =1;
|
|
bytes attnets = 2 [(gogoproto.moretags) = "ssz-size:\"8\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitvector64"];
|
|
} |