Documentation
¶
Index ¶
- type BasePlugin
- type BlockChainReactor
- func (bcr *BlockChainReactor) BeginBlocker(header *types.Header, state *state.StateDB) (bool, error)
- func (bcr *BlockChainReactor) EndBlocker(header *types.Header, state *state.StateDB) (bool, error)
- func (bcr *BlockChainReactor) RegisterPlugin(pluginName string, plugin BasePlugin)
- func (bcr *BlockChainReactor) SetBeginRule(rule []string)
- func (bcr *BlockChainReactor) SetEndRule(rule []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasePlugin ¶
type BlockChainReactor ¶
type BlockChainReactor struct {
// contains filtered or unexported fields
}
func New ¶
func New(mux *event.TypeMux) *BlockChainReactor
func (*BlockChainReactor) BeginBlocker ¶
func (bcr *BlockChainReactor) BeginBlocker(header *types.Header, state *state.StateDB) (bool, error)
Called before every block has not executed all txs
func (*BlockChainReactor) EndBlocker ¶
Called after every block had executed all txs
func (*BlockChainReactor) RegisterPlugin ¶
func (bcr *BlockChainReactor) RegisterPlugin(pluginName string, plugin BasePlugin)
func (*BlockChainReactor) SetBeginRule ¶
func (bcr *BlockChainReactor) SetBeginRule(rule []string)
func (*BlockChainReactor) SetEndRule ¶
func (bcr *BlockChainReactor) SetEndRule(rule []string)
Click to show internal directories.
Click to hide internal directories.