|
1 |
| -module Cardano.Testnet |
2 |
| - ( Babbage.BabbageTestnetOptions(..) |
3 |
| - , Cardano.CardanoTestnetOptions(..) |
4 |
| - , Shelley.ShelleyTestnetOptions(..) |
5 |
| - , TestnetOptions(..) |
6 |
| - , TestnetNodeOptions(..) |
7 |
| - , babbageDefaultTestnetOptions |
8 |
| - , cardanoDefaultTestnetOptions |
9 |
| - , cardanoDefaultTestnetNodeOptions |
10 |
| - , shelleyDefaultTestnetOptions |
11 |
| - , testnet |
| 1 | +-- | This module provides a library interface for initiating a local testnet |
| 2 | +-- |
| 3 | +module Cardano.Testnet ( |
| 4 | + -- * Testnets |
12 | 5 |
|
13 |
| - , Conf(..) |
14 |
| - , ProjectBase(..) |
15 |
| - , YamlFilePath(..) |
16 |
| - , mkConf |
17 |
| - |
18 |
| - , execCli |
19 |
| - , execCli' |
20 |
| - , execCli_ |
21 |
| - , procNode |
22 |
| - , procChairman |
23 |
| - |
24 |
| - , getRelevantLeaderSlots |
| 6 | + -- ** Start a testnet |
| 7 | + testnet, |
25 | 8 |
|
26 |
| - , assertByDeadlineMCustom |
27 |
| - , integration |
28 |
| - , isLinux |
29 |
| - , waitUntilEpoch |
| 9 | + -- ** Testnet options |
| 10 | + TestnetOptions(..), |
| 11 | + CardanoTestnetOptions(..), |
| 12 | + BabbageTestnetOptions(..), |
| 13 | + ShelleyTestnetOptions(..), |
| 14 | + TestnetNodeOptions(..), |
| 15 | + cardanoDefaultTestnetOptions, |
| 16 | + babbageDefaultTestnetOptions, |
| 17 | + shelleyDefaultTestnetOptions, |
| 18 | + cardanoDefaultTestnetNodeOptions, |
30 | 19 |
|
31 |
| - , disabled |
32 |
| - , ignoreOnWindows |
33 |
| - , ignoreOnMacAndWindows |
| 20 | + -- * Configuration |
| 21 | + Conf(..), |
| 22 | + ProjectBase(..), |
| 23 | + YamlFilePath(..), |
| 24 | + mkConf, |
34 | 25 |
|
35 |
| - , LeadershipSlot(..) |
36 |
| - , NodeLoggingFormat(..) |
37 |
| - , PaymentKeyPair(..) |
38 |
| - , StakingKeyPair(..) |
39 |
| - , TestnetRuntime(..) |
40 |
| - , NodeRuntime(..) |
41 |
| - , PoolNode(..) |
42 |
| - , PoolNodeKeys(..) |
43 |
| - , Delegator(..) |
44 |
| - , allNodes |
45 |
| - , bftSprockets |
46 |
| - , poolSprockets |
47 |
| - , poolNodeStdout |
48 |
| - , readNodeLoggingFormat |
49 |
| - , startNode |
| 26 | + -- * Processes |
| 27 | + procChairman, |
| 28 | + |
| 29 | + -- * Utils |
| 30 | + integration, |
| 31 | + waitUntilEpoch, |
| 32 | + |
| 33 | + -- * Runtime |
| 34 | + NodeRuntime(..), |
| 35 | + allNodes, |
50 | 36 |
|
51 | 37 | ) where
|
52 | 38 |
|
53 | 39 | import Testnet
|
54 |
| -import Testnet.Babbage as Babbage |
55 |
| -import Testnet.Cardano as Cardano |
| 40 | +import Testnet.Babbage |
| 41 | +import Testnet.Cardano |
| 42 | +import Testnet.Conf hiding (base) |
56 | 43 | import Testnet.Shelley as Shelley
|
57 | 44 | import Testnet.Utils (waitUntilEpoch)
|
58 |
| -import Testnet.Conf hiding (base) |
59 | 45 |
|
60 |
| -import Util.Assert |
61 |
| -import Util.Base (integration, isLinux) |
62 |
| -import Util.Ignore (disabled, ignoreOnWindows, ignoreOnMacAndWindows) |
63 |
| -import Util.Process (assertByDeadlineMCustom, execCli, execCli', execCli_, procChairman, procNode) |
| 46 | +import Util.Base (integration) |
| 47 | +import Util.Process (procChairman) |
64 | 48 | import Util.Runtime
|
0 commit comments