Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinGas = 1298450 MaxGas = 1600271356 )
Variables ¶
View Source
var Costs = map[CostKey]int64{ {builtin0.InitActorCodeID, 2}: 8916753, {builtin0.StorageMarketActorCodeID, 2}: 6955002, {builtin0.StorageMarketActorCodeID, 4}: 245436108, {builtin0.StorageMinerActorCodeID, 4}: 2315133, {builtin0.StorageMinerActorCodeID, 5}: 1600271356, {builtin0.StorageMinerActorCodeID, 6}: 22864493, {builtin0.StorageMinerActorCodeID, 7}: 142002419, {builtin0.StorageMinerActorCodeID, 10}: 23008274, {builtin0.StorageMinerActorCodeID, 11}: 19303178, {builtin0.StorageMinerActorCodeID, 14}: 566356835, {builtin0.StorageMinerActorCodeID, 16}: 5325185, {builtin0.StorageMinerActorCodeID, 18}: 2328637, {builtin0.StoragePowerActorCodeID, 2}: 23600956, {builtin2.InitActorCodeID, 2}: 8916753, {builtin2.StorageMarketActorCodeID, 2}: 6955002, {builtin2.StorageMarketActorCodeID, 4}: 245436108, {builtin2.StorageMinerActorCodeID, 4}: 2315133, {builtin2.StorageMinerActorCodeID, 5}: 1600271356, {builtin2.StorageMinerActorCodeID, 6}: 22864493, {builtin2.StorageMinerActorCodeID, 7}: 142002419, {builtin2.StorageMinerActorCodeID, 10}: 23008274, {builtin2.StorageMinerActorCodeID, 11}: 19303178, {builtin2.StorageMinerActorCodeID, 14}: 566356835, {builtin2.StorageMinerActorCodeID, 16}: 5325185, {builtin2.StorageMinerActorCodeID, 18}: 2328637, {builtin2.StoragePowerActorCodeID, 2}: 23600956, }
Functions ¶
func GuessGasUsed ¶
func GuessGasUsed(ctx context.Context, tsk types.TipSetKey, msg *types.SignedMessage, al ActorLookup) (int64, error)
Types ¶
type ActorLookup ¶
Click to show internal directories.
Click to hide internal directories.