Alex Sharov
2c764ab8a7
grpc version up ( #843 )
2023-01-21 10:58:13 +07:00
ledgerwatch
ac237028d0
Rollback MDBX upgrade ( #842 )
...
There is some circumstantial evidence that there are some regressions in
this version of MDBX, I would like to rollback to either remove these
regressions or at least eliminate one of the possible causes
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-20 20:11:58 +00:00
Andrew Ashikhmin
c49d8b8262
Unify Engine API V1 & V2 methods ( #841 )
...
Pick up https://github.com/ledgerwatch/interfaces/pull/153
2023-01-20 18:16:32 +01:00
Alex Sharov
a705195fa0
e3: reverse/limited iterators, stream tooling ( #840 )
2023-01-20 18:08:22 +07:00
nanevardanyan
347633a8fb
kv: created EthTxV2 table with key that also contains block hash ( #838 )
...
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-01-20 16:14:43 +07:00
ledgerwatch
ab20c39019
Fix eth_getLogs ( #839 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-18 23:20:12 +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
Andrew Ashikhmin
fc3dd4fd27
Withdrawal amount in GWei ( #832 )
...
Pick up https://github.com/ledgerwatch/interfaces/pull/148
2023-01-17 10:58:43 +01:00
alex.sharov
1fb7e7ae77
simplify cursor2stream
2023-01-17 14:42:47 +07:00
alex.sharov
bfca37c869
simplify cursor2stream
2023-01-17 14:40:41 +07:00
alex.sharov
f09fa4a732
simplify cursor2stream
2023-01-17 14:32:56 +07:00
Alex Sharov
aaafab8fc0
e3: storageRangeAt ( #833 )
2023-01-17 14:16:33 +07:00
Alex Sharov
0f85e27a4d
e3: increase some defaults ( #836 )
2023-01-17 09:14:15 +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
61706714c3
bringing hash, address, and chain config into lib ( #826 )
2023-01-13 15:52:38 +00:00
alex.sharov
7c475cb52e
save
2023-01-13 11:35:30 +07:00
Alex Sharov
120c4a20f4
e3: stream.ToBitamp() ( #831 )
2023-01-12 09:58:17 +07:00
Alex Sharov
16f4e2609b
e3: invalid txnum table ( #828 )
2023-01-12 09:31:29 +07:00
alex.sharov
63f3770aad
save
2023-01-12 09:13:15 +07:00
Alex Sharov
27c56f2de8
Torrent: reduce network chunk, some routers are unhappy ( #829 )
2023-01-11 13:30:13 +07:00
alex.sharov
922b5754da
STOP_AFTER_RECONSTITUTE=true
2023-01-11 10:14:59 +07:00
alex.sharov
a886ba0192
save
2023-01-11 09:54:16 +07:00
alex.sharov
6a8b53c105
save
2023-01-11 09:53:48 +07:00
alex.sharov
c82e38551a
save
2023-01-11 09:53:22 +07:00
alex.sharov
8f3178f2f2
Revert "mdbx: proper atomic close ( #827 )"
...
This reverts commit 493ae8b083
.
2023-01-10 13:20:01 +07:00
Alex Sharov
493ae8b083
mdbx: proper atomic close ( #827 )
2023-01-10 12:02:23 +07:00
Alex Sharov
d2d03d140b
mdbx: v0.12.3 ( #824 )
2023-01-10 09:15:04 +07:00
Alex Sharov
db2a25b1ae
kv_temporal: 2nd key for domain ( #825 )
2023-01-09 15:16:05 +07:00
Alex Sharov
ac40ca5269
e3: locality index ( #823 )
...
Mainnet:
```
447M accounts.0-544.l
45M accounts.0-544.li
133M code.0-544.l
14M code.0-544.li
2.0G storage.0-544.l
197M storage.0-544.li
```
Decided no to use Roaring - because it can only keep full bitmap in RAM
(no way to stream into file). But it's more compact 2Gb -> 1.4Gb. Maybe
can shard large bitmap - or do other trick (storage has 1B keys -
sharding probably is cheap). Maybe in the future.
2023-01-07 12:30:57 +07:00
Alex Sharov
d2f5682ee8
kv_temporal: DomainGet ( #822 )
2023-01-06 14:27:50 +07:00
hexoscott
3c7c00677d
use set in mining yield ( #819 )
...
based on the suggestion to use a set rather than a slice for tracking
yielded transactions
2023-01-02 12:24:55 +00:00
Alex Sharov
ef2da9e625
e3: force merge snapshots before reconst ( #818 )
2023-01-02 10:10:37 +07:00
Alex Sharov
5b7297fbe2
make clang happy ( #817 )
2023-01-01 11:43:12 +07:00
Giulio rebuffo
2884b71cb5
Update go.sum ( #816 )
2023-01-01 00:25:55 +01:00
Alex Sharov
f82abf9f10
a bit rename 22 to v3 ( #815 )
2022-12-30 21:53:44 +07:00
Alex Sharov
dcfbce2f57
up log version ( #814 )
2022-12-30 20:31:19 +07:00
Alex Sharov
745aacef74
coherent state cache: change btree type ( #813 )
2022-12-30 19:47:21 +07:00
Alex Sharov
d0af20cb8a
etl: remove custom comparators support ( #810 )
2022-12-30 11:37:17 +07:00
Alex Sharov
f36515a420
e3: agg cancel background jobs ( #808 )
2022-12-29 15:04:04 +07:00
Giulio rebuffo
3105d7ba29
Added beacon indexing ( #807 )
2022-12-28 17:43:51 +01:00
Alex Sharov
7da5281947
kv: db.ReadOnly() method ( #806 )
2022-12-28 12:48:54 +07:00
Alex Sharov
f6d2125cc1
torrent lib version up ( #805 )
2022-12-27 12:53:44 +07:00
alex.sharov
ee6b511615
save
2022-12-26 21:31:53 +07:00
Alex Sharov
9a6ae5bf5a
kv: tx.Prefix method ( #804 )
2022-12-26 17:58:17 +07:00
alex.sharov
d0ccc19cb9
mdbx: set max bg sync bytes limit
2022-12-25 22:00:20 +07:00
alex.sharov
b023e06483
save
2022-12-25 21:54:07 +07:00
alex.sharov
2110fb06d5
kv: more docs
2022-12-25 18:27:21 +07:00
Alex Sharov
0aeae327e1
KV: tx.Range() with stream api ( #803 )
2022-12-25 17:40:04 +07:00
Alex Sharov
1371990bed
e3: BuildMissedIndices errgroup ( #802 )
2022-12-24 17:30:21 +07:00
Alex Sharov
3170bf0a57
kv_remote: server to support thread-safe multi-streams per 1 tx ( #798 )
2022-12-24 13:11:09 +07:00