genesis

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0, MIT Imports: 6 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountMeta added in v0.3.0

type AccountMeta struct {
	Owner address.Address // bls / secpk
}

func (*AccountMeta) ActorMeta added in v0.3.0

func (am *AccountMeta) ActorMeta() json.RawMessage

type Actor added in v0.3.0

type Actor struct {
	Type    ActorType
	Balance abi.TokenAmount

	Meta json.RawMessage
}

type ActorType added in v0.3.0

type ActorType string
const (
	TAccount  ActorType = "account"
	TMultisig ActorType = "multisig"
)

type Miner added in v0.3.0

type Miner struct {
	Owner  address.Address
	Worker address.Address
	PeerId peer.ID

	MarketBalance abi.TokenAmount
	PowerBalance  abi.TokenAmount

	SectorSize abi.SectorSize

	Sectors []*PreSeal
}

type MultisigMeta added in v0.3.0

type MultisigMeta struct {
}

type PreSeal

type PreSeal struct {
	CommR     cid.Cid
	CommD     cid.Cid
	SectorID  abi.SectorNumber
	Deal      market.DealProposal
	ProofType abi.RegisteredProof
}

type Template added in v0.3.0

type Template struct {
	Accounts []Actor
	Miners   []Miner

	NetworkName string
	Timestamp   uint64 `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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