package
2.1.3-rc0
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package staking is a generated GoMock package.
No description provided by the author

# Functions

No description provided by the author
CalcBaseFee calculates the basefee of the header.
CalcBlobFee calculates the blobfee from the header's excess blob gas field.
CalcExcessBlobGas calculates the excess blob gas after applying the set of blobs on top of the excess blob gas.
CreateStateConfig creates a config for accessing stateDB.
No description provided by the author
GetActionCtx gets ActionCtx.
GetBlockchainCtx gets BlockchainCtx.
GetBlockCtx gets BlockCtx.
GetFeatureCtx gets FeatureCtx.
GetFeatureWithHeightCtx gets FeatureWithHeightCtx.
GetRegistry returns the registry from context.
GetVMConfigCtx returns the vm config from context.
HashStringToAddress generates the contract address from the protocolID of each protocol.
KeyOption sets the key for call.
KeysOption sets the key for call.
LegacyKeyOption sets the key for call with legacy key.
MustGetActionCtx must get ActionCtx .
MustGetBlockchainCtx must get BlockchainCtx.
MustGetBlockCtx must get BlockCtx .
MustGetFeatureCtx must get FeatureCtx.
MustGetFeatureWithHeightCtx must get FeatureWithHeightCtx.
MustGetRegistry returns the registry from context.
NamespaceOption creates an option for given namesapce.
NewDock returns a new dock.
NewGenericValidator constructs a new genericValidator.
NewKVStoreForTrieWithStateManager creates a trie.KVStore with state manager.
NewKVStoreForTrieWithStateReader creates a trie.KVStore with state reader.
NewMockActionHandler creates a new mock instance.
NewMockActionValidator creates a new mock instance.
NewMockCommitter creates a new mock instance.
NewMockGenesisStateCreator creates a new mock instance.
NewMockPostSystemActionsCreator creates a new mock instance.
NewMockPreCommitter creates a new mock instance.
NewMockPreStatesCreator creates a new mock instance.
NewMockProtocol creates a new mock instance.
NewMockStarter creates a new mock instance.
NewRegistry create a new Registry.
No description provided by the author
No description provided by the author
No description provided by the author
VerifyEIP4844Header verifies the presence of the excessBlobGas field and that if the current block contains no transactions, the excessBlobGas is updated accordingly.
WithActionCtx add ActionCtx into context.
WithBlockchainCtx add BlockchainCtx into context.
WithBlockCtx add BlockCtx into context.
WithFeatureCtx add FeatureCtx into context.
WithFeatureWithHeightCtx add FeatureWithHeightCtx into context.
WithRegistry adds registry to context.
No description provided by the author
WithVMConfigCtx adds vm config to context.

# Constants

SystemNamespace is the namespace to store system information such as candidates/probationList/unproductiveDelegates.

# Variables

Errors.
ErrUnimplemented indicates a method is not implemented yet.
MinTipCap is the minimum tip cap.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MockActionHandler is a mock of ActionHandler interface.
MockActionHandlerMockRecorder is the mock recorder for MockActionHandler.
MockActionValidator is a mock of ActionValidator interface.
MockActionValidatorMockRecorder is the mock recorder for MockActionValidator.
MockCommitter is a mock of Committer interface.
MockCommitterMockRecorder is the mock recorder for MockCommitter.
MockGenesisStateCreator is a mock of GenesisStateCreator interface.
MockGenesisStateCreatorMockRecorder is the mock recorder for MockGenesisStateCreator.
MockPostSystemActionsCreator is a mock of PostSystemActionsCreator interface.
MockPostSystemActionsCreatorMockRecorder is the mock recorder for MockPostSystemActionsCreator.
MockPreCommitter is a mock of PreCommitter interface.
MockPreCommitterMockRecorder is the mock recorder for MockPreCommitter.
MockPreStatesCreator is a mock of PreStatesCreator interface.
MockPreStatesCreatorMockRecorder is the mock recorder for MockPreStatesCreator.
MockProtocol is a mock of Protocol interface.
MockProtocolMockRecorder is the mock recorder for MockProtocol.
MockStarter is a mock of Starter interface.
MockStarterMockRecorder is the mock recorder for MockStarter.
No description provided by the author
Registry is the hub of all protocols deployed on the chain.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ActionHandler is the interface for the action handlers.
ActionValidator is the interface of validating an action.
Committer performs commit action of the protocol.
No description provided by the author
GenesisStateCreator creates some genesis states.
PostSystemActionsCreator creates a list of system actions to be appended to block actions.
PreCommitter performs pre-commit action of the protocol.
PreStatesCreator creates preliminary states for state manager.
Protocol defines the protocol interfaces atop IoTeX blockchain.
Starter starts the protocol.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
DepositGas deposits gas to rewarding pool and burns baseFee.
No description provided by the author
SerializableBytes defines a type of serializable bytes.
No description provided by the author
No description provided by the author
View stores the view for all protocols.