Andrew Ashikhmin
c07cefc3c9
EIP-4844: Rename "data gas" to "blob gas" ( #1058 )
...
See https://github.com/ethereum/EIPs/pull/7354 &
https://github.com/ethereum/consensus-specs/pull/3461 . Prerequisite:
https://github.com/ledgerwatch/interfaces/pull/184
2023-07-28 09:50:57 +00:00
racytech
738be553b6
EIP-4844: TxPool::validateTx extension to meet specs ( #1046 )
2023-07-17 15:26:37 +00:00
Andrew Ashikhmin
441634e651
Parse EIP-4844 transactions wrapped with blobs ( #1037 )
...
Continuation of PR #1034
2023-07-11 07:06:35 +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
Andrew Ashikhmin
bfe9cca68e
EIP-4844: Handle data gas in txpool ( #1029 )
...
Reworked bits of PR #850 . Only stubs for transaction parsing.
2023-06-23 08:59:38 +00:00
Alex Sharov
8974fbd05a
Enforce blockReader interface ( #1023 )
2023-06-15 06:11:49 +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
Temirlan
8234bab3de
TxPool sendersBatch optimizations ( #927 )
...
Reduce memory allocations and using inverted index (instead of
brute-force).
Use common.Address type instead of []byte
[Related issue](https://github.com/ledgerwatch/erigon/issues/7002 )
2023-03-16 03:32:58 +00:00
Roberto Bayardo
39694bc9d5
nit: tweak error handling for rlp too big ( #834 )
...
I believe ValidateSerializedTxn should be returning (or at least
wrapping) types.RlpTooBig instead of creating a new error when the
transaction exceeds max size, since this is the error the txpool
actually checks for:
61706714c3/txpool/txpool_grpc_server.go (L204)
Before this change the ImportResult for an oversized tx would be
INTERNAL_ERROR; after this change it will be INVALID, which seems more
appropriate.
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-01-18 14:38:47 +07: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
hexoscott
c9a7ae152a
move to PeekBest and YieldBest methods in txpool ( #773 )
...
Following up on comments from the first iteration of this change. How
does this look?
2022-12-09 10:59:00 +00:00
hexoscott
9f72de1e9d
txpool to mark candidate txs for mining ( #772 )
...
as we're now visiting the txpool multiple times during mining we need a
way to ensure we're not trying to include the same transactions twice
and to only get new data each time. This seems a simple way to achieve
this, but if there would be a better way let me know.
2022-12-09 09:51:50 +00:00
hexoscott
6ec0a1ba7c
txpool to consider available gas in Best call ( #755 )
2022-12-02 15:32:56 +00:00
ledgerwatch
51b120abdd
[txpool] Best function to accept onTopOf argument and indicate whenever it is too early to gather tx for a block ( #685 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-14 23:11:37 +01:00
Alex Sharov
6f7794e88b
Pool: parse rlp chain id for non-legacy transactions ( #542 )
...
* save
* save
* save
* save
* save
* save
2022-07-23 10:11:25 +07:00
Andrew Ashikhmin
5278815cd0
Start txpool in AddLocalTxs ( #480 )
...
* Start txpool in AddLocalTxs
* Correct tx in fromDB called by AddLocalTxs
2022-06-08 10:39:22 +02:00
Alex Sharov
bf0e20e80c
Rename sentry.ControlServerImpl to sentry.MultyClient and sentry.SentryServerImpl to sentry.GrpcServer #444
2022-05-10 12:17:19 +07:00