node

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 17 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DealProposalSigner

type DealProposalSigner struct {
	*wallet.LocalWallet
}

func (DealProposalSigner) WalletSign

func (fwi DealProposalSigner) WalletSign(ctx context.Context, addr address.Address, data []byte) (*crypto.Signature, error)

type Node

type Node struct {
	Host   host.Host
	Wallet *wallet.LocalWallet
}

func Setup

func Setup(cfgdir string) (*Node, error)

func (*Node) GetProvidedOrDefaultWallet

func (n *Node) GetProvidedOrDefaultWallet(ctx context.Context, provided string) (address.Address, error)

Jump to

Keyboard shortcuts

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