Documentation ¶
Index ¶
- Constants
- Variables
- func BasicReceiptFilterFactory(indexStore dstore.Store, possibleIndexSizes []uint64) (*transform.Factory, error)
- func NewHeaderOnlyTransformFactory(_ dstore.Store, _ []uint64) (*transform.Factory, error)
- func NewNearBlockIndexProvider(store dstore.Store, possibleIndexSizes []uint64, addresses map[string]bool, ...) *transform.GenericBlockIndexProvider
- func NewNearBlockIndexer(indexStore dstore.Store, indexSize uint64) (firecore.BlockIndexer[*pbnear.Block], error)
- type BasicReceiptFilter
- type HeaderOnlyFilter
- type NearBlockIndexer
Constants ¶
View Source
const ReceiptAddressIndexShortName = "rcptaddr"
Variables ¶
View Source
var HeaderOnlyMessageName = proto.MessageName(&pbtransform.HeaderOnly{})
View Source
var ReceiptFilterMessageName = proto.MessageName(&pbtransform.BasicReceiptFilter{})
Functions ¶
func NewHeaderOnlyTransformFactory ¶ added in v1.1.0
func NewNearBlockIndexProvider ¶
func NewNearBlockIndexProvider( store dstore.Store, possibleIndexSizes []uint64, addresses map[string]bool, prefixSuffixPairs []*pbtransform.PrefixSuffixPair, ) *transform.GenericBlockIndexProvider
func NewNearBlockIndexer ¶
Types ¶
type BasicReceiptFilter ¶
type BasicReceiptFilter struct { Accounts map[string]bool PrefixSuffixPairs []*pbtransform.PrefixSuffixPair // contains filtered or unexported fields }
func (*BasicReceiptFilter) GetIndexProvider ¶
func (p *BasicReceiptFilter) GetIndexProvider() bstream.BlockIndexProvider
func (*BasicReceiptFilter) String ¶
func (p *BasicReceiptFilter) String() string
type HeaderOnlyFilter ¶
type HeaderOnlyFilter struct{}
func (*HeaderOnlyFilter) String ¶
func (p *HeaderOnlyFilter) String() string
type NearBlockIndexer ¶
type NearBlockIndexer struct {
BlockIndexer blockIndexer
}
func (*NearBlockIndexer) ProcessBlock ¶
func (i *NearBlockIndexer) ProcessBlock(blk *pbnear.Block) error
Click to show internal directories.
Click to hide internal directories.