Commit Graph

116 Commits

Author SHA1 Message Date
Andrew Ashikhmin
b810bb6ee0
Update interfaces (#733)
Pick up https://github.com/ledgerwatch/interfaces/pull/131
2022-11-11 16:36:22 +01:00
Enrique Jose Avila Asapche
eaad0d0a4a
changed baseFeeCap from uint64 -> uint256 (#646)
* changed baseFeeCap from uint64 -> uint256

* fixed test

* ops

* no overflow

* tmp var

* difference

* ops difference

* adding proper rlp with feecap
2022-09-23 12:47:01 +02:00
Alex Sharov
1e029ac6d8
go1.19 gofmt (#576)
* save

* save
2022-08-10 19:00:19 +07:00
Alex Sharov
e824fdff60
remove fuzzbeta build tag, because now go1.18 is minimum requirement (#428) 2022-07-03 14:38:53 +06:00
Alex Sharov
b1dc1bfbbf
run go fix ./... (#453) 2022-05-17 14:48:16 +07:00
Alex Sharov
f3f655ec26
Txn tip is u256 (#447)
* save

* save

* save

* save
2022-05-13 12:21:29 +07:00
Alex Sharov
da0666bd83
ErigonLib: move types to own package (#413) 2022-04-11 10:02:44 +07:00
Alex Sharov
af4391d7f9
fix nil pointer in fetch.go (#406) 2022-03-31 15:13:11 +07:00
Alex Sharov
83951a1d62
Enable more linters (#381) 2022-03-19 11:38:37 +07:00
Alex Sharov
ec354d1615
Fuzz fixes (#295)
* fuzz tests fixes

* fuzz tests fixes
2022-02-02 09:18:04 +00:00
TBC Dev
d8870b19c3
Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey) (#183)
* Rename h1 to h0 for clarity

* Simplify toHashes() and toPeerIDs()

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit ed9b048

git-subtree-dir: interfaces
git-subtree-split: ed9b04802fe8891a2bc3fea274c498c758d3fcac

* Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey)
2021-11-21 19:35:59 +00:00
Alex Sharov
c92b760e99
make idhash public (#137) 2021-10-30 09:55:06 +07:00
alex.sharov
d0b2e02128 clean fuzz of pool 2021-10-29 09:58:52 +07:00
Alex Sharov
70c39cd195
Pool intrinsic gas check (#126) 2021-10-25 08:49:04 +07:00
alex.sharov
0efa6d9a86 fix fuzz test 2021-10-20 07:03:57 +07:00
Alex Sharov
158ae418d1
Pool: print local txs propagation info (#115) 2021-10-18 11:22:05 +07:00
Alex Sharov
bbcf1f0cff
save (#106) 2021-10-10 19:37:10 +07:00
Alex Sharov
fa97bdba0a
Pool v2: --txpool.accountslots flag support (#98) 2021-10-03 13:27:28 +07:00
Alex Sharov
57c724bbc6
--txpool.pricelimit support (#96) 2021-10-02 17:34:33 +07:00
Alex Sharov
33aa4498f0
Pool: speedup iteration over all txs (#94) 2021-09-28 15:54:02 +07:00
Alex Sharov
9070cf769f
save (#91) 2021-09-26 19:48:57 +07:00
Alex Sharov
f5fa03d63f
Pool: switch to PendingBaseFee (#90) 2021-09-26 19:47:11 +07:00
Alex Sharov
4862356290
Pool: correct new pending txs notifications (#85) 2021-09-21 16:39:41 +07:00
Alex Sharov
6a7eeccad7
Pool: discard reasons, LRU (#80) 2021-09-20 12:44:29 +07:00
Alex Sharov
dfc14352d2
Pool: chain config, non-mainnet (#78) 2021-09-18 20:58:20 +07:00
Alex Sharov
8163e0cd93
Pool: cache based on txID (#75) 2021-09-17 09:56:04 +07:00
Alex Sharov
71308b02b3
Pool: switch cache to tx.ID(), more metrics (#73) 2021-09-15 20:15:32 +07:00
Alex Sharov
645eb83eca
Pool: mining rpc, remove block num from db, started atomic, more metrics, basic eviction (#70) 2021-09-14 22:01:33 +07:00
Alex Sharov
5b8e019246
Pool: add coherent state cache (#68) 2021-09-13 14:31:15 +07:00
Alex Sharov
0b4e528fac
Pool: no state persistance (#62) 2021-09-08 19:21:13 +07:00
Alex Sharov
c7739b89a8
Pool: state diff direct client, tx parse fuzzing (#59) 2021-09-07 09:52:17 +07:00
Alex Sharov
71fb498e39
Pool: add grpc server (#53) 2021-09-02 12:25:34 +07:00
Alex Sharov
ad0e5db3ef
Pool: pending best queue as an array, batch p2p new txs processing (#51) 2021-09-01 15:22:48 +07:00
Alex Sharov
38a9bb9d7f
Pool: remove redundant prefix in txs table (#49) 2021-08-31 21:29:55 +07:00
Alex Sharov
29bf077da4
Pool: eviction works, use correct minBaseFee (#48) 2021-08-30 19:26:29 +07:00
alex.sharov
e0b3248964 save 2021-08-30 10:07:16 +07:00
alex.sharov
d9ea4ae375 add state check assert routine 2021-08-28 14:46:27 +07:00
alex.sharov
e61298a8e0 add state check assert routine 2021-08-28 10:10:46 +07:00
alex.sharov
833c60c0d1 add state check assert routine 2021-08-28 10:00:23 +07:00
alex.sharov
8c6c7498ec add state check assert routine 2021-08-27 14:52:27 +07:00
alex.sharov
afdb0c7598 add state check assert routine 2021-08-27 11:22:24 +07:00
alex.sharov
cf015aeb8f add state check assert routine 2021-08-27 10:33:53 +07:00
alex.sharov
96e0d4b177 add state check assert routine 2021-08-27 08:58:38 +07:00
alex.sharov
66f4f6880f don't load everything on start 2021-08-26 18:04:38 +07:00
alex.sharov
2c07b54283 don't load everything on start 2021-08-26 17:36:08 +07:00
alex.sharov
22d71095f6 don't load everything on start 2021-08-26 15:29:33 +07:00
alex.sharov
c673625f37 move byNonce to from SenderCache to pool to solve problem with locks 2021-08-26 14:43:39 +07:00
alex.sharov
b5b19569ed make sender info unloadable 2021-08-26 11:21:47 +07:00
alex.sharov
334df676b2 persistence 2021-08-25 19:44:21 +07:00
alex.sharov
a6af35fb41 persistence 2021-08-25 18:51:58 +07:00