File tree 5 files changed +68
-5
lines changed
5 files changed +68
-5
lines changed Original file line number Diff line number Diff line change 120
120
# as needed. Any node version string suffixes, such as `-pre`, should be
121
121
# removed from this string identifier.
122
122
#
123
- # Min currently 10.2.1 for `GenesisMode` support.
124
- minNodeVersion = { MinNodeVersion = "10.2.1 " ; } ;
123
+ # Min currently 10.4.0 for `LedgerDB` config support.
124
+ minNodeVersion = { MinNodeVersion = "10.4.0 " ; } ;
125
125
126
126
environments = mapAttrs ( name : env : {
127
127
inherit name ;
Original file line number Diff line number Diff line change 3
3
############### Cardano Node Configuration ###############
4
4
##########################################################
5
5
6
- {
6
+ with builtins ; {
7
7
##### Locations #####
8
8
9
9
ByronGenesisFile = ./mainnet + "/byron-genesis.json" ;
50
50
SyncTargetNumberOfKnownBigLedgerPeers = 100 ;
51
51
MinBigLedgerPeersForTrustedState = 5 ;
52
52
53
+ # Default Ledger Configuration
54
+ # Additional configuration options can be found at:
55
+ # https://ouroboros-consensus.cardano.intersectmbo.org/docs/for-developers/utxo-hd/migrating
56
+ LedgerDB = {
57
+ # The time interval between snapshots, in seconds.
58
+ SnapshotInterval = ( fromJSON ( readFile ./mainnet/shelley-genesis.json ) ) . securityParam * 2 ;
59
+
60
+ # The number of disk snapshots to keep.
61
+ NumOfDiskSnapshots = 2 ;
62
+
63
+ # When querying the store for a big range of UTxOs (such as with
64
+ # QueryUTxOByAddress), the store will be read in batches of this size.
65
+ QueryBatchSize = 100 ;
66
+
67
+ # The backend can either be in memory with `V2InMemory` or on disk with
68
+ # `V1LMDB`.
69
+ Backend = "V2InMemory" ;
70
+ } ;
71
+
53
72
##### Update system parameters #####
54
73
55
74
# This protocol version number gets used by block producing nodes as part
Original file line number Diff line number Diff line change 3
3
############### Cardano Node Configuration ###############
4
4
##########################################################
5
5
6
- {
6
+ with builtins ; {
7
7
##### Locations #####
8
8
9
9
ByronGenesisFile = ./preprod + "/byron-genesis.json" ;
45
45
SyncTargetNumberOfKnownBigLedgerPeers = 100 ;
46
46
MinBigLedgerPeersForTrustedState = 5 ;
47
47
48
+ # Default Ledger Configuration
49
+ # Additional configuration options can be found at:
50
+ # https://ouroboros-consensus.cardano.intersectmbo.org/docs/for-developers/utxo-hd/migrating
51
+ LedgerDB = {
52
+ # The time interval between snapshots, in seconds.
53
+ SnapshotInterval = ( fromJSON ( readFile ./preprod/shelley-genesis.json ) ) . securityParam * 2 ;
54
+
55
+ # The number of disk snapshots to keep.
56
+ NumOfDiskSnapshots = 2 ;
57
+
58
+ # When querying the store for a big range of UTxOs (such as with
59
+ # QueryUTxOByAddress), the store will be read in batches of this size.
60
+ QueryBatchSize = 100 ;
61
+
62
+ # The backend can either be in memory with `V2InMemory` or on disk with
63
+ # `V1LMDB`.
64
+ Backend = "V2InMemory" ;
65
+ } ;
66
+
48
67
##### Update system parameters #####
49
68
50
69
# This protocol version number gets used by block producing nodes as part
Original file line number Diff line number Diff line change 3
3
############### Cardano Node Configuration ###############
4
4
##########################################################
5
5
6
- {
6
+ with builtins ; {
7
7
##### Locations #####
8
8
9
9
ByronGenesisFile = ./preview + "/byron-genesis.json" ;
45
45
SyncTargetNumberOfKnownBigLedgerPeers = 100 ;
46
46
MinBigLedgerPeersForTrustedState = 5 ;
47
47
48
+ # Default Ledger Configuration
49
+ # Additional configuration options can be found at:
50
+ # https://ouroboros-consensus.cardano.intersectmbo.org/docs/for-developers/utxo-hd/migrating
51
+ LedgerDB = {
52
+ # The time interval between snapshots, in seconds.
53
+ SnapshotInterval = ( fromJSON ( readFile ./preview/shelley-genesis.json ) ) . securityParam * 2 ;
54
+
55
+ # The number of disk snapshots to keep.
56
+ NumOfDiskSnapshots = 2 ;
57
+
58
+ # When querying the store for a big range of UTxOs (such as with
59
+ # QueryUTxOByAddress), the store will be read in batches of this size.
60
+ QueryBatchSize = 100 ;
61
+
62
+ # The backend can either be in memory with `V2InMemory` or on disk with
63
+ # `V1LMDB`.
64
+ Backend = "V2InMemory" ;
65
+ } ;
66
+
48
67
##### Update system parameters #####
49
68
50
69
LastKnownBlockVersion-Major = 3 ;
Original file line number Diff line number Diff line change 8
8
"LastKnownBlockVersion-Alt" : 0 ,
9
9
"LastKnownBlockVersion-Major" : 3 ,
10
10
"LastKnownBlockVersion-Minor" : 1 ,
11
+ "LedgerDB" : {
12
+ "Backend" : " V2InMemory" ,
13
+ "NumOfDiskSnapshots" : 2 ,
14
+ "QueryBatchSize" : 100 ,
15
+ "SnapshotInterval" : 216
16
+ },
11
17
"MaxConcurrencyDeadline" : 4 ,
12
18
"MaxKnownMajorProtocolVersion" : 2 ,
13
19
"PBftSignatureThreshold" : 1.1 ,
You can’t perform that action at this time.
0 commit comments