-
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.
- Loading branch information
Showing
130 changed files
with
4,528 additions
and
2,805 deletions.
There are no files selected for viewing
3,175 changes: 709 additions & 2,466 deletions
3,175
cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
cardano-cli/test/cardano-cli-golden/files/golden/help/address.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
68 changes: 35 additions & 33 deletions
68
cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.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 |
---|---|---|
@@ -1,37 +1,39 @@ | ||
Usage: cardano-cli genesis | ||
( key-gen-genesis | ||
| key-gen-delegate | ||
| key-gen-utxo | ||
| key-hash | ||
| get-ver-key | ||
| initial-addr | ||
| initial-txin | ||
| create-cardano | ||
| create | ||
| create-staked | ||
| hash | ||
) | ||
Usage: cardano-cli genesis --genesis-output-dir FILEPATH | ||
--start-time POSIXSECONDS | ||
--protocol-parameters-file FILEPATH | ||
--k INT | ||
--protocol-magic INT | ||
--n-poor-addresses INT | ||
--n-delegate-addresses INT | ||
--total-balance INT | ||
--delegate-share DOUBLE | ||
--avvm-entry-count INT | ||
--avvm-entry-balance INT | ||
[--avvm-balance-factor DOUBLE] | ||
[--secret-seed INT] | ||
|
||
Genesis block commands | ||
Create genesis. | ||
|
||
Available options: | ||
--genesis-output-dir FILEPATH | ||
Non-existent directory where genesis JSON file and | ||
secrets shall be placed. | ||
--start-time POSIXSECONDS | ||
Start time of the new cluster to be enshrined in the | ||
new genesis. | ||
--protocol-parameters-file FILEPATH | ||
JSON file with protocol parameters. | ||
--k INT The security parameter of the Ouroboros protocol. | ||
--protocol-magic INT The magic number unique to any instance of Cardano. | ||
--n-poor-addresses INT Number of poor nodes (with small balance). | ||
--n-delegate-addresses INT | ||
Number of delegate nodes (with huge balance). | ||
--total-balance INT Total balance owned by these nodes. | ||
--delegate-share DOUBLE Portion of stake owned by all delegates together. | ||
--avvm-entry-count INT Number of AVVM addresses. | ||
--avvm-entry-balance INT AVVM address. | ||
--avvm-balance-factor DOUBLE | ||
AVVM balances will be multiplied by this factor | ||
(defaults to 1). | ||
--secret-seed INT Optionally specify the seed of generation. | ||
-h,--help Show this help text | ||
|
||
Available commands: | ||
key-gen-genesis Create a Shelley genesis key pair | ||
key-gen-delegate Create a Shelley genesis delegate key pair | ||
key-gen-utxo Create a Shelley genesis UTxO key pair | ||
key-hash Print the identifier (hash) of a public key | ||
get-ver-key Derive the verification key from a signing key | ||
initial-addr Get the address for an initial UTxO based on the | ||
verification key | ||
initial-txin Get the TxIn for an initial UTxO based on the | ||
verification key | ||
create-cardano Create a Byron and Shelley genesis file from a | ||
genesis template and genesis/delegation/spending | ||
keys. | ||
create Create a Shelley genesis file from a genesis template | ||
and genesis/delegation/spending keys. | ||
create-staked Create a staked Shelley genesis file from a genesis | ||
template and genesis/delegation/spending keys. | ||
hash Compute the hash of a genesis file |
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
66 changes: 66 additions & 0 deletions
66
cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.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,66 @@ | ||
Usage: cardano-cli genesis create-testnet-data [--spec-shelley FILEPATH] | ||
[--spec-alonzo FILEPATH] | ||
[--spec-conway FILEPATH] | ||
[--genesis-keys INT] | ||
[--pools INT] | ||
[ --stake-delegators INT | ||
| --transient-stake-delegators INT | ||
] | ||
[ --drep-keys INT | ||
| --transient-drep-keys INT | ||
] | ||
[--stuffed-utxo INT] | ||
[--utxo-keys INT] | ||
[--total-supply LOVELACE] | ||
[--delegated-supply LOVELACE] | ||
[--testnet-magic NATURAL] | ||
[--relays FILEPATH] | ||
[--start-time UTC-TIME] | ||
--out-dir DIR | ||
|
||
Create data to use for starting a testnet. | ||
|
||
Available options: | ||
--spec-shelley FILEPATH The shelley specification file to use as input. A | ||
default one is generated if omitted. | ||
--spec-alonzo FILEPATH The alonzo specification file to use as input. A | ||
default one is generated if omitted. | ||
--spec-conway FILEPATH The conway specification file to use as input. A | ||
default one is generated if omitted. | ||
--genesis-keys INT The number of genesis keys to make (default is 3). | ||
--pools INT The number of stake pool credential sets to make | ||
(default is 0). | ||
--stake-delegators INT The number of stake delegator credential sets to make | ||
(default is 0). Credentials are written to disk. | ||
--transient-stake-delegators INT | ||
The number of stake delegator credential sets to make | ||
(default is 0). The credentials are NOT written to | ||
disk. | ||
--drep-keys INT The number of DRep credentials to make (default is | ||
0). Credentials are written to disk. | ||
--transient-drep-keys INT | ||
The number of DRep credentials to make (default is | ||
0). The credentials are NOT written to disk. | ||
--stuffed-utxo INT The number of fake UTxO entries to generate (default | ||
is 0). | ||
--utxo-keys INT The number of UTxO keys to make (default is 0). | ||
--total-supply LOVELACE The maximum possible amount of Lovelace, which is | ||
evenly distributed across stake holders. Overrides | ||
the value from the shelley genesis. If | ||
--delegated-supply is specified, a part of this | ||
amount will be delegated. | ||
--delegated-supply LOVELACE | ||
The amount of the total supply which is evenly | ||
delegated. Defaulted to half of the total supply. | ||
Cannot be more than the amount specified with | ||
--total-supply. | ||
--testnet-magic NATURAL Specify a testnet magic id for the cluster. This | ||
overrides both the network magic from the spec file | ||
and CARDANO_NODE_NETWORK_ID environment variable. | ||
--relays FILEPATH JSON file specifying the relays of each stake pool. | ||
--start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ | ||
format. If unspecified, will be the current time +30 | ||
seconds. | ||
--out-dir DIR The directory where to generate the data. Created if | ||
not existing. | ||
-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
23 changes: 6 additions & 17 deletions
23
cardano-cli/test/cardano-cli-golden/files/golden/help/governance.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 |
---|---|---|
@@ -1,23 +1,12 @@ | ||
Usage: cardano-cli governance | ||
( create-mir-certificate | ||
| create-genesis-key-delegation-certificate | ||
| create-update-proposal | ||
| create-poll | ||
| answer-poll | ||
| verify-poll | ||
) | ||
Usage: cardano-cli governance (action | committee | drep | vote) | ||
|
||
Governance commands | ||
Governance commands. | ||
|
||
Available options: | ||
-h,--help Show this help text | ||
|
||
Available commands: | ||
create-mir-certificate Create an MIR (Move Instantaneous Rewards) | ||
certificate | ||
create-genesis-key-delegation-certificate | ||
Create a genesis key delegation certificate | ||
create-update-proposal Create an update proposal | ||
create-poll Create an SPO poll | ||
answer-poll Answer an SPO poll | ||
verify-poll Verify an answer to a given SPO poll | ||
action Governance action commands. | ||
committee Committee member commands. | ||
drep DRep member commands. | ||
vote Vote commands. |
27 changes: 27 additions & 0 deletions
27
cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.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,27 @@ | ||
Usage: cardano-cli governance action | ||
( create-constitution | ||
| update-committee | ||
| create-info | ||
| create-no-confidence | ||
| create-protocol-parameters-update | ||
| create-treasury-withdrawal | ||
| create-hardfork | ||
| view | ||
) | ||
|
||
Governance action commands. | ||
|
||
Available options: | ||
-h,--help Show this help text | ||
|
||
Available commands: | ||
create-constitution Create a constitution. | ||
update-committee Create or update a new committee proposal. | ||
create-info Create an info action. | ||
create-no-confidence Create a no confidence proposal. | ||
create-protocol-parameters-update | ||
Create a protocol parameters update. | ||
create-treasury-withdrawal | ||
Create a treasury withdrawal. | ||
create-hardfork Create a hardfork initiation proposal. | ||
view View a governance action. |
49 changes: 49 additions & 0 deletions
49
...o-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.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,49 @@ | ||
Usage: cardano-cli governance action create-constitution (--mainnet | --testnet) | ||
--governance-action-deposit NATURAL | ||
( --deposit-return-stake-verification-key STRING | ||
| --deposit-return-stake-verification-key-file FILEPATH | ||
| --deposit-return-stake-key-hash HASH | ||
| --deposit-return-stake-script-file FILEPATH | ||
| --deposit-return-stake-address ADDRESS | ||
) | ||
[--prev-governance-action-tx-id TXID | ||
--prev-governance-action-index WORD16] | ||
--anchor-url TEXT | ||
--anchor-data-hash HASH | ||
--constitution-url TEXT | ||
--constitution-hash HASH | ||
[--constitution-script-hash HASH] | ||
--out-file FILEPATH | ||
|
||
Create a constitution. | ||
|
||
Available options: | ||
--mainnet Use the mainnet magic id. | ||
--testnet Use the testnet magic id. | ||
--governance-action-deposit NATURAL | ||
Deposit required to submit a governance action. | ||
--deposit-return-stake-verification-key STRING | ||
Stake verification key (Bech32 or hex-encoded). | ||
--deposit-return-stake-verification-key-file FILEPATH | ||
Filepath of the staking verification key. | ||
--deposit-return-stake-key-hash HASH | ||
Stake verification key hash (hex-encoded). | ||
--deposit-return-stake-script-file FILEPATH | ||
Filepath of the staking script. | ||
--deposit-return-stake-address ADDRESS | ||
Target stake address (bech32 format). | ||
--prev-governance-action-tx-id TXID | ||
Txid of the previous governance action. | ||
--prev-governance-action-index WORD16 | ||
Action index of the previous governance action. | ||
--anchor-url TEXT Anchor URL | ||
--anchor-data-hash HASH Proposal anchor data hash (obtain it with | ||
"cardano-cli hash anchor-data ...") | ||
--constitution-url TEXT Constitution URL. | ||
--constitution-hash HASH Hash of the constitution data (obtain it with | ||
"cardano-cli hash anchor-data ..."). | ||
--constitution-script-hash HASH | ||
Constitution script hash (hex-encoded). Obtain it | ||
with "cardano-cli hash script ...". | ||
--out-file FILEPATH Output filepath of the constitution. | ||
-h,--help Show this help text |
Oops, something went wrong.