809 Commits

Author SHA1 Message Date
alex.sharov
d8f6ca8485 Revert "mdbx: proper atomic close"
This reverts commit fa5cb45336721106fc305f899e2dec15adcb924e.
2023-01-10 13:19:50 +07:00
alex.sharov
fa5cb45336 mdbx: proper atomic close 2023-01-10 12:03:19 +07:00
Alex Sharov
7c2ed8e01f
mdbx: v0.12.3 (#6521) 2023-01-10 09:15:18 +07:00
Alex Sharov
f3636c2ad2
kv_temporal: 2nd key for domain (#6533) 2023-01-09 15:16:07 +07:00
ledgerwatch
e8287918ba
Gnosis block snapshots (#6516)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-07 12:07:36 +00:00
Alex Sharov
3c7e6b114e
e3: locality index (#6513) 2023-01-07 12:31:00 +07:00
Alex Sharov
4c3bb1cca5
kv_temporal: DomainGet (#6511) 2023-01-06 14:27:54 +07:00
hexoscott
1a09dcbdb3
use set rather than slice for tracking yielded when mining (#6488)
make use of sets when tracking yielded transactions during mining
2023-01-02 13:00:08 +00:00
Alex Sharov
11637a5c7d
e3: force merge snapshots before reconst (#6484) 2023-01-02 10:10:48 +07:00
Alex Sharov
65b66d6be2
make clang happy (#6482) 2023-01-01 11:43:31 +07:00
Alex Sharov
4a9c871628
a bit rename 22 to v3 (#6476) 2022-12-30 21:53:42 +07:00
Alex Sharov
3ebd597912
up log version (#6474) 2022-12-30 20:31:17 +07:00
Alex Sharov
0b900e3004
coherent state cache: change btree type (#6473) 2022-12-30 19:47:46 +07:00
Alex Sharov
c04668d0ff
e3: agg cancel background jobs (#6463) 2022-12-29 15:04:07 +07:00
Alex Sharov
36fc6a3950
kv: db.ReadOnly() method #806 (#6454) 2022-12-28 12:48:57 +07:00
Alex Sharov
ba585f494b
torrent lib version up (#6447) 2022-12-27 12:54:00 +07:00
alex.sharov
17ea11e9a0 mdbx: fix set option error 2022-12-26 21:33:03 +07:00
Alex Sharov
fa6f6038e7
kv: tx.Prefix method (#6441) 2022-12-26 17:58:21 +07:00
Alex Sharov
ab6b4546f5
KV: tx.Range() with stream api (#6437) 2022-12-25 17:41:43 +07:00
Alex Sharov
2133a4fe17
KV: tx.Range() with stream api (#6436) 2022-12-25 17:40:07 +07:00
Alex Sharov
4e26f53a75
e3: return error from inline-apply (#6427) 2022-12-24 17:30:26 +07:00
Alex Sharov
ade933be6b
kv_remote: server to support thread-safe multi-streams per 1 tx (#6402) 2022-12-24 13:11:15 +07:00
Alex Sharov
d7404bc391
e3: correct bsc snapshots (#6411) 2022-12-23 13:06:48 +07:00
Giulio rebuffo
5fd3536ef0
Erigon-cl database schema (#6399) 2022-12-22 19:59:24 +01:00
Alex Sharov
d9b6c84f57
kv_remote: c.Count() (#6403) 2022-12-22 12:44:05 +07:00
Alex Sharov
130ab85bea
e3: kv/temporal prototype 3 (#6395) 2022-12-22 09:37:32 +07:00
Alex Sharov
2711e3a712
e3: verified mainnet snapshots (#6387) 2022-12-20 22:32:30 +07:00
Alex Sharov
cce0f251b4
e3: kv/temporal prototype 2 (#6377) 2022-12-20 09:28:10 +07:00
Alex Sharov
dfa6505f93
e3: kv/temporal prototype (#6367) 2022-12-19 15:38:54 +07:00
Alex Sharov
185141b184
e3: reconst MakeSteps - to check that files are indexed (#6366) 2022-12-19 10:27:39 +07:00
hexoscott
d4623ec9d7
mining updates around txpool yielding (#6342)
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2022-12-18 08:45:03 +07:00
Alex Sharov
04999c3219
mdbx: relax a bit merge limit (still leave it stronger than default) (#6350) 2022-12-17 20:10:01 +07:00
Alex Sharov
8d32a00558
e3: increase default wal limit (#6347) 2022-12-17 16:55:57 +07:00
Andrew Ashikhmin
0fc2022a0e
Extend fork ID to timestamp-based forks (#6324)
Starting from
[Shanghai](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md),
forks are based on timestamps rather than block heights (see PR #6238).
This PR extends [EIP-2124](https://eips.ethereum.org/EIPS/eip-2124) Fork
ID to include timestamp-based blocks. See also
https://github.com/ethereum/go-ethereum/pull/25878.

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2022-12-16 12:08:54 +01:00
ledgerwatch
56e64fcb24
Change block snapshots (#6338)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-16 08:38:02 +00:00
ledgerwatch
66c44a739e
Add another mainnet block snapshot range (15.5m - 16m) (#6330)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-16 08:24:17 +00:00
Alex Sharov
b2bf12827c
e3: cancel background build (#6323) 2022-12-15 17:18:00 +07:00
Alex Sharov
863e1ed07b
e3: handle "kill -9" during merge, auto-hide history .ef file if not corresponding .v file (#6304) 2022-12-15 13:49:06 +07:00
Alex Sharov
ce9203d80d
e3: more aggressive prune #780 (#6299) 2022-12-14 09:50:48 +07:00
Alex Sharov
fed1be256c
e3: auto-remove useless files (#6298) 2022-12-14 09:03:16 +07:00
hexoscott
c0d2523b06
reset txpool yielded flags before starting mining (#6284) 2022-12-12 17:27:57 +07:00
ledgerwatch
1c3c486d00
Avoid using peers returning empty responses, not sending skeleton requests (#6281)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-11 23:03:10 +00:00
ledgerwatch
4ab76849d8
Use old method of peer selection for non-POS networks (#6279)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2022-12-11 15:14:49 +00:00
Alex Sharp
d8ae12b6fd Revert "Add passive peer parameter"
This reverts commit 786179646b7f878fef457247eccc934bd9717ca0.
2022-12-11 12:33:08 +00:00
Alex Sharp
786179646b Add passive peer parameter 2022-12-11 12:32:47 +00:00
ledgerwatch
b5a7faa8db
[e3] Incremental reconstitution (#6270)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-10 09:34:17 +00:00
Alex Sharov
b4fd07b671
e3: earlier flush (#6227) 2022-12-10 15:53:58 +07:00
hexoscott
47a6f86f76
use a shared simulated tx when mining (#6253)
This ensures that the filter bad transactions can use the same context
each time, so increases an account nonce in the first batch of
transactions is committed to the simulation just in case the same
account appears in the next batch of transactions.

Also makes use of the new txpool candidate functionality to ensure we're
getting fresh transactions each time.
2022-12-09 21:16:10 +07:00
Giulio rebuffo
0da12e4c94
Verification by root and not by slot (#6243) 2022-12-07 21:26:45 +01:00
Andrew Ashikhmin
ecf0a59624
Cosmetic change to go.mod (#6236) 2022-12-07 13:31:46 +01:00