2023-04-21 21:11:04 +00:00
|
|
|
# Nimbus - Types, data structures and shared utilities used in network sync
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018-2021 Status Research & Development GmbH
|
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
|
|
|
# http://opensource.org/licenses/MIT)
|
|
|
|
# at your option. This file may not be copied, modified, or
|
|
|
|
# distributed except according to those terms.
|
|
|
|
|
|
|
|
import
|
|
|
|
../../nimbus/core/chain,
|
|
|
|
./test_types
|
|
|
|
|
|
|
|
const
|
|
|
|
snapSyncdb0* = SnapSyncSpecs(
|
2023-05-16 13:52:44 +00:00
|
|
|
name: "main-snap",
|
|
|
|
network: MainNet,
|
|
|
|
snapDump: "mainnet=64.txt.gz",
|
|
|
|
tailBlocks: "mainnet332160.txt.gz",
|
|
|
|
pivotBlock: 64u64,
|
|
|
|
nItems: 100)
|
|
|
|
|
|
|
|
snapSyncdb1* = SnapSyncSpecs(
|
2023-04-21 21:11:04 +00:00
|
|
|
name: "main-snap",
|
|
|
|
network: MainNet,
|
|
|
|
snapDump: "mainnet=128.txt.gz",
|
|
|
|
tailBlocks: "mainnet332160.txt.gz",
|
|
|
|
pivotBlock: 128u64,
|
|
|
|
nItems: 500)
|
|
|
|
|
2023-05-16 13:52:44 +00:00
|
|
|
snapSyncdb2* = SnapSyncSpecs(
|
2023-04-21 21:11:04 +00:00
|
|
|
name: "main-snap",
|
|
|
|
network: MainNet,
|
|
|
|
snapDump: "mainnet=500.txt.gz",
|
|
|
|
tailBlocks: "mainnet332160.txt.gz",
|
|
|
|
pivotBlock: 500u64,
|
|
|
|
nItems: 500)
|
|
|
|
|
2023-05-16 13:52:44 +00:00
|
|
|
snapSyncdb3* = SnapSyncSpecs(
|
2023-04-21 21:11:04 +00:00
|
|
|
name: "main-snap",
|
|
|
|
network: MainNet,
|
|
|
|
snapDump: "mainnet=1000.txt.gz",
|
|
|
|
tailBlocks: "mainnet332160.txt.gz",
|
|
|
|
pivotBlock: 1000u64,
|
|
|
|
nItems: 500)
|
|
|
|
|
2023-05-16 13:52:44 +00:00
|
|
|
snapSyncdb4* = SnapSyncSpecs(
|
2023-04-21 21:11:04 +00:00
|
|
|
name: "main-snap",
|
|
|
|
network: MainNet,
|
|
|
|
snapDump: "mainnet=300000.txt.gz",
|
|
|
|
tailBlocks: "mainnet299905-332160.txt.gz",
|
|
|
|
pivotBlock: 300000u64,
|
|
|
|
nItems: 500)
|
|
|
|
|
|
|
|
snapSyncdbList* = [
|
2023-05-16 13:52:44 +00:00
|
|
|
snapSyncdb0, snapSyncdb1, snapSyncdb2, snapSyncdb3, snapSyncdb4]
|
2023-04-21 21:11:04 +00:00
|
|
|
|
|
|
|
# End
|