mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
16 lines
560 B
Go
16 lines
560 B
Go
package bor
|
|
|
|
// Span represents a current bor span
|
|
type Span struct {
|
|
ID uint64 `json:"span_id" yaml:"span_id"`
|
|
StartBlock uint64 `json:"start_block" yaml:"start_block"`
|
|
EndBlock uint64 `json:"end_block" yaml:"end_block"`
|
|
}
|
|
|
|
// HeimdallSpan represents span from heimdall APIs
|
|
type HeimdallSpan struct {
|
|
Span
|
|
ValidatorSet ValidatorSet `json:"validator_set" yaml:"validator_set"`
|
|
SelectedProducers []Validator `json:"selected_producers" yaml:"selected_producers"`
|
|
ChainID string `json:"bor_chain_id" yaml:"bor_chain_id"`
|
|
}
|