mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 03:51:20 +00:00
adef971995
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> |
||
---|---|---|
.github/workflows | ||
bptree | ||
chain | ||
commitment | ||
common | ||
compress | ||
crypto | ||
direct | ||
downloader | ||
etl | ||
gointerfaces | ||
kv | ||
mmap | ||
patricia | ||
pedersen_hash | ||
recsplit | ||
rlp | ||
sais | ||
state | ||
tools | ||
txpool | ||
types | ||
.gitignore | ||
.golangci.yml | ||
go.mod | ||
go.sum | ||
go.work.sum | ||
LICENSE | ||
Makefile | ||
README.md | ||
rules.go | ||
tools.go |
erigon-lib
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.0
Dev workflow
In erigon folder create go.work file (it’s already in .gitignore)
go 1.20
use (
.
./../erigon-lib
)
Create PR in erigon-lib, don’t merge PR, refer from erigon to non-merged erigon-lib branch (commit) by: go get github.com/ledgerwatch/erigon-lib/kv@<commit_hash>
Create Erigon PR
When both CI are green - merge 2 PR. That’s it.