Documentation
¶
Index ¶
- Constants
- Variables
- type ActiveSync
- type BlockMessages
- type BlockTemplate
- type ChannelInfo
- type CheckStatus
- type CheckStatusCode
- type ComputeStateOutput
- type Deadline
- type DealCollateralBounds
- type MarketBalance
- type MarketDeal
- type Message
- type MessageCheckStatus
- type MessagePrototype
- type MinerPower
- type MinerSectors
- type MiningBaseInfo
- type MsgLookup
- type NetworkName
- type ObjStat
- type Partition
- type PaymentInfo
- type ProtocolParams
- type SectorInfo
- type SyncState
- type SyncStateStage
- type Version
- type VoucherSpec
Constants ¶
View Source
const ( StageIdle = SyncStateStage(iota) StageHeaders StagePersistHeaders StageMessages StageSyncComplete StageSyncErrored StageFetchingMessages )
Variables ¶
View Source
var MarketBalanceNil = MarketBalance{}
Functions ¶
This section is empty.
Types ¶
type ActiveSync ¶
type BlockMessages ¶
type BlockMessages struct { BlsMessages []*types.UnsignedMessage SecpkMessages []*types.SignedMessage Cids []cid.Cid }
BlsMessages[x].cid = Cids[x] SecpkMessages[y].cid = Cids[BlsMessages.length + y]
type BlockTemplate ¶
type BlockTemplate struct { Miner address.Address Parents types.TipSetKey Ticket types.Ticket Eproof *types.ElectionProof BeaconValues []*types.BeaconEntry Messages []*types.SignedMessage Epoch abi.ChainEpoch Timestamp uint64 WinningPoStProof []proof2.PoStProof }
type ChannelInfo ¶
type ChannelInfo struct { Channel address.Address WaitSentinel cid.Cid }
type CheckStatus ¶
type CheckStatus struct { Code CheckStatusCode OK bool Err string Hint map[string]interface{} }
type CheckStatusCode ¶
type CheckStatusCode int
const ( // Message Checks CheckStatusMessageSerialize CheckStatusCode CheckStatusMessageSize CheckStatusMessageValidity CheckStatusMessageMinGas CheckStatusMessageMinBaseFee CheckStatusMessageBaseFee CheckStatusMessageBaseFeeLowerBound CheckStatusMessageBaseFeeUpperBound CheckStatusMessageGetStateNonce CheckStatusMessageNonce CheckStatusMessageGetStateBalance CheckStatusMessageBalance )
func (CheckStatusCode) String ¶ added in v1.0.4
func (i CheckStatusCode) String() string
type ComputeStateOutput ¶
type ComputeStateOutput struct { Root cid.Cid Trace []*types.InvocResult }
type Deadline ¶
type Deadline struct { PostSubmissions bitfield.BitField DisputableProofCount uint64 }
type DealCollateralBounds ¶ added in v1.1.0
type DealCollateralBounds struct { Min abi.TokenAmount Max abi.TokenAmount }
type MarketDeal ¶
type MarketDeal struct { Proposal market.DealProposal State market.DealState }
type Message ¶
type Message struct { Cid cid.Cid Message *types.UnsignedMessage }
type MessageCheckStatus ¶
type MessageCheckStatus struct { Cid cid.Cid CheckStatus }
type MessagePrototype ¶
type MinerPower ¶
type MinerSectors ¶
type MiningBaseInfo ¶
type MiningBaseInfo struct { MinerPower abi.StoragePower NetworkPower abi.StoragePower Sectors []builtin.SectorInfo WorkerKey address.Address SectorSize abi.SectorSize PrevBeaconEntry types.BeaconEntry BeaconEntries []types.BeaconEntry EligibleForMining bool }
type NetworkName ¶
type NetworkName string
type Partition ¶
type Partition struct { AllSectors bitfield.BitField FaultySectors bitfield.BitField RecoveringSectors bitfield.BitField LiveSectors bitfield.BitField ActiveSectors bitfield.BitField }
type PaymentInfo ¶
type PaymentInfo struct { Channel address.Address WaitSentinel cid.Cid Vouchers []*paych.SignedVoucher }
type ProtocolParams ¶
type ProtocolParams struct { Network string BlockTime time.Duration SupportedSectors []SectorInfo }
ProtocolParams contains parameters that modify the filecoin nodes protocol
type SectorInfo ¶
type SectorInfo struct { Size abi.SectorSize MaxPieceSize abi.UnpaddedPieceSize }
SectorInfo provides information about a sector construction
type SyncState ¶
type SyncState struct { ActiveSyncs []ActiveSync VMApplied uint64 }
type SyncStateStage ¶
type SyncStateStage int
just compatible code lotus
func (SyncStateStage) String ¶
func (v SyncStateStage) String() string
type Version ¶
type Version struct { Version string // APIVersion is a binary encoded semver version of the remote implementing // this api // // See APIVersion in build/version.go APIVersion constants.Version }
Version provides various build-time information
type VoucherSpec ¶
type VoucherSpec struct { Amount big.Int TimeLockMin abi.ChainEpoch TimeLockMax abi.ChainEpoch MinSettle abi.ChainEpoch Extra *paych.ModVerifyParams }
Click to show internal directories.
Click to hide internal directories.