Documentation ¶
Index ¶
- Variables
- func AddMissingKeysMigration(payloads []ledger.Payload) ([]ledger.Payload, error)
- func MultipleContractMigration(payloads []ledger.Payload) ([]ledger.Payload, error)
- func NoOpMigration(p []ledger.Payload) ([]ledger.Payload, error)
- func PruneMigration(payload []ledger.Payload) ([]ledger.Payload, error)
- func StorageFeesMigration(payload []ledger.Payload) ([]ledger.Payload, error)
- func StorageFormatV4Migration(payloads []ledger.Payload) ([]ledger.Payload, error)
- type BalanceReporter
- type ContractReporter
- type EmptyContainerTypeInferringError
- type MultipleContractMigrationError
- type StorageFormatV5Migration
- type StorageReporter
- type StorageUsedUpdateMigration
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddMissingKeysMigration ¶
func PruneMigration ¶ added in v0.16.2
PruneMigration removes all the payloads with empty value this prunes the trie for values that has been deleted
func StorageFeesMigration ¶ added in v0.13.0
iterates through registers keeping a map of register sizes after it has reached the end it add storage used and storage capacity for each address
Types ¶
type BalanceReporter ¶ added in v0.22.0
type BalanceReporter struct { Log zerolog.Logger OutputDir string // contains filtered or unexported fields }
BalanceReporter iterates through registers getting the location and balance of all FlowVaults
func (*BalanceReporter) Report ¶ added in v0.22.0
func (r *BalanceReporter) Report(payload []ledger.Payload) error
Report creates a balance_report_*.json file that contains data on all FlowVaults in the state commitment. I recommend using gojq to browse through the data, because of the large uint64 numbers which jq won't be able to handle.
type ContractReporter ¶ added in v0.15.0
reports on which contracts are deployed
type EmptyContainerTypeInferringError ¶ added in v0.21.1
type EmptyContainerTypeInferringError struct { }
func (EmptyContainerTypeInferringError) Error ¶ added in v0.21.1
func (e EmptyContainerTypeInferringError) Error() string
type MultipleContractMigrationError ¶
type MultipleContractMigrationError struct {
Errors []error
}
func (*MultipleContractMigrationError) Error ¶
func (e *MultipleContractMigrationError) Error() string
type StorageFormatV5Migration ¶ added in v0.21.1
type StorageReporter ¶ added in v0.13.0
iterates through registers keeping a map of register sizes reports on storage metrics