-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#667 Add ref-script-size query command
- Loading branch information
1 parent
644294c
commit 52819a2
Showing
18 changed files
with
431 additions
and
0 deletions.
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
36 changes: 36 additions & 0 deletions
36
cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ref-script-size.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,36 @@ | ||
Usage: cardano-cli allegra query ref-script-size --socket-path SOCKET_PATH | ||
[--cardano-mode | ||
[--epoch-slots SLOTS]] | ||
(--tx-in TX-IN) | ||
( --mainnet | ||
| --testnet-magic NATURAL | ||
) | ||
[ --output-json | ||
| --output-text | ||
] | ||
[--out-file FILE] | ||
|
||
Calculate the reference input scripts size in bytes for provided transaction | ||
ids | ||
|
||
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) | ||
--tx-in TX-IN Transaction input (TxId#TxIx). | ||
--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 | ||
--output-json Format reference inputs query output to JSON. Default | ||
format when writing to a file | ||
--output-text Format reference inputs query output to TEXT. Default | ||
format when writing to stdout | ||
--out-file FILE Optional output file. Default is to write to stdout. | ||
-h,--help Show this help text |
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
Oops, something went wrong.