Documentation
¶
Index ¶
- func Diff(ctx context.Context, store blockstore.Blockstore, a, b cid.Cid, opts ...Option) string
- func ExpandActors(c *config)
- func StoreFor(ctx context.Context, client api.FullNode) blockstore.Blockstore
- func Transform(ctx context.Context, c cid.Cid, store blockstore.Blockstore, as string) (interface{}, error)
- type JSONBitField
- type LotusType
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(ctx context.Context, store blockstore.Blockstore, a, b cid.Cid, opts ...Option) string
func ExpandActors ¶
func ExpandActors(c *config)
ExpandActors indicates that exploration should recurse into actor states when they differ, rather than simply indicating which state roots have diverged.
func StoreFor ¶
func StoreFor(ctx context.Context, client api.FullNode) blockstore.Blockstore
Types ¶
type JSONBitField ¶ added in v0.0.2
type JSONBitField struct {
bitfield.BitField
}
func (JSONBitField) MarshalJSON ¶ added in v0.0.2
func (j JSONBitField) MarshalJSON() ([]byte, error)
type LotusType ¶ added in v0.0.2
type LotusType string
const ( LotusTypeTipset LotusType = "tipset" LotusTypeStateroot LotusType = "stateRoot" AccountActorState LotusType = "accountActor" CronActorState LotusType = "cronActor" InitActorState LotusType = "initActor" InitActorAddresses LotusType = "initActorAddresses" MarketActorState LotusType = "storageMarketActor" MarketActorProposals LotusType = "storageMarketActor.Proposals" MarketActorStates LotusType = "storageMarketActor.State" MarketActorPendingProposals LotusType = "storageMarketActor.PendingProposals" MarketActorEscrowTable LotusType = "storageMarketActor.EscrowTable" MarketActorLockedTable LotusType = "storageMarketActor.LockedTable" MarketActorDealOpsByEpoch LotusType = "storageMarketActor.DealOpsByEpoch" MultisigActorState LotusType = "multisigActor" MultisigActorPending LotusType = "multisigActor.PendingTxns" StorageMinerActorState LotusType = "storageMinerActor" StorageMinerActorInfo LotusType = "storageMinerActor.Info" StorageMinerActorVestingFunds LotusType = "storageMinerActor.VestingFunds" StorageMinerActorPreCommittedSectors LotusType = "storageMinerActor.PreCommittedSectors" StorageMinerActorPreCommittedSectorsExpiry LotusType = "storageMinerActor.PreCommittedSectorsExpiry" StorageMinerActorAllocatedSectors LotusType = "storageMinerActor.AllocatedSectors" StorageMinerActorSectors LotusType = "storageMinerActor.Sectors" StorageMinerActorDeadlines LotusType = "storageMinerActor.Deadlines" StorageMinerActorDeadline LotusType = "storageMinerActor.Deadlines.Due" StorageMinerActorDeadlinePartitions LotusType = "storageMinerActor.Deadlines.Due.Partitions" StorageMinerActorDeadlineExpiry LotusType = "storageMinerActor.Deadlines.Due.ExpirationsEpochs" StoragePowerActorState LotusType = "storagePowerActor" StoragePowerActorCronEventQueue LotusType = "storagePowerCronEventQueue" StoragePowerActorClaims LotusType = "storagePowerClaims" RewardActorState LotusType = "rewardActor" VerifiedRegistryActorState LotusType = "verifiedRegistryActor" VerifiedRegistryActorVerifiers LotusType = "verifiedRegistryActor.Verifiers" VerifiedRegistryActorVerifiedClients LotusType = "verifiedRegistryActor.VerifiedClients" PaymentChannelActorState LotusType = "paymentChannelActor" )
type Option ¶
type Option func(c *config)
func ExpandActorByCid ¶
func ExpandActorByCid(cids []cid.Cid) Option
ExpandActorByCid expands only specific actor states that diverge. Cids that diverge can bes specified by the `CodeID` to expand a specific type of actor e.g. `builtin.AccountActorCodeID`. or a specific instance of an actor based on the specific `Actor.Head`.
func WithActorExpansionFromUser ¶
Parse a user entered fuzzy definition for actor expansion.
Directories
¶
| Path | Synopsis |
|---|---|
|
gen
command
|
|
|
cmd
|
|
|
statediff
command
|
|
|
stateexplorer
command
|
|
|
extern
|
|
|
fil-ledger
module
|
|
|
filecoin-ffi
module
|
|
|
establish connection to a 'FullNode' filecoin API with cli configuration.
|
establish connection to a 'FullNode' filecoin API with cli configuration. |
Click to show internal directories.
Click to hide internal directories.