types

package
v3.9.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountMinBalance added in v3.5.0

func AccountMinBalance(account sdk.AccountData, proto *config.ConsensusParams) uint64

AccountMinBalance computes the minimum balance requirements for an account based on some consensus parameters. MinBalance should correspond roughly to how much storage the account is allowed to store on disk.

Types

type EncodedBlockCert

type EncodedBlockCert struct {
	Block       sdk.Block              `codec:"block"`
	Certificate map[string]interface{} `codec:"cert"`
	// contains filtered or unexported fields
}

EncodedBlockCert contains the encoded block and the corresponding encoded certificate

type SpecialAddresses

type SpecialAddresses struct {
	FeeSink     sdk.Address
	RewardsPool sdk.Address
}

SpecialAddresses holds addresses with nonstandard properties.

type ValidatedBlock

type ValidatedBlock struct {
	Block sdk.Block `codec:"Blk"`
	Delta sdk.LedgerStateDelta
}

A ValidatedBlock represents an Block that has been successfully validated and can now be recorded in the ledger.

Jump to

Keyboard shortcuts

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