Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomIdFilter ¶
Filter defines the side filter instance, it implements the TxFilter interface.
func (*CustomIdFilter) Add ¶
func (f *CustomIdFilter) Add(data []byte) error
Add adds new data into filter.
func (*CustomIdFilter) Load ¶
func (f *CustomIdFilter) Load(filter []byte) error
Load loads the transaction filter.
func (*CustomIdFilter) MatchConfirmed ¶
func (f *CustomIdFilter) MatchConfirmed(tx *types.Transaction) bool
MatchConfirmed returns if a confirmed (packed into a block) transaction matches the filter.
func (*CustomIdFilter) MatchUnconfirmed ¶
func (f *CustomIdFilter) MatchUnconfirmed(tx *types.Transaction) bool
MatchUnconfirmed returns if a unconfirmed (not packed into a block yet) transaction matches the filter.
Click to show internal directories.
Click to hide internal directories.