-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ledger-peer-snapshot to query command:
This change introduces query subcommand ledger-peer-snapshot to serialize a snapshot of big ledger peers from the tip of the current chain.
- Loading branch information
1 parent
5fc3d31
commit 3314f54
Showing
19 changed files
with
375 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-peer-snapshot.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Usage: cardano-cli allegra query ledger-peer-snapshot --socket-path SOCKET_PATH | ||
[--cardano-mode | ||
[--epoch-slots SLOTS]] | ||
( --mainnet | ||
| --testnet-magic NATURAL | ||
) | ||
--out-file FILEPATH | ||
|
||
Dump the current snapshot of ledger peers | ||
|
||
Available options: | ||
--socket-path SOCKET_PATH | ||
Path to the node socket. This overrides the | ||
CARDANO_NODE_SOCKET_PATH environment variable. The | ||
argument is optional if CARDANO_NODE_SOCKET_PATH is | ||
defined and mandatory otherwise. | ||
--cardano-mode For talking to a node running in full Cardano mode | ||
(default). | ||
--epoch-slots SLOTS The number of slots per epoch for the Byron era. | ||
(default: 21600) | ||
--mainnet Use the mainnet magic id. This overrides the | ||
CARDANO_NODE_NETWORK_ID environment variable | ||
--testnet-magic NATURAL Specify a testnet magic id. This overrides the | ||
CARDANO_NODE_NETWORK_ID environment variable | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
Oops, something went wrong.