Documentation ¶
Index ¶
- Variables
- type Actor
- type BeaconEntry
- type BigInt
- type BlockHeader
- type BlockMessagesInfo
- type BlockMsg
- type ChainInfo
- type ChainMsg
- type ChainSectorInfo
- type CirculatingSupply
- type DealCollateralBounds
- type ElectionProof
- type EstimateMessage
- type EstimateResult
- type ExecutionTrace
- type FIL
- type FullBlock
- type FullTipSet
- type GasTrace
- type HasCid
- type InvocResult
- type KeyType
- type Loc
- type MarketDeal
- type Message
- type MessageMaker
- type MessageReceipt
- type MessageSendSpec
- type MockSigner
- type MsgGasCost
- type NetworkPower
- type PCHDir
- type PaychStatus
- type ReceiptMaker
- type SignedMessage
- type Signer
- type Ticket
- type TipSet
- type TipSetKey
- type TxMeta
- type UnsignedMessage
- type VRFPi
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKeyInfoNotFound = fmt.Errorf("key info not found") ErrKeyExists = fmt.Errorf("key already exists") )
View Source
var AssertCidsEqual = internal.AssertCidsEqual
View Source
var AssertHaveSameCid = internal.AssertHaveSameCid
View Source
var AttoFil = internal.AttoFil
View Source
var BigAdd = internal.BigAdd
View Source
var BigCmp = internal.BigCmp
View Source
var BigDiv = internal.BigDiv
View Source
var BigDivFloat = internal.BigDivFloat
View Source
var BigFromBytes = internal.BigFromBytes
View Source
var BigFromString = internal.BigFromString
View Source
var BigMod = internal.BigMod
View Source
var BigMul = internal.BigMul
View Source
var BigSub = internal.BigSub
View Source
var BlocksPerEpoch = internal.BlocksPerEpoch
View Source
var CidArrsEqual = internal.CidArrsEqual
View Source
var CidFromString = internal.CidFromString
View Source
var DeciStr = internal.DeciStr
View Source
var DecodeBlock = internal.DecodeBlock
View Source
var DecodeMessage = internal.DecodeMessage
View Source
var DefaultMessageSendSpec = MessageSendSpec{ MaxFee: abi.NewTokenAmount(int64(constants.FilecoinPrecision) / 10), }
View Source
var EmptyInt = internal.EmptyInt
View Source
var EmptyReceipts = internal.EmptyReceipts
View Source
var EmptyTSK = internal.EmptyTSK
View Source
var EmptyTokenAmount = internal.EmptyTokenAmount
View Source
var ErrActorNotFound = internal.ErrActorNotFound
View Source
var ErrNotFound = internal.ErrNotFound
View Source
var FemtoFil = internal.FemtoFil
View Source
var FromFil = internal.FromFil
View Source
var MaxWinCount = internal.MaxWinCount
View Source
var MessageVersion = internal.MessageVersion
View Source
var MustGenerateBLSKeyInfo = internal.MustGenerateBLSKeyInfo
View Source
var MustGenerateKeyInfo = internal.MustGenerateKeyInfo
View Source
var MustGenerateMixedKeyInfo = internal.MustGenerateMixedKeyInfo
View Source
var MustParseFIL = internal.MustParseFIL
View Source
var NanoFil = internal.NanoFil
View Source
var NewActor = internal.NewActor
View Source
var NewAttoFIL = internal.NewAttoFIL
View Source
var NewAttoFILFromFIL = internal.NewAttoFILFromFIL
View Source
var NewAttoFILFromFILString = internal.NewAttoFILFromFILString
View Source
var NewAttoFILFromString = internal.NewAttoFILFromString
View Source
var NewCidForTestGetter = internal.NewCidForTestGetter
View Source
var NewForTestGetter = internal.NewForTestGetter
View Source
var NewFullTipSet = internal.NewFullTipSet
View Source
var NewGasFeeCap = internal.NewGasFeeCap
View Source
var NewGasPremium = internal.NewGasPremium
View Source
var NewInt = internal.NewInt
View Source
var NewMessageForTestGetter = internal.NewMessageForTestGetter
View Source
var NewMessageMaker = internal.NewMessageMaker
View Source
var NewMeteredMessage = internal.NewMeteredMessage
View Source
var NewMockSigner = internal.NewMockSigner
View Source
var NewMockSignersAndKeyInfo = internal.NewMockSignersAndKeyInfo
View Source
var NewMsgs = internal.NewMsgs
View Source
var NewMsgsWithAddrs = internal.NewMsgsWithAddrs
View Source
var NewReceiptMaker = internal.NewReceiptMaker
View Source
var NewSignedMessage = internal.NewSignedMessage
View Source
var NewSignedMessageForTestGetter = internal.NewSignedMessageForTestGetter
View Source
var NewSignedMsgs = internal.NewSignedMsgs
View Source
var NewTipSet = internal.NewTipSet
View Source
var NewTipSetKey = internal.NewTipSetKey
View Source
var NewUnsignedMessage = internal.NewUnsignedMessage
View Source
var ParseFIL = internal.ParseFIL
func redefine
View Source
var PicoFil = internal.PicoFil
View Source
var RequireIDAddress = internal.RequireIDAddress
View Source
var RequireNewTipSet = internal.RequireNewTipSet
View Source
var ReverseFullBlock = internal.ReverseFullBlock
View Source
var ReverseTipSet = internal.ReverseTipSet
View Source
var SignMsgs = internal.SignMsgs
View Source
var SizeStr = internal.SizeStr
View Source
var TipSetKeyFromBytes = internal.TipSetKeyFromBytes
View Source
var TotalFilecoinInt = internal.TotalFilecoinInt
View Source
var UndefTipSet = internal.UndefTipSet
View Source
var ZeroAddress = internal.ZeroAddress
View Source
var ZeroFIL = internal.ZeroFIL
value redefine
Functions ¶
This section is empty.
Types ¶
type BeaconEntry ¶ added in v0.9.1
type BeaconEntry = internal.BeaconEntry
type BlockHeader ¶ added in v0.9.1
type BlockHeader = internal.BlockHeader
type BlockMessagesInfo ¶ added in v0.9.1
type BlockMessagesInfo = internal.BlockMessagesInfo
type redefine
type ChainInfo ¶ added in v0.9.1
type ChainInfo struct { // The originator of the TipSetKey propagation wave. Source peer.ID // The peer that sent us the TipSetKey message. Sender peer.ID Head *internal.TipSet }
ChainInfo is used to track metadata about a peer and its chain.
func NewChainInfo ¶ added in v0.9.1
NewChainInfo creates a chain info from a peer id a head tipset key and a chain height.
type ChainSectorInfo ¶ added in v1.1.0
type ChainSectorInfo struct { Info miner.SectorOnChainInfo ID abi.SectorNumber }
type CirculatingSupply ¶ added in v1.1.0
type CirculatingSupply struct { FilVested abi.TokenAmount FilMined abi.TokenAmount FilBurnt abi.TokenAmount FilLocked abi.TokenAmount FilCirculating abi.TokenAmount }
type DealCollateralBounds ¶ added in v1.1.0
type DealCollateralBounds struct { Min abi.TokenAmount Max abi.TokenAmount }
type ElectionProof ¶ added in v0.9.1
type ElectionProof = internal.ElectionProof
type EstimateMessage ¶ added in v0.9.7
type EstimateMessage struct { Msg *Message Spec *MessageSendSpec }
type EstimateResult ¶ added in v0.9.7
type ExecutionTrace ¶
type ExecutionTrace struct { Msg *internal.UnsignedMessage MsgRct *internal.MessageReceipt Error string Duration time.Duration GasCharges []*GasTrace Subcalls []ExecutionTrace }
type FullTipSet ¶ added in v0.9.1
type FullTipSet = internal.FullTipSet
type GasTrace ¶
type GasTrace struct { Name string Location []Loc `json:"loc"` TotalGas int64 `json:"tg"` ComputeGas int64 `json:"cg"` StorageGas int64 `json:"sg"` TotalVirtualGas int64 `json:"vtg"` VirtualComputeGas int64 `json:"vcg"` VirtualStorageGas int64 `json:"vsg"` TimeTaken time.Duration `json:"tt"` Extra interface{} `json:"ex,omitempty"` Callers []uintptr `json:"-"` }
func (*GasTrace) MarshalJSON ¶
type InvocResult ¶ added in v0.9.1
type InvocResult struct { MsgCid cid.Cid Msg *internal.UnsignedMessage MsgRct *internal.MessageReceipt GasCost *MsgGasCost ExecutionTrace *ExecutionTrace Error string Duration time.Duration }
type KeyType ¶ added in v0.9.1
type KeyType string
KeyType defines a type of a key
func (*KeyType) UnmarshalJSON ¶ added in v0.9.1
type MarketDeal ¶ added in v1.1.0
type MarketDeal struct { Proposal market.DealProposal State market.DealState }
type MessageMaker ¶
type MessageMaker = internal.MessageMaker
type MessageReceipt ¶
type MessageReceipt = internal.MessageReceipt
type MessageSendSpec ¶
type MessageSendSpec struct { MaxFee abi.TokenAmount GasOverEstimation float64 }
func (*MessageSendSpec) Get ¶
func (ms *MessageSendSpec) Get() MessageSendSpec
type MockSigner ¶
type MockSigner = internal.MockSigner
type MsgGasCost ¶ added in v0.9.1
type MsgGasCost struct { Message cid.Cid // Can be different than requested, in case it was replaced, but only gas values changed GasUsed abi.TokenAmount BaseFeeBurn abi.TokenAmount OverEstimationBurn abi.TokenAmount MinerPenalty abi.TokenAmount MinerTip abi.TokenAmount Refund abi.TokenAmount TotalCost abi.TokenAmount }
type NetworkPower ¶ added in v1.1.0
type NetworkPower struct { RawBytePower abi.StoragePower QualityAdjustedPower abi.StoragePower MinerCount int64 MinPowerMinerCount int64 }
type PaychStatus ¶ added in v0.9.1
type PaychStatus struct { ControlAddr address.Address Direction PCHDir }
type ReceiptMaker ¶
type ReceiptMaker = internal.ReceiptMaker
type SignedMessage ¶
type SignedMessage = internal.SignedMessage
type UnsignedMessage ¶
type UnsignedMessage = internal.UnsignedMessage
Source Files ¶
Click to show internal directories.
Click to hide internal directories.