Documentation ¶
Index ¶
- Constants
- type AcceptedBlockCaller
- type AcceptedBlockHeaderCaller
- type AcceptedConfirmationCaller
- type AcceptedTransactionCaller
- type AppliedTransactionCaller
- type BlockCaller
- type BlockSyncCaller
- type ChannelsType
- type IrreversibleBlockCaller
- type MethodsType
- type NextFunction
- type PreAcceptedBlockCaller
- type RejectedBlockCaller
- type TransactionAckCaller
- type TransactionAsyncCaller
- type TransactionCaller
Constants ¶
View Source
const ( PreAcceptedBlock = ChannelsType(iota) RejectedBlock AcceptedBlockHeader AcceptedBlock IrreversibleBlock AcceptedTransaction AppliedTransaction AcceptedConfirmation //incoming Block Transaction //compat TransactionAck )
View Source
const ( GetBlockByNumber = MethodsType(iota) GetBlockById GetHeadBlockId GetLibBlockId GetLastIrreversibleBlockNumber //incoming BlockSync TransactionAsync )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptedBlockCaller ¶
type AcceptedBlockCaller = AcceptedBlockHeaderCaller
type AcceptedBlockHeaderCaller ¶
type AcceptedBlockHeaderCaller struct {
Caller func(b *types.BlockState)
}
func (*AcceptedBlockHeaderCaller) Call ¶
func (a *AcceptedBlockHeaderCaller) Call(data ...interface{})
type AcceptedConfirmationCaller ¶
type AcceptedConfirmationCaller struct {
Caller func(h *types.HeaderConfirmation)
}
func (*AcceptedConfirmationCaller) Call ¶
func (a *AcceptedConfirmationCaller) Call(data ...interface{})
type AcceptedTransactionCaller ¶
type AcceptedTransactionCaller struct {
Caller func(t *types.TransactionMetadata)
}
func (*AcceptedTransactionCaller) Call ¶
func (a *AcceptedTransactionCaller) Call(data ...interface{})
type AppliedTransactionCaller ¶
type AppliedTransactionCaller struct {
Caller func(t *types.TransactionTrace)
}
func (*AppliedTransactionCaller) Call ¶
func (a *AppliedTransactionCaller) Call(data ...interface{})
type BlockCaller ¶
type BlockCaller struct {
Caller func(s *types.SignedBlock)
}
func (*BlockCaller) Call ¶
func (b *BlockCaller) Call(data ...interface{})
type BlockSyncCaller ¶
type BlockSyncCaller = BlockCaller
type ChannelsType ¶
type ChannelsType int
type IrreversibleBlockCaller ¶
type IrreversibleBlockCaller = AcceptedBlockHeaderCaller
type MethodsType ¶
type MethodsType int
type NextFunction ¶
type NextFunction = func(common.StaticVariant)
type PreAcceptedBlockCaller ¶
type PreAcceptedBlockCaller struct {
Caller func(s *types.SignedBlock)
}
func (*PreAcceptedBlockCaller) Call ¶
func (p *PreAcceptedBlockCaller) Call(data ...interface{})
type RejectedBlockCaller ¶
type RejectedBlockCaller = PreAcceptedBlockCaller
type TransactionAckCaller ¶
func (*TransactionAckCaller) Call ¶
func (a *TransactionAckCaller) Call(data ...interface{})
type TransactionAsyncCaller ¶
type TransactionAsyncCaller struct {
Caller func(*types.PackedTransaction, bool, NextFunction)
}
func (*TransactionAsyncCaller) Call ¶
func (t *TransactionAsyncCaller) Call(data ...interface{})
type TransactionCaller ¶
type TransactionCaller struct {
Caller func(p *types.PackedTransaction)
}
func (*TransactionCaller) Call ¶
func (t *TransactionCaller) Call(data ...interface{})
Click to show internal directories.
Click to hide internal directories.