Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddValidatorRegistrationBlock ¶ added in v0.3.6
type AddValidatorRegistrationBlock struct {
// contains filtered or unexported fields
}
func (*AddValidatorRegistrationBlock) Apply ¶ added in v0.3.6
func (m *AddValidatorRegistrationBlock) Apply(s *pebble.Storage) error
func (*AddValidatorRegistrationBlock) GetId ¶ added in v0.3.6
func (m *AddValidatorRegistrationBlock) GetId() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) RegisterMigration ¶
type OldAddressStats ¶ added in v0.4.0
type OldAddressStats struct { OldStatsResponse Address string `json:"address"` }
type OldStatsResponse ¶ added in v0.4.0
type OldStatsResponse struct { DagsCount models.Counter `json:"dagsCount"` LastDagTimestamp *models.NilableUint64 `json:"lastDagTimestamp" rlp:"nil"` LastPbftTimestamp *models.NilableUint64 `json:"lastPbftTimestamp" rlp:"nil"` LastTransactionTimestamp *models.NilableUint64 `json:"lastTransactionTimestamp" rlp:"nil"` PbftCount models.Counter `json:"pbftCount"` TransactionsCount models.Counter `json:"transactionsCount"` }
type OldTransaction ¶
type OldTransaction struct { BlockNumber models.Counter `json:"blockNumber"` Calldata *models.CallData `json:"calldata,omitempty" rlp:"nil"` From models.Address `json:"from"` GasPrice models.Counter `json:"gasPrice"` GasUsed models.Counter `json:"gasUsed"` Hash models.Hash `json:"hash"` Input string `json:"input"` Nonce models.Counter `json:"nonce"` Status bool `json:"status"` Timestamp models.Timestamp `json:"timestamp"` To models.Address `json:"to"` TransactionIndex models.Counter `json:"transactionIndex"` Type models.TransactionType `json:"type"` Value string `json:"value"` }
type RemoveNonceTxIndexAddFeeMigration ¶
type RemoveNonceTxIndexAddFeeMigration struct {
// contains filtered or unexported fields
}
RemoveSenderMigration is a migration that removes the Sender attribute from the Dag struct.
func (*RemoveNonceTxIndexAddFeeMigration) Apply ¶
func (m *RemoveNonceTxIndexAddFeeMigration) Apply(s *pebble.Storage) error
Apply is the implementation of the Migration interface for the RemoveSenderMigration.
func (*RemoveNonceTxIndexAddFeeMigration) GetId ¶
func (m *RemoveNonceTxIndexAddFeeMigration) GetId() string
type RemovePbftHashMigration ¶
type RemovePbftHashMigration struct {
// contains filtered or unexported fields
}
RemoveSenderMigration is a migration that removes the Sender attribute from the Dag struct.
func (*RemovePbftHashMigration) Apply ¶
func (m *RemovePbftHashMigration) Apply(s *pebble.Storage) error
Apply is the implementation of the Migration interface for the RemoveSenderMigration.
func (*RemovePbftHashMigration) GetId ¶
func (m *RemovePbftHashMigration) GetId() string
type RemoveSenderMigration ¶
type RemoveSenderMigration struct {
// contains filtered or unexported fields
}
RemoveSenderMigration is a migration that removes the Sender attribute from the Dag struct.
func (*RemoveSenderMigration) Apply ¶
func (m *RemoveSenderMigration) Apply(s *pebble.Storage) error
Apply is the implementation of the Migration interface for the RemoveSenderMigration.
func (*RemoveSenderMigration) GetId ¶
func (m *RemoveSenderMigration) GetId() string
type ValidatorRegistration ¶ added in v0.3.6
func GetValidatorsRegisteredInBlock ¶ added in v0.3.6
func GetValidatorsRegisteredInBlock(client chain.Client, from, to uint64) ([]ValidatorRegistration, error)
Click to show internal directories.
Click to hide internal directories.