mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 16:59:26 +00:00
Underpriced transactions were first added then dropped. This created various issues: - dropping is neither FIFO nor LIFO in a heap, so we had undefined behavior between equal priced transactions. We now only add a new transaction if it is strictly better than the worst in the pool. - adding and removing created extra disk writes - adding resulted in sending announcements to peers Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com> |
||
|---|---|---|
| .. | ||
| blobpool | ||
| legacypool | ||
| locals | ||
| errors.go | ||
| reserver.go | ||
| subpool.go | ||
| txpool.go | ||
| validation.go | ||
| validation_test.go | ||