Documentation ¶
Index ¶
Constants ¶
View Source
const MaxGas = 1600271356
View Source
const MinGas = 1298450
Variables ¶
View Source
var Costs = map[CostKey]int64{ {builtin.InitActorCodeID, 2}: 8916753, {builtin.StorageMarketActorCodeID, 2}: 6955002, {builtin.StorageMarketActorCodeID, 4}: 245436108, {builtin.StorageMinerActorCodeID, 4}: 2315133, {builtin.StorageMinerActorCodeID, 5}: 1600271356, {builtin.StorageMinerActorCodeID, 6}: 22864493, {builtin.StorageMinerActorCodeID, 7}: 142002419, {builtin.StorageMinerActorCodeID, 10}: 23008274, {builtin.StorageMinerActorCodeID, 11}: 19303178, {builtin.StorageMinerActorCodeID, 14}: 566356835, {builtin.StorageMinerActorCodeID, 16}: 5325185, {builtin.StorageMinerActorCodeID, 18}: 2328637, {builtin.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.