Skip to main content

proposal

Usage: pmc proposal [OPTIONS] COMMAND [ARGS]...

Interact with existing proposals

Options:
-h, --help Show this message and exit

Commands:
info Gets information of a given proposal
list List all proposals that you can vote on
revoke Revoke/remove a proposal submitted by you
vote Providers decide if proposed configuration changes should be
applied. Use this function to vote yes or no to a proposal.

The command (pmc proposal) has sub-commands to see and vote on existing proposals in the network.

info

Usage: pmc proposal info [OPTIONS]

Gets information of a given proposal

Options:
-cfg, --config VALUE Configuration file for PMC (overrides system
configuration)
--id VALUE Id of the proposal
-h, --help Show this message and exit

The info command (pmc proposal info) gets information about a given proposal specified by its id. You can add the -v flag to see the entire proposal content.

Example usage:

pmc proposal info --id 123456

list

Usage: pmc proposal list [OPTIONS]

List all proposals that you can vote on

Options:
-cfg, --config VALUE Configuration file for PMC (overrides system
configuration)
--since INT List proposals since proposal id (default: 0)
--all Include proposals that you can not vote on
-h, --help Show this message and exit

The list command (pmc proposal list) lists all the active proposals since a given index.

revoke

Usage: pmc proposal revoke [OPTIONS]

Revoke/remove a proposal submitted by you

Options:
-cfg, --config VALUE Configuration file for PMC (overrides system
configuration)
--id INT Id of the proposal
-h, --help Show this message and exit

The revoke command (pmc proposal revoke) removes your proposal.

vote

Usage: pmc proposal vote [OPTIONS]

Providers decide if proposed configuration changes should be applied. Use
this function to vote yes or no to a proposal.

Options:
-cfg, --config VALUE Configuration file for PMC (overrides system
configuration)
--id INT Id of the proposal
-y, --accept / -n, --reject Accept or reject this proposal
-h, --help Show this message and exit

The vote command (pmc provider vote) enables providers to vote on whether the proposed configuration changes suggested by another provider should be applied.

Example usage:

pmc provider vote --id 12345 --accept