mock

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0, MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address(i uint64) address.Address

func MkBlock

func MkBlock(parents *types.TipSet, weightInc uint64, ticketNonce uint64) *types.BlockHeader

func MkMessage

func MkMessage(from, to address.Address, nonce uint64, w *wallet.LocalWallet) *types.SignedMessage

func RandomActorAddresses added in v1.15.1

func RandomActorAddresses(seed int64, count int) ([]*address.Address, error)

Generates count new addresses using the provided seed, and returns them

func TipSet

func TipSet(blks ...*types.BlockHeader) *types.TipSet

func UnsignedMessage added in v1.15.1

func UnsignedMessage(from, to address.Address, nonce uint64) *types.Message

Types

This section is empty.

Jump to

Keyboard shortcuts

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