github.com/bloxroute-labs/bor@v0.1.4/consensus/bor/span.go (about) 1 package bor 2 3 // Span represents a current bor span 4 type Span struct { 5 ID uint64 `json:"span_id" yaml:"span_id"` 6 StartBlock uint64 `json:"start_block" yaml:"start_block"` 7 EndBlock uint64 `json:"end_block" yaml:"end_block"` 8 } 9 10 // HeimdallSpan represents span from heimdall APIs 11 type HeimdallSpan struct { 12 Span 13 ValidatorSet ValidatorSet `json:"validator_set" yaml:"validator_set"` 14 SelectedProducers []Validator `json:"selected_producers" yaml:"selected_producers"` 15 ChainID string `json:"bor_chain_id" yaml:"bor_chain_id"` 16 }