blockchain

package
v1.18.0-RC7 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 2 Imported by: 3

Documentation

Overview

Methods and types for blockchain entities and interactions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StakePoolSettings added in v1.8.5

type StakePoolSettings struct {
	DelegateWallet string  `json:"delegate_wallet"`
	NumDelegates   int     `json:"num_delegates"`
	ServiceCharge  float64 `json:"service_charge"`
}

StakePoolSettings information.

type StorageNode

type StorageNode struct {
	ID             string `json:"id"`
	Baseurl        string `json:"url"`
	AllocationRoot string `json:"-"`
	LatestWM       *marker.WriteMarker
	// contains filtered or unexported fields
}

StorageNode represents a storage node (blobber)

func (*StorageNode) IsSkip

func (sn *StorageNode) IsSkip() bool

func (*StorageNode) SetSkip

func (sn *StorageNode) SetSkip(t bool)

type UpdateStakePoolSettings added in v1.8.17

type UpdateStakePoolSettings struct {
	DelegateWallet *string  `json:"delegate_wallet,omitempty"`
	NumDelegates   *int     `json:"num_delegates,omitempty"`
	ServiceCharge  *float64 `json:"service_charge,omitempty"`
}

UpdateStakePoolSettings represent stake pool information of a provider node.

type UpdateValidationNode added in v1.8.17

type UpdateValidationNode struct {
	ID                string                   `json:"id"`
	BaseURL           *string                  `json:"url"`
	StakePoolSettings *UpdateStakePoolSettings `json:"stake_pool_settings"`
}

UpdateValidationNode represents a validation node (miner) update

type ValidationNode added in v1.8.5

type ValidationNode struct {
	ID                string            `json:"id"`
	BaseURL           string            `json:"url"`
	StakePoolSettings StakePoolSettings `json:"stake_pool_settings"`
}

ValidationNode represents a validation node (miner)

Jump to

Keyboard shortcuts

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