Commit Graph

20 Commits

Author SHA1 Message Date
Mark Holt
c2851b6ae7
Added Mdbx sizing to txpool config (#1086)
Added 

 ```
MdbxPageSize          datasize.ByteSize
MdbxDBSizeLimit       datasize.ByteSize
MdbxGrowthStep        datasize.ByteSize
```
to allow txpool db to be configured.
2023-08-26 07:45:09 +00:00
Alex Sharov
3c4b0d425b
move mdbx to new org (#1083) 2023-08-24 11:00:21 +00:00
Andrew Ashikhmin
0a6037d12f
OverrideShanghaiTime -> OverrideCancunTime (#1067) 2023-08-03 13:37:28 +00:00
ledgerwatch
1d6b5a3baf
Revert "add map size setter" (#1054)
Reverts ledgerwatch/erigon-lib#1050

It causes the error:

`EROR[07-21|21:45:02.806] [txpool] flush is local history err="table:
PoolTransaction, err: mdbx_cursor_put: MDBX_MAP_FULL: Environment
mapsize limit reached"
`
2023-07-22 03:09:51 +00:00
Mark Holt
32df191e7e
add map size setter (#1050)
Add a bound the txpool db, rather than leaving it as the default of 2TB.
This is to reduce the page file profile when running multiple nodes from
around 3.5GB per txpool instance.

The current pool map side is set to 512MB - which seems reasonable with
16MB increments
2023-07-17 19:48:43 +00:00
Andrew Ashikhmin
797724496a
EIP-4844: parse transactions when not wrapped with blobs (#1034)
Implement `ParseTransaction` when `wrappedWithBlobs` is false. (The
`wrappedWithBlobs` case is still to be implemented).
2023-06-27 10:48:14 +00:00
ledgerwatch
9375b2173b
Introduce separate logger to txpool (#994)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-11 17:32:05 +00:00
Alex Sharov
b29550fd20
Break dependency of ethcfg package to txpool. Create txpoolcfg package (#958) 2023-03-29 07:24:37 +00:00
ledgerwatch
1a14cfd7e7
support for eth/68 in transaction pool (#877)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alex Sharp <alexsharp@surfer-172-29-1-65-hotspot.internet-for-guests.com>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-01 21:50:37 +00:00
hexoscott
8969b9c58f
txpool changes for eip-3860 (#820)
shanghai changes to txpool.

intrinsic gas updated to match the new version in Erigon.

unsure if the `isShanghai` check is robust enough or there would be a
better way to approach this.
2023-01-16 22:15:42 +00:00
Andrew Ashikhmin
23c7f503e0
WithTablessCfg -> WithTableCfg (#601) 2022-08-24 11:02:47 +02:00
Alex Sharov
8e9ea275cd
txpool: reduce db growth step #583 2022-08-12 23:02:40 +07:00
Alex Sharov
da0666bd83
ErigonLib: move types to own package (#413) 2022-04-11 10:02:44 +07:00
alex.sharov
9a170d8949 download on empty 2022-04-06 09:34:05 +07:00
Alex Sharov
90c6ccb789
Pool: remove rules from func signatures (#135) 2021-10-28 10:13:39 +07:00
Alex Sharov
158ae418d1
Pool: print local txs propagation info (#115) 2021-10-18 11:22:05 +07:00
Alex Sharov
fa97bdba0a
Pool v2: --txpool.accountslots flag support (#98) 2021-10-03 13:27:28 +07:00
Alex Sharov
dfc14352d2
Pool: chain config, non-mainnet (#78) 2021-09-18 20:58:20 +07:00
Alex Sharov
5b8e019246
Pool: add coherent state cache (#68) 2021-09-13 14:31:15 +07:00
Alex Sharov
c7739b89a8
Pool: state diff direct client, tx parse fuzzing (#59) 2021-09-07 09:52:17 +07:00