diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli index 35a6dfa184..34d0837935 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -441,7 +441,7 @@ Usage: cardano-cli shelley node issue-op-cert Issue a node operational certificate -Usage: cardano-cli shelley query +Usage: cardano-cli shelley query ( protocol-parameters | tip | stake-pools @@ -1647,7 +1647,7 @@ Usage: cardano-cli allegra node issue-op-cert Issue a node operational certificate -Usage: cardano-cli allegra query +Usage: cardano-cli allegra query ( protocol-parameters | tip | stake-pools @@ -2851,7 +2851,7 @@ Usage: cardano-cli mary node issue-op-cert Issue a node operational certificate -Usage: cardano-cli mary query +Usage: cardano-cli mary query ( protocol-parameters | tip | stake-pools @@ -2957,7 +2957,7 @@ Usage: cardano-cli mary query ledger-peer-snapshot --socket-path SOCKET_PATH --out-file FILE Dump the current snapshot of ledger peers - + Usage: cardano-cli mary query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] @@ -4178,7 +4178,7 @@ Usage: cardano-cli alonzo node issue-op-cert Issue a node operational certificate -Usage: cardano-cli alonzo query +Usage: cardano-cli alonzo query ( protocol-parameters | tip | stake-pools @@ -5542,7 +5542,7 @@ Usage: cardano-cli babbage node issue-op-cert Issue a node operational certificate -Usage: cardano-cli babbage query +Usage: cardano-cli babbage query ( protocol-parameters | tip | stake-pools @@ -7182,7 +7182,7 @@ Usage: cardano-cli conway node issue-op-cert Issue a node operational certificate -Usage: cardano-cli conway query +Usage: cardano-cli conway query ( protocol-parameters | tip | stake-pools @@ -8762,7 +8762,7 @@ Usage: cardano-cli latest node issue-op-cert Issue a node operational certificate -Usage: cardano-cli latest query +Usage: cardano-cli latest query ( protocol-parameters | tip | stake-pools @@ -9948,7 +9948,7 @@ Usage: cardano-cli legacy genesis hash --genesis FILE Compute the hash of a genesis file -Usage: cardano-cli legacy query +Usage: cardano-cli legacy query ( protocol-parameters | tip | stake-pools @@ -10033,6 +10033,16 @@ Usage: cardano-cli legacy query utxo --socket-path SOCKET_PATH Get a portion of the current UTxO: by tx in, by address or the whole. +Usage: cardano-cli legacy query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + Dump the current ledger peer snapshot + Usage: cardano-cli legacy query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] @@ -10044,16 +10054,6 @@ Usage: cardano-cli legacy query ledger-state --socket-path SOCKET_PATH Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) -Usage: cardano-cli legacy query ledger-peer-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILE - - Dump the current ledger peer snapshot - Usage: cardano-cli legacy query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] @@ -11227,7 +11227,7 @@ Usage: cardano-cli genesis hash --genesis FILE Compute the hash of a genesis file -Usage: cardano-cli query +Usage: cardano-cli query ( protocol-parameters | tip | stake-pools @@ -11307,14 +11307,6 @@ Usage: cardano-cli query utxo --socket-path SOCKET_PATH Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILE] - - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) - Usage: cardano-cli query ledger-peer-snapshot --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] @@ -11325,6 +11317,14 @@ Usage: cardano-cli query ledger-peer-snapshot --socket-path SOCKET_PATH Dump the current ledger peer snapshot +Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILE] + + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) + Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query.cli index 3bbf0ea761..7236fcc601 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query.cli @@ -6,6 +6,7 @@ Usage: cardano-cli allegra query | stake-address-info | utxo | ledger-state + | ledger-peer-snapshot | protocol-state | stake-snapshot | leadership-schedule @@ -33,6 +34,7 @@ Available commands: address or the whole. ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers protocol-state Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) stake-snapshot Obtain the three stake snapshots for a pool, plus the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..fddd357aff --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-peer-snapshot.cli @@ -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 FILE + + 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 FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query.cli index f4c913ddaf..b4903b4842 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query.cli @@ -6,6 +6,7 @@ Usage: cardano-cli alonzo query | stake-address-info | utxo | ledger-state + | ledger-peer-snapshot | protocol-state | stake-snapshot | leadership-schedule @@ -33,6 +34,7 @@ Available commands: address or the whole. ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers protocol-state Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) stake-snapshot Obtain the three stake snapshots for a pool, plus the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..83360eba61 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ledger-peer-snapshot.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli alonzo query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + 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 FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query.cli index a399cfcf69..c9f5923cf9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query.cli @@ -6,6 +6,7 @@ Usage: cardano-cli babbage query | stake-address-info | utxo | ledger-state + | ledger-peer-snapshot | protocol-state | stake-snapshot | leadership-schedule @@ -33,6 +34,7 @@ Available commands: address or the whole. ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers protocol-state Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) stake-snapshot Obtain the three stake snapshots for a pool, plus the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..2587901f93 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ledger-peer-snapshot.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli babbage query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + 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 FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli index 824f8e72ea..929823acfc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway query | stake-address-info | utxo | ledger-state + | ledger-peer-snapshot | protocol-state | stake-snapshot | leadership-schedule @@ -38,6 +39,7 @@ Available commands: address or the whole. ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers protocol-state Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) stake-snapshot Obtain the three stake snapshots for a pool, plus the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..10192113a2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-peer-snapshot.cli @@ -0,0 +1,32 @@ +Usage: cardano-cli conway query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + --out-file FILE + + 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 + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli index 1fbd07b292..c7504a7a40 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest query | stake-address-info | utxo | ledger-state + | ledger-peer-snapshot | protocol-state | stake-snapshot | leadership-schedule @@ -33,6 +34,7 @@ Available commands: address or the whole. ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers protocol-state Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) stake-snapshot Obtain the three stake snapshots for a pool, plus the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..ee0f849c71 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-peer-snapshot.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli latest query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + 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 FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli index 20cf8c21fb..65517995ca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli @@ -5,6 +5,7 @@ Usage: cardano-cli legacy query | stake-distribution | stake-address-info | utxo + | ledger-peer-snapshot | ledger-state | protocol-state | stake-snapshot @@ -30,6 +31,7 @@ Available commands: filtered by stake address. utxo Get a portion of the current UTxO: by tx in, by address or the whole. + ledger-peer-snapshot Dump the current ledger peer snapshot ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) protocol-state Dump the current protocol state of the node diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..8f3465dc7e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-peer-snapshot.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli legacy query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + Dump the current ledger peer snapshot + +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 FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query.cli index 57d3afc421..e8afda0456 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query.cli @@ -6,6 +6,7 @@ Usage: cardano-cli mary query | stake-address-info | utxo | ledger-state + | ledger-peer-snapshot | protocol-state | stake-snapshot | leadership-schedule @@ -33,6 +34,7 @@ Available commands: address or the whole. ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers protocol-state Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) stake-snapshot Obtain the three stake snapshots for a pool, plus the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..e430522628 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ledger-peer-snapshot.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli mary query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + 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 FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli index 9db00062dc..2a81d3b9ed 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli @@ -5,6 +5,7 @@ Usage: cardano-cli query | stake-distribution | stake-address-info | utxo + | ledger-peer-snapshot | ledger-state | protocol-state | stake-snapshot @@ -30,6 +31,7 @@ Available commands: filtered by stake address. utxo Get a portion of the current UTxO: by tx in, by address or the whole. + ledger-peer-snapshot Dump the current ledger peer snapshot ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) protocol-state Dump the current protocol state of the node diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..f1287a768d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-peer-snapshot.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + Dump the current ledger peer snapshot + +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 FILE The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query.cli index 23a1d9626a..8644582560 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query.cli @@ -6,6 +6,7 @@ Usage: cardano-cli shelley query | stake-address-info | utxo | ledger-state + | ledger-peer-snapshot | protocol-state | stake-snapshot | leadership-schedule @@ -33,6 +34,7 @@ Available commands: address or the whole. ledger-state Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers protocol-state Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) stake-snapshot Obtain the three stake snapshots for a pool, plus the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..26788fa72f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ledger-peer-snapshot.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli shelley query ledger-peer-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILE + + 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 FILE The output file. + -h,--help Show this help text