Documentation
¶
Index ¶
- func AddOperator(values *network.GlobalValues, operatorCount int, newKeyHash []byte) (*protocol.Transaction, error)
- func AddValidator(values *network.GlobalValues, operatorCount int, newPubKey []byte, ...) (*protocol.Transaction, error)
- func RemoveOperator(values *network.GlobalValues, operatorCount int, oldKeyHash []byte) (*protocol.Transaction, error)
- func RemoveValidatorFrom(values *network.GlobalValues, operatorCount int, pubKey []byte, ...) (*protocol.Transaction, error)
- func UpdateOperatorKey(oldKeyHash, newKeyHash []byte) (*protocol.Transaction, error)
- func UpdateValidatorKey(values *network.GlobalValues, oldPubKey, newPubKey []byte) (*protocol.Transaction, error)
- func UpdateValidatorName(values *network.GlobalValues, pubKey []byte, name *url.URL) (*protocol.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOperator ¶
func AddOperator(values *network.GlobalValues, operatorCount int, newKeyHash []byte) (*protocol.Transaction, error)
func AddValidator ¶
func AddValidator(values *network.GlobalValues, operatorCount int, newPubKey []byte, partition string, active bool) (*protocol.Transaction, error)
func RemoveOperator ¶
func RemoveOperator(values *network.GlobalValues, operatorCount int, oldKeyHash []byte) (*protocol.Transaction, error)
func RemoveValidatorFrom ¶ added in v0.3.1
func RemoveValidatorFrom(values *network.GlobalValues, operatorCount int, pubKey []byte, partition string) (*protocol.Transaction, error)
func UpdateOperatorKey ¶
func UpdateOperatorKey(oldKeyHash, newKeyHash []byte) (*protocol.Transaction, error)
func UpdateValidatorKey ¶
func UpdateValidatorKey(values *network.GlobalValues, oldPubKey, newPubKey []byte) (*protocol.Transaction, error)
func UpdateValidatorName ¶ added in v0.3.1
func UpdateValidatorName(values *network.GlobalValues, pubKey []byte, name *url.URL) (*protocol.Transaction, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.