Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Mainnet = fromToml(snapshothashes.Mainnet) // Holesky = fromToml(snapshothashes.Holesky) Sepolia = fromToml(snapshothashes.Sepolia) Goerli = fromToml(snapshothashes.Goerli) Mumbai = fromToml(snapshothashes.Mumbai) BorMainnet = fromToml(snapshothashes.BorMainnet) Gnosis = fromToml(snapshothashes.Gnosis) Chiado = fromToml(snapshothashes.Chiado) )
View Source
var ( MainnetChainSnapshotCfg = newCfg(Mainnet) // HoleskyChainSnapshotCfg = newCfg(Holesky, HoleskyHistory) SepoliaChainSnapshotCfg = newCfg(Sepolia) GoerliChainSnapshotCfg = newCfg(Goerli) MumbaiChainSnapshotCfg = newCfg(Mumbai) BorMainnetChainSnapshotCfg = newCfg(BorMainnet) GnosisChainSnapshotCfg = newCfg(Gnosis) ChiadoChainSnapshotCfg = newCfg(Chiado) )
View Source
var KnownCfgs = map[string]*Cfg{ networkname.MainnetChainName: MainnetChainSnapshotCfg, networkname.SepoliaChainName: SepoliaChainSnapshotCfg, networkname.GoerliChainName: GoerliChainSnapshotCfg, networkname.MumbaiChainName: MumbaiChainSnapshotCfg, networkname.BorMainnetChainName: BorMainnetChainSnapshotCfg, networkname.GnosisChainName: GnosisChainSnapshotCfg, networkname.ChiadoChainName: ChiadoChainSnapshotCfg, }
View Source
var KnownWebseeds = map[string][]string{ networkname.MainnetChainName: webseedsParse(webseed.Mainnet), networkname.SepoliaChainName: webseedsParse(webseed.Sepolia), networkname.GoerliChainName: webseedsParse(webseed.Goerli), networkname.MumbaiChainName: webseedsParse(webseed.Mumbai), networkname.BorMainnetChainName: webseedsParse(webseed.BorMainnet), networkname.GnosisChainName: webseedsParse(webseed.Gnosis), networkname.ChiadoChainName: webseedsParse(webseed.Chiado), }
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { ExpectBlocks uint64 Preverified Preverified }
type Preverified ¶
type Preverified []PreverifiedItem
type PreverifiedItem ¶
Click to show internal directories.
Click to hide internal directories.