Skip to content

Commit a9a61d7

Browse files
authored
Document cardanoTestnet function, by specifying the shape of the directory it creates (#5577)
1 parent 54252c5 commit a9a61d7

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

cardano-testnet/src/Testnet/Start/Cardano.hs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,48 @@ startTimeOffsetSeconds :: DTC.NominalDiffTime
8484
startTimeOffsetSeconds = if OS.isWin32 then 90 else 15
8585

8686

87+
-- | Setup a number of credentials and pools, like this:
88+
--
89+
-- > ├── byron
90+
-- > │   └── genesis.json
91+
-- > ├── byron-gen-command
92+
-- > │   └── genesis-keys.00{0,1,2}.key
93+
-- > ├── byron.genesis.spec.json
94+
-- > ├── configuration.yaml
95+
-- > ├── current-stake-pools.json
96+
-- > ├── delegate-keys
97+
-- > │   ├── delegate{1,2,3}.counter
98+
-- > │   ├── delegate{1,2,3}.kes.{skey,vkey}
99+
-- > │   ├── delegate{1,2,3}.{kes,vrf}.{skey,vkey}
100+
-- > │   └── opcert{1,2,3}.cert
101+
-- > ├── genesis.alonzo.spec.json
102+
-- > ├── genesis.conway.spec.json
103+
-- > ├── genesis-keys
104+
-- > │   └── genesis{1,2,3}.{skey,vkey}
105+
-- > ├── genesis.spec.json
106+
-- > ├── node-spo{1,2,3}
107+
-- > │   ├── byron-delegate.key
108+
-- > │   ├── byron-delegation.cert
109+
-- > │   ├── db
110+
-- > │   │   └── ...
111+
-- > │   ├── kes.skey
112+
-- > │   ├── opcert.cert
113+
-- > │   ├── port
114+
-- > │   ├── topology.json
115+
-- > │   └── vrf.skey
116+
-- > ├── pools
117+
-- > │   ├── cold{1,2,3}.{skey,vkey}
118+
-- > │   ├── kes{1,2,3}.vkey
119+
-- > │   ├── opcert{1,2,3}.counter
120+
-- > │   ├── staking-reward{1,2,3}.{skey,vkey}
121+
-- > │   └── vrf{1,2,3}.vkey
122+
-- > ├── shelley
123+
-- > │   ├── genesis.{alonzo,conway}.json
124+
-- > │   └── genesis.json
125+
-- > ├── socket
126+
-- > │   └── node-spo{1,2,3}
127+
-- > └── utxo-keys
128+
-- >    └── utxo{1,2,3}.{addr,skey,vkey}
87129
cardanoTestnet :: CardanoTestnetOptions -> Conf -> H.Integration TestnetRuntime
88130
cardanoTestnet testnetOptions Conf {tempAbsPath} = do
89131
testnetMinimumConfigurationRequirements testnetOptions

0 commit comments

Comments
 (0)