erigon-pulse/types
Somnath Banerjee adef971995
Txpool upgrades for EIP-4844 Blob Transactions (#1075)
EIP-4844 proposed the new (type-3) Blob Transactions which are expensive
(because blobs are big etc.). The tx-pool should be tightened to
alleviate spam and dos attacks by way of these new transactions.

### Changes
**Keep blob txs cached**
During new block, don't delete mined blobTxs, instead cache it till they
are finalized. This is to avoid fetching them again for unwind. During
unwind, if it's a previously seen blobTxn, try to fetch it from memory.

**Pool config**
BlobSlots: Similar to AccountSlots - limits how many blobs a single
account is allowed to have until it's marked as spamming.
Blob txn priceBump: It's an added field in pool config (with a flag).
Defaults to 100%, since blob txs of equal fee are costlier to
process/execute

---------

Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2023-09-10 10:23:46 +00:00
..
clonable LeakDetector: use it to find which resource was created but not closed (leaked) (#990) 2023-05-08 05:22:24 +00:00
ssz Introduce BitLenToByteLen (#1022) 2023-06-14 12:22:13 +00:00
testdata/fuzz ErigonLib: move types to own package (#413) 2022-04-11 10:02:44 +07:00
testdata.go Remove Starknet stuff (#871) 2023-01-30 18:10:21 +01:00
txn_packets_fuzz_test.go bringing hash, address, and chain config into lib (#826) 2023-01-13 15:52:38 +00:00
txn_packets_test.go bringing hash, address, and chain config into lib (#826) 2023-01-13 15:52:38 +00:00
txn_packets.go EIP-4844: Handle data gas in txpool (#1029) 2023-06-23 08:59:38 +00:00
txn_test.go Bump max size of blob transactions (#1063) 2023-08-01 10:32:05 +00:00
txn_types_fuzz_test.go EIP-4844: Handle data gas in txpool (#1029) 2023-06-23 08:59:38 +00:00
txn.go Txpool upgrades for EIP-4844 Blob Transactions (#1075) 2023-09-10 10:23:46 +00:00