Versions in this module Expand all Collapse all v0 v0.6.3 Nov 21, 2024 Changes in this version + var DefaultConfig = Config + type BlobPool struct + func New(config Config, chain BlockChain) *BlobPool + func (p *BlobPool) Add(txs []*txpool.Transaction, local bool, sync bool) []error + func (p *BlobPool) Close() error + func (p *BlobPool) Content() (map[common.Address][]*types.Transaction, ...) + func (p *BlobPool) ContentFrom(addr common.Address) ([]*types.Transaction, []*types.Transaction) + func (p *BlobPool) Filter(tx *types.Transaction) bool + func (p *BlobPool) Get(hash common.Hash) *txpool.Transaction + func (p *BlobPool) Has(hash common.Hash) bool + func (p *BlobPool) HasLocal(hash common.Hash) bool + func (p *BlobPool) Init(gasTip *big.Int, head *types.Header, reserve txpool.AddressReserver) error + func (p *BlobPool) Locals() []common.Address + func (p *BlobPool) Nonce(addr common.Address) uint64 + func (p *BlobPool) Pending(enforceTips bool) map[common.Address][]*txpool.LazyTransaction + func (p *BlobPool) PendingFrom(addrs []common.Address, enforceTips bool) map[common.Address][]*txpool.LazyTransaction + func (p *BlobPool) PendingWithBaseFee(enforceTips bool, baseFee *big.Int) map[common.Address][]*txpool.LazyTransaction + func (p *BlobPool) Reset(oldHead, newHead *types.Header) + func (p *BlobPool) SetGasTip(tip *big.Int) + func (p *BlobPool) SetMinFee(minFee *big.Int) + func (p *BlobPool) Stats() (int, int) + func (p *BlobPool) Status(hash common.Hash) txpool.TxStatus + func (p *BlobPool) SubscribeTransactions(ch chan<- core.NewTxsEvent) event.Subscription + func (pool *BlobPool) IteratePending(f func(tx *txpool.Transaction) bool) bool + type BlockChain interface + Config func() *params.ChainConfig + CurrentBlock func() *types.Header + CurrentFinalBlock func() *types.Header + GetBlock func(hash common.Hash, number uint64) *types.Block + GetFeeConfigAt func(header *types.Header) (commontype.FeeConfig, *big.Int, error) + StateAt func(root common.Hash) (*state.StateDB, error) + type Config struct + Datacap uint64 + Datadir string + PriceBump uint64