build

package
v0.5.0-app-build Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL