blockchain

package
v1.21.42 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToBLSProofOfPossession

func ConvertToBLSProofOfPossession(publicKey, proofOfPossesion string) (signer.ProofOfPossession, error)

func GetAggregatorExtraPeers

func GetAggregatorExtraPeers(
	app *application.Lux,
	clusterName string,
) ([]info.Peer, error)

func GetAggregatorNetworkUris

func GetAggregatorNetworkUris(app *application.Lux, clusterName string) ([]string, error)

func GetBlockchainTimestamp

func GetBlockchainTimestamp(network models.Network) (time.Time, error)

func GetKeyForChangeOwner

func GetKeyForChangeOwner(app *application.Lux, network models.Network) (string, error)

func GetSubnet

func GetSubnet(subnetID ids.ID, network models.Network) (interface{}, error)

GetSubnet returns subnet validators information

func GetSubnetIDFromBlockchainID

func GetSubnetIDFromBlockchainID(blockchainID ids.ID, network models.Network) (ids.ID, error)

func PromptValidatorBalance

func PromptValidatorBalance(app *application.Lux, availableBalance float64, prompt string) (float64, error)

func UpdatePChainHeight

func UpdatePChainHeight(
	title string,
) error

func UrisToPeers

func UrisToPeers(uris []string) ([]info.Peer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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