• villanuevawill's avatar
    core: fix queued transaction eviction · c3744474
    villanuevawill authored
    Solves issue#20582. Non-executable transactions should not be evicted on each tick if there are no promote transactions or if a pending/reset empties the pending list. Tests and logging expanded to handle these cases in the future.
    
    core/tx_pool: use a ts for each tx in the queue, but only update the heartbeat on promotion or pending replaced
    
    queuedTs proper naming
    c3744474
tx_pool_test.go 73.7 KB