Documentation ¶
Index ¶
- func Deserialize(b []byte, out interface{}) error
- func MustDeserialize(b []byte, out interface{})
- func MustSerialize(i cbg.CBORMarshaler) []byte
- func Serialize(i cbg.CBORMarshaler) ([]byte, error)
- type MessageProducer
- func (mp *MessageProducer) AccountConstructor(from, to address.Address, params *address.Address, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) AccountPubkeyAddress(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) Build(from, to address.Address, method abi_spec.MethodNum, params []byte, ...) *types.Message
- func (mp *MessageProducer) BuildFull(from, to address.Address, method abi_spec.MethodNum, callSeq uint64, ...) *types.Message
- func (mp *MessageProducer) CreateMinerActor(owner, worker address.Address, sealProofType abi_spec.RegisteredSealProof, ...) *types.Message
- func (mp *MessageProducer) CreateMultisigActor(from address.Address, signers []address.Address, ...) *types.Message
- func (mp *MessageProducer) CreatePaymentChannelActor(from, to address.Address, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) CronConstructor(from, to address.Address, params *cron.ConstructorParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) CronEpochTick(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) InitConstructor(from, to address.Address, params *init_.ConstructorParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) InitExec(from, to address.Address, params *init_.ExecParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MarketActivateDeals(from, to address.Address, params *market.ActivateDealsParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MarketAddBalance(from, to address.Address, params *address.Address, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MarketComputeDataCommitment(from, to address.Address, params *market.ComputeDataCommitmentParams, ...) *types.Message
- func (mp *MessageProducer) MarketConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MarketCronTick(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MarketOnMinerSectorsTerminate(from, to address.Address, params *market.OnMinerSectorsTerminateParams, ...) *types.Message
- func (mp *MessageProducer) MarketPublishStorageDeals(from, to address.Address, params *market.PublishStorageDealsParams, ...) *types.Message
- func (mp *MessageProducer) MarketVerifyDealsForActivation(from, to address.Address, params *market.VerifyDealsForActivationParams, ...) *types.Message
- func (mp *MessageProducer) MarketWithdrawBalance(from, to address.Address, params *market.WithdrawBalanceParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) Messages() []*types.Message
- func (mp *MessageProducer) MinerAddLockedFund(from, to address.Address, params *big.Int, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerChangeMultiaddrs(from, to address.Address, params *miner.ChangeMultiaddrsParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerChangePeerID(from, to address.Address, params *miner.ChangePeerIDParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerChangeWorkerAddress(from, to address.Address, params *miner.ChangeWorkerAddressParams, ...) *types.Message
- func (mp *MessageProducer) MinerCheckSectorProven(from, to address.Address, params *miner.CheckSectorProvenParams, ...) *types.Message
- func (mp *MessageProducer) MinerConfirmSectorProofsValid(from, to address.Address, params *builtin_spec.ConfirmSectorProofsParams, ...) *types.Message
- func (mp *MessageProducer) MinerConstructor(from, to address.Address, params *power.MinerConstructorParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerControlAddresses(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerDeclareFaults(from, to address.Address, params *miner.DeclareFaultsParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerDeclareFaultsRecovered(from, to address.Address, params *miner.DeclareFaultsRecoveredParams, ...) *types.Message
- func (mp *MessageProducer) MinerExtendSectorExpiration(from, to address.Address, params *miner.ExtendSectorExpirationParams, ...) *types.Message
- func (mp *MessageProducer) MinerOnDeferredCronEvent(from, to address.Address, params *miner.CronEventPayload, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerPreCommitSector(from, to address.Address, params *miner.SectorPreCommitInfo, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerProveCommitSector(from, to address.Address, params *miner.ProveCommitSectorParams, ...) *types.Message
- func (mp *MessageProducer) MinerReportConsensusFault(from, to address.Address, params *miner.ReportConsensusFaultParams, ...) *types.Message
- func (mp *MessageProducer) MinerSubmitWindowedPoSt(from, to address.Address, params *miner.SubmitWindowedPoStParams, ...) *types.Message
- func (mp *MessageProducer) MinerTerminateSectors(from, to address.Address, params *miner.TerminateSectorsParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MinerWithdrawBalance(from, to address.Address, params *miner.WithdrawBalanceParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MultisigAddSigner(from, to address.Address, params *multisig.AddSignerParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MultisigApprove(from, to address.Address, params *multisig.TxnIDParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MultisigCancel(from, to address.Address, params *multisig.TxnIDParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MultisigChangeNumApprovalsThreshold(from, to address.Address, params *multisig.ChangeNumApprovalsThresholdParams, ...) *types.Message
- func (mp *MessageProducer) MultisigConstructor(from, to address.Address, params *multisig.ConstructorParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MultisigPropose(from, to address.Address, params *multisig.ProposeParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MultisigRemoveSigner(from, to address.Address, params *multisig.RemoveSignerParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) MultisigSwapSigner(from, to address.Address, params *multisig.SwapSignerParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PaychCollect(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PaychConstructor(from, to address.Address, params *paych.ConstructorParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PaychSettle(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PaychUpdateChannelState(from, to address.Address, params *paych.UpdateChannelStateParams, ...) *types.Message
- func (mp *MessageProducer) PowerConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PowerCreateMiner(from, to address.Address, params *power.CreateMinerParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PowerCurrentTotalPower(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PowerEnrollCronEvent(from, to address.Address, params *power.EnrollCronEventParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PowerOnConsensusFault(from, to address.Address, params *big.Int, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PowerOnEpochTickEnd(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PowerSubmitPoRepForBulkVerify(from, to address.Address, params *proof.SealVerifyInfo, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PowerUpdateClaimedPower(from, to address.Address, params *power.UpdateClaimedPowerParams, ...) *types.Message
- func (mp *MessageProducer) PowerUpdatePledgeTotal(from, to address.Address, params *big.Int, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PuppetConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) PuppetSend(from, to address.Address, params *puppet.SendParams, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) RewardAwardBlockReward(from, to address.Address, params *reward.AwardBlockRewardParams, ...) *types.Message
- func (mp *MessageProducer) RewardConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) RewardLastPerEpochReward(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) RewardUpdateNetworkKPI(from, to address.Address, params *big.Int, opts ...MsgOpt) *types.Message
- func (mp *MessageProducer) Transfer(from, to address.Address, opts ...MsgOpt) *types.Message
- type MsgOpt
- type Validator
- func (v *Validator) ApplyMessage(epoch abi.ChainEpoch, message *types.Message) (types.ApplyMessageResult, error)
- func (v *Validator) ApplySignedMessage(epoch abi.ChainEpoch, message *types.SignedMessage) (types.ApplyMessageResult, error)
- func (v *Validator) ApplyTipSetMessages(epoch abi.ChainEpoch, blocks []types.BlockMessagesInfo, ...) (types.ApplyTipSetResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
func MustDeserialize ¶
func MustDeserialize(b []byte, out interface{})
func MustSerialize ¶
func MustSerialize(i cbg.CBORMarshaler) []byte
Types ¶
type MessageProducer ¶
type MessageProducer struct {
// contains filtered or unexported fields
}
The created messages are retained for subsequent export or evaluation in a VM.
func NewMessageProducer ¶
func NewMessageProducer(defaultGasFeeCap abi_spec.TokenAmount, defaultGasPremium abi_spec.TokenAmount, defaultGasLimit int64) *MessageProducer
NewMessageProducer creates a new message producer, delegating message creation to `factory`.
func (*MessageProducer) AccountConstructor ¶
func (mp *MessageProducer) AccountConstructor(from, to address.Address, params *address.Address, opts ...MsgOpt) *types.Message
func (*MessageProducer) AccountPubkeyAddress ¶
func (mp *MessageProducer) AccountPubkeyAddress(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) Build ¶
func (mp *MessageProducer) Build(from, to address.Address, method abi_spec.MethodNum, params []byte, opts ...MsgOpt) *types.Message
Build creates and returns a single message, using default gas parameters unless modified by `opts`.
func (*MessageProducer) BuildFull ¶
func (mp *MessageProducer) BuildFull(from, to address.Address, method abi_spec.MethodNum, callSeq uint64, value, gasFeeCap abi_spec.TokenAmount, gasPremium abi_spec.TokenAmount, gasLimit int64, params []byte) *types.Message
BuildFull creates and returns a single message.
func (*MessageProducer) CreateMinerActor ¶
func (mp *MessageProducer) CreateMinerActor(owner, worker address.Address, sealProofType abi_spec.RegisteredSealProof, pid peer.ID, maddrs []abi_spec.Multiaddrs, opts ...MsgOpt) *types.Message
func (*MessageProducer) CreateMultisigActor ¶
func (mp *MessageProducer) CreateMultisigActor(from address.Address, signers []address.Address, unlockDuration abi_spec.ChainEpoch, numApprovals uint64, opts ...MsgOpt) *types.Message
func (*MessageProducer) CreatePaymentChannelActor ¶
func (mp *MessageProducer) CreatePaymentChannelActor(from, to address.Address, opts ...MsgOpt) *types.Message
func (*MessageProducer) CronConstructor ¶
func (mp *MessageProducer) CronConstructor(from, to address.Address, params *cron.ConstructorParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) CronEpochTick ¶
func (mp *MessageProducer) CronEpochTick(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) InitConstructor ¶
func (mp *MessageProducer) InitConstructor(from, to address.Address, params *init_.ConstructorParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) InitExec ¶
func (mp *MessageProducer) InitExec(from, to address.Address, params *init_.ExecParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketActivateDeals ¶
func (mp *MessageProducer) MarketActivateDeals(from, to address.Address, params *market.ActivateDealsParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketAddBalance ¶
func (mp *MessageProducer) MarketAddBalance(from, to address.Address, params *address.Address, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketComputeDataCommitment ¶
func (mp *MessageProducer) MarketComputeDataCommitment(from, to address.Address, params *market.ComputeDataCommitmentParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketConstructor ¶
func (mp *MessageProducer) MarketConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketCronTick ¶
func (mp *MessageProducer) MarketCronTick(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketOnMinerSectorsTerminate ¶
func (mp *MessageProducer) MarketOnMinerSectorsTerminate(from, to address.Address, params *market.OnMinerSectorsTerminateParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketPublishStorageDeals ¶
func (mp *MessageProducer) MarketPublishStorageDeals(from, to address.Address, params *market.PublishStorageDealsParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketVerifyDealsForActivation ¶
func (mp *MessageProducer) MarketVerifyDealsForActivation(from, to address.Address, params *market.VerifyDealsForActivationParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MarketWithdrawBalance ¶
func (mp *MessageProducer) MarketWithdrawBalance(from, to address.Address, params *market.WithdrawBalanceParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) Messages ¶
func (mp *MessageProducer) Messages() []*types.Message
Messages returns a slice containing all messages created by the producer.
func (*MessageProducer) MinerAddLockedFund ¶
func (*MessageProducer) MinerChangeMultiaddrs ¶
func (mp *MessageProducer) MinerChangeMultiaddrs(from, to address.Address, params *miner.ChangeMultiaddrsParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerChangePeerID ¶
func (mp *MessageProducer) MinerChangePeerID(from, to address.Address, params *miner.ChangePeerIDParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerChangeWorkerAddress ¶
func (mp *MessageProducer) MinerChangeWorkerAddress(from, to address.Address, params *miner.ChangeWorkerAddressParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerCheckSectorProven ¶
func (mp *MessageProducer) MinerCheckSectorProven(from, to address.Address, params *miner.CheckSectorProvenParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerConfirmSectorProofsValid ¶
func (mp *MessageProducer) MinerConfirmSectorProofsValid(from, to address.Address, params *builtin_spec.ConfirmSectorProofsParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerConstructor ¶
func (mp *MessageProducer) MinerConstructor(from, to address.Address, params *power.MinerConstructorParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerControlAddresses ¶
func (mp *MessageProducer) MinerControlAddresses(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerDeclareFaults ¶
func (mp *MessageProducer) MinerDeclareFaults(from, to address.Address, params *miner.DeclareFaultsParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerDeclareFaultsRecovered ¶
func (mp *MessageProducer) MinerDeclareFaultsRecovered(from, to address.Address, params *miner.DeclareFaultsRecoveredParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerExtendSectorExpiration ¶
func (mp *MessageProducer) MinerExtendSectorExpiration(from, to address.Address, params *miner.ExtendSectorExpirationParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerOnDeferredCronEvent ¶
func (mp *MessageProducer) MinerOnDeferredCronEvent(from, to address.Address, params *miner.CronEventPayload, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerPreCommitSector ¶
func (mp *MessageProducer) MinerPreCommitSector(from, to address.Address, params *miner.SectorPreCommitInfo, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerProveCommitSector ¶
func (mp *MessageProducer) MinerProveCommitSector(from, to address.Address, params *miner.ProveCommitSectorParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerReportConsensusFault ¶
func (mp *MessageProducer) MinerReportConsensusFault(from, to address.Address, params *miner.ReportConsensusFaultParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerSubmitWindowedPoSt ¶
func (mp *MessageProducer) MinerSubmitWindowedPoSt(from, to address.Address, params *miner.SubmitWindowedPoStParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerTerminateSectors ¶
func (mp *MessageProducer) MinerTerminateSectors(from, to address.Address, params *miner.TerminateSectorsParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MinerWithdrawBalance ¶
func (mp *MessageProducer) MinerWithdrawBalance(from, to address.Address, params *miner.WithdrawBalanceParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigAddSigner ¶
func (mp *MessageProducer) MultisigAddSigner(from, to address.Address, params *multisig.AddSignerParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigApprove ¶
func (mp *MessageProducer) MultisigApprove(from, to address.Address, params *multisig.TxnIDParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigCancel ¶
func (mp *MessageProducer) MultisigCancel(from, to address.Address, params *multisig.TxnIDParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigChangeNumApprovalsThreshold ¶
func (mp *MessageProducer) MultisigChangeNumApprovalsThreshold(from, to address.Address, params *multisig.ChangeNumApprovalsThresholdParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigConstructor ¶
func (mp *MessageProducer) MultisigConstructor(from, to address.Address, params *multisig.ConstructorParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigPropose ¶
func (mp *MessageProducer) MultisigPropose(from, to address.Address, params *multisig.ProposeParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigRemoveSigner ¶
func (mp *MessageProducer) MultisigRemoveSigner(from, to address.Address, params *multisig.RemoveSignerParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) MultisigSwapSigner ¶
func (mp *MessageProducer) MultisigSwapSigner(from, to address.Address, params *multisig.SwapSignerParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) PaychCollect ¶
func (mp *MessageProducer) PaychCollect(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) PaychConstructor ¶
func (mp *MessageProducer) PaychConstructor(from, to address.Address, params *paych.ConstructorParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) PaychSettle ¶
func (mp *MessageProducer) PaychSettle(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) PaychUpdateChannelState ¶
func (mp *MessageProducer) PaychUpdateChannelState(from, to address.Address, params *paych.UpdateChannelStateParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerConstructor ¶
func (mp *MessageProducer) PowerConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerCreateMiner ¶
func (mp *MessageProducer) PowerCreateMiner(from, to address.Address, params *power.CreateMinerParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerCurrentTotalPower ¶
func (mp *MessageProducer) PowerCurrentTotalPower(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerEnrollCronEvent ¶
func (mp *MessageProducer) PowerEnrollCronEvent(from, to address.Address, params *power.EnrollCronEventParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerOnConsensusFault ¶
func (*MessageProducer) PowerOnEpochTickEnd ¶
func (mp *MessageProducer) PowerOnEpochTickEnd(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerSubmitPoRepForBulkVerify ¶
func (mp *MessageProducer) PowerSubmitPoRepForBulkVerify(from, to address.Address, params *proof.SealVerifyInfo, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerUpdateClaimedPower ¶
func (mp *MessageProducer) PowerUpdateClaimedPower(from, to address.Address, params *power.UpdateClaimedPowerParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) PowerUpdatePledgeTotal ¶
func (*MessageProducer) PuppetConstructor ¶
func (mp *MessageProducer) PuppetConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) PuppetSend ¶
func (mp *MessageProducer) PuppetSend(from, to address.Address, params *puppet.SendParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) RewardAwardBlockReward ¶
func (mp *MessageProducer) RewardAwardBlockReward(from, to address.Address, params *reward.AwardBlockRewardParams, opts ...MsgOpt) *types.Message
func (*MessageProducer) RewardConstructor ¶
func (mp *MessageProducer) RewardConstructor(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) RewardLastPerEpochReward ¶
func (mp *MessageProducer) RewardLastPerEpochReward(from, to address.Address, params *adt.EmptyValue, opts ...MsgOpt) *types.Message
func (*MessageProducer) RewardUpdateNetworkKPI ¶
type MsgOpt ¶
type MsgOpt func(*msgOpts)
MsgOpt is an option configuring message value or gas parameters.
func GasPremium ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
validator arranges the execution of a sequence of messages, returning the resulting receipts and state.
func NewValidator ¶
NewValidator builds a new validator.
func (*Validator) ApplyMessage ¶
func (v *Validator) ApplyMessage(epoch abi.ChainEpoch, message *types.Message) (types.ApplyMessageResult, error)
ApplyMessages applies a message to a state
func (*Validator) ApplySignedMessage ¶
func (v *Validator) ApplySignedMessage(epoch abi.ChainEpoch, message *types.SignedMessage) (types.ApplyMessageResult, error)
func (*Validator) ApplyTipSetMessages ¶
func (v *Validator) ApplyTipSetMessages(epoch abi.ChainEpoch, blocks []types.BlockMessagesInfo, rnd state.RandomnessSource) (types.ApplyTipSetResult, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.