Skip to main content

cluster-anchoring

Usage: pmc cluster-anchoring [OPTIONS] COMMAND [ARGS]...

Interactions with cluster anchoring chain configuration

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ update Propose new cluster anchoring configuration │
│ get Get cluster anchoring configuration │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

The blockchain command (pmc cluster-anchoring) consists of sub-commands to interact with cluster anchoring chain configuration.

update

Usage: pmc cluster-anchoring update [OPTIONS]

Propose new cluster anchoring configuration

╭─ Configuration Properties ───────────────────────────────────────────────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file
│ -s, --settings=SETTINGS Alternate path for project settings file
│ --network=TEXT Target network to make requests to (if chromia.yml is configured)
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│* -ac, --anchoring-config=PATH Configuration file for cluster anchoring chain (GtvML (.xml) or Gtv (.gtv))
│ -h, --help Show this message and exit
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

The update command (pmc cluster-anchoring update) proposes a new cluster anchoring configuration.

get

Usage: pmc cluster-anchoring get [OPTIONS]

Get cluster anchoring configuration

╭─ Configuration Properties ───────────────────────────────────────────────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file
│ -s, --settings=SETTINGS Alternate path for project settings file
│ --network=TEXT Target network to make requests to (if chromia.yml is configured)
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --save=PATH where to save configuration XML │
│ -h, --help Show this message and exit
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

The get command (pmc cluster-anchoring get) receives the anchoring configuration of a given cluster. The configuration can be saved to a desired path.