Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpgradeFilter ¶
Filter defines the side filter instance, it implements the TxFilter interface.
func (*UpgradeFilter) Add ¶
func (f *UpgradeFilter) Add(data []byte) error
Add adds new data into filter.
func (*UpgradeFilter) Load ¶
func (f *UpgradeFilter) Load(filter []byte) error
Load loads the transaction filter.
func (*UpgradeFilter) MatchConfirmed ¶
func (f *UpgradeFilter) MatchConfirmed(tx *types.Transaction) bool
MatchConfirmed returns if a confirmed (packed into a block) transaction matches the filter.
func (*UpgradeFilter) MatchUnconfirmed ¶
func (f *UpgradeFilter) 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.