pub fn build_validator_config_transaction<S: KVStorage + CryptoStorage>(
validator_storage: S,
chain_id: ChainId,
sequence_number: u64,
fullnode_address: NetworkAddress,
validator_address: NetworkAddress,
reconfigure: bool,
disable_address_validation: bool
) -> Result<Transaction>
Expand description
Requires that the validator storage has the following keys set:
- OWNER_ACCOUNT
- CONSENSUS_KEY
- FULLNODE_NETWORK_KEY
- VALIDATOR_NETWORK_KEY
- VALIDATOR_NETWORK_ADDRESS_KEYS - For encrypting network addresses
- OPERATOR_ACCOUNT
- OPERATOR_KEY