sawtooth.cli.admin_sub.permissioned_validator_registry module

class sawtooth.cli.admin_sub.permissioned_validator_registry.PermissionedValidatorRegistryClient(keyfile, base_url='http://localhost:8800')[source]

Bases: sawtooth.client.SawtoothClient

get_validator_list()[source]

Retrieves the endpoint list from the validator.

Parameters:N/A
Returns:A list of endpoints. Each endpoint is an OrderedDict of values from EndpointRegistryTransaction.
send_permissioned_validator_registry_txn(update)[source]

This sets up the same defaults as the Transaction so when signing happens in sendtxn, the same payload is signed. :param update: dict The data associated with the Xo data model

Returns:str The txnid associated with the transaction
Return type:txnid
sawtooth.cli.admin_sub.permissioned_validator_registry.add_validator_parser(subparsers, parent_parser)[source]
sawtooth.cli.admin_sub.permissioned_validator_registry.do_permissioned_validator_registry(args)[source]
sawtooth.cli.admin_sub.permissioned_validator_registry.do_validator_registry(args)[source]
sawtooth.cli.admin_sub.permissioned_validator_registry.list_validator_registry(args)[source]