erigon-pulse/txpool
TBC Dev 5b0c5e7fdb
TxPool efficiency improvements (#173)
* Avoid iteration for Spammer tests by tracking senderID tx counts

* Add BySenderAndNonce.ascendAll()

* Add BySenderAndNonce.descend()

* Avoid iteration by descending, and pre-allocate known size

* Resize() once rather than for each good txn

* Use range value in loops

* Add comments to clarify NotSet default values
2021-11-18 07:59:25 +00:00
..
testdata/fuzz more p2p fuzzing, part 2 (#132) 2021-10-26 14:29:18 +07:00
txpooluitl Pool: remove rules from func signatures (#135) 2021-10-28 10:13:39 +07:00
fetch_test.go Pool: remove rules from func signatures (#135) 2021-10-28 10:13:39 +07:00
fetch.go ETL: use logPrefix as suffix of tmp files (#146) 2021-11-05 17:04:17 +07:00
grpc_server.go txpool.Pending() method, which preserve ready-for-mining order (#172) 2021-11-17 17:23:51 +07:00
mocks_test.go ETL: use logPrefix as suffix of tmp files (#146) 2021-11-05 17:04:17 +07:00
packets_fuzz_test.go more p2p fuzz 2021-10-26 14:10:42 +07:00
packets_test.go Pool: PooledTransactions to produce correct rlp for non-legacy txs (#166) 2021-11-16 11:21:12 +07:00
packets.go Pool: PooledTransactions to produce correct rlp for non-legacy txs (#166) 2021-11-16 11:21:12 +07:00
pool_fuzz_test.go make idhash public (#137) 2021-10-30 09:55:06 +07:00
pool_test.go Pending nonce [attempt 2] (#158) 2021-11-15 09:44:18 +00:00
pool.go TxPool efficiency improvements (#173) 2021-11-18 07:59:25 +00:00
send.go Pool2 integration test support (#136) 2021-10-28 18:45:18 +07:00
test_util.go up interfaces 2021-08-14 08:49:21 +07:00
types_fuzz_test.go Pool: print local txs propagation info (#115) 2021-10-18 11:22:05 +07:00
types_test.go make idhash public (#137) 2021-10-30 09:55:06 +07:00
types.go ETL: use logPrefix as suffix of tmp files (#146) 2021-11-05 17:04:17 +07:00