• Martin Holst Swende's avatar
    eth/fetcher: don't spend too much time on transaction inclusion (#25524) · 0ce494b6
    Martin Holst Swende authored
    * eth/fetcher: introduce some lag in tx fetching
    
    * eth/fetcher: change conditions a bit
    
    * eth/fetcher: use per-batch quota check
    
    * eth/fetcher: fix some comments
    
    * eth/fetcher: address review concerns
    
    * eth/fetcher: fix panic + add warn log
    
    * eth/fetcher: fix log
    
    * eth/fetcher: fix log
    
    * cmd/devp2p/internal/ethtest: fix ignorign tx announcements from prev. tests
    
    * cmd/devp2p/internal/ethtest: fix TestLargeTxRequest
    
    This increases the number of tx relay messages the test waits for. Since
    go-ethereum now processes incoming txs in smaller batches, the
    announcement messages it sends are also smaller.
    Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
    0ce494b6
helpers.go 20 KB