mock

package
v0.0.0-...-484cccf Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0, MIT Imports: 11 Imported by: 0

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

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

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