Alex Sharov
70f4a28e0e
e3: optimize iterators, step1 ( #903 )
2023-02-24 03:31:10 +00:00
ledgerwatch
fe85438cb4
kv/mdbx: Ability to list tables from read-only tx, and enumerate DBs open in a process ( #897 )
...
This is for the diagnostics project
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-22 08:30:20 +00:00
Alex Sharov
7a9f1588c3
Pool and RPCBlocksCache: to use generic lru ( #901 )
2023-02-22 07:50:16 +00:00
Alex Sharov
1170fea109
mdbx: to support empty key/values #6923 ( #900 )
2023-02-22 07:04:46 +00:00
Alex Sharov
3bb18282be
downloader: suspend cancelation warning ( #899 )
2023-02-22 04:30:29 +00:00
Alex Sharov
4d378c97ee
mdbx: to support empty key/values ( #898 )
2023-02-22 04:10:53 +00:00
Anshal Shukla
7ed71b2466
Move calcutta fork to bor config ( #896 )
...
https://github.com/ledgerwatch/erigon/pull/6899
2023-02-21 22:04:41 +00:00
alex.sharov
d14c31f185
Revert "save"
...
This reverts commit 5679d509d2
.
2023-02-21 09:11:12 +07:00
alex.sharov
5679d509d2
save
2023-02-21 09:07:42 +07:00
Alex Sharov
cb8d3ec530
EliasFano: Search to touch only UpperBits array ( #895 )
2023-02-20 06:42:35 +00:00
Anshal Shukla
c1c1f29abf
Add Bor fork blocks ( #893 )
...
This is essential to have system_contract lookup which fixes the RPC
response for updated contract codes.
2023-02-20 04:50:47 +00:00
Alex Sharov
36d52dad69
torrent lib version up ( #894 )
2023-02-20 04:47:34 +00:00
Alex Sharov
6b3b7ab434
trackers up ( #892 )
2023-02-17 02:38:06 +00:00
alex.sharov
ad40a6ed59
clean
2023-02-15 12:17:50 +07:00
alex.sharov
27d69bc0a9
save
2023-02-14 13:36:16 +07:00
Alex Sharov
565acd3624
e3: read files list from db ( #885 )
2023-02-13 05:16:58 +00:00
Alex Sharov
66c719ac3c
peerID type ( #890 )
2023-02-12 11:21:29 +00:00
Maxim Andreev
ddf6c3bcf3
kv_mdbx: fix typo db.evn -> db.env ( #887 )
2023-02-12 18:20:50 +07:00
Alex Sharov
e647e5fe3b
e3: reduce buildIndex ctx scope ( #889 )
2023-02-12 09:24:16 +00:00
Alex Sharov
e57fe47ffb
e3: temporary remove semaphore ( #888 )
2023-02-12 16:06:24 +07:00
ledgerwatch
aa2b561741
Disallow memory db creation with empty tmpDir ( #886 )
...
It silently fills up `/tmp` directory with directories that never get
cleaned up and eventually cause trouble
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-11 20:08:54 +00:00
Alex Sharov
db0e7ed112
e3: return list of e3 files by grpc ( #884 )
2023-02-10 14:16:39 +07:00
Alex Sharov
3e933bc456
Downloader: "incomplete" markers are more important than "complete", so commit them with fsync ( #883 )
...
On power-off recent "no-sync" txs may be lost. It will cause 2. cases:
- Good piece on disk and recent "complete" db marker lost. Self-Heal by
re-download.
- Bad piece on dis and recent "incomplete" db marker lost. No Self-Heal.
So, can't afford loosing recent "incomplete" markers.
2023-02-10 13:20:13 +07:00
Alex Sharov
ef4e4e5402
less logs about compression ( #882 )
2023-02-09 12:28:07 +07:00
Alex Sharov
1b22208462
e3: Thread safe reopen folder ( #881 )
2023-02-09 12:11:36 +07:00
Alex Sharov
6254a32e4b
e3: MakeContext
must not see garbage files (deleted, overlapped, etc...). make it cheaper. ( #880 )
2023-02-08 12:50:44 +07:00
Alex Sharov
9d7928f2d3
e3: to fix test ( #879 )
2023-02-06 09:54:30 +07:00
Alex Sharov
4344efa765
e3: more mergeFiles tests, refcnt for LocalityIndex ( #878 )
2023-02-03 19:14:34 +07:00
ledgerwatch
1a14cfd7e7
support for eth/68 in transaction pool ( #877 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alex Sharp <alexsharp@surfer-172-29-1-65-hotspot.internet-for-guests.com>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-01 21:50:37 +00:00
Andrew Ashikhmin
e879377319
Fix index out of range in TxPool.best ( #876 )
...
This should fix
```
CLMocker: Could not getPayload (a55589c9, 0x0000000000000003): runtime error: index out of range [15] with length 15, trace: [stageloop.go:262 panic.go:884 panic.go:113 pool.go:670 pool.go:677 pool.go:699 stage_mining_exec.go:204 kv_mdbx.go:622 stage_mining_exec.go:199 stage_mining_exec.go:135 stagebuilder.go:41 sync.go:353 sync.go:255 stageloop.go:275 backend.go:518 block_builder.go:30 asm_amd64.s:1594]
```
which I occasionally observed in my Hive test runs.
2023-02-01 16:27:43 +01:00
Alex Sharov
c6d823dae0
e3: last reader to close/remove merged files (marked as canDelete
) inside tx.Rollback() ( #869 )
2023-02-01 15:44:11 +07:00
Alex Sharov
6f6764ee01
e3: indices wal - to reuse etl collector ( #875 )
2023-02-01 10:02:26 +07:00
Alex Sharov
3ffac6dc33
etl: support reuse of collector after load ( #873 )
2023-02-01 09:57:30 +07:00
Andrew Ashikhmin
5b322707cb
Revert "Revert "little additions to chain/chain_config to support eip… ( #874 )
...
…-4844" (#872 )"
Restore PR #848 since `shardingForkTime` is useful for compatibility
with EIP-4844-devnet-4.
2023-01-31 18:20:30 +01:00
Andrew Ashikhmin
b594e6cdbf
Revert "little additions to chain/chain_config to support eip-4844" ( #872 )
...
Because [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844 ) is the main
feature of the
[Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md )
upgrade, it makes sense to use Cancun as the fork for it instead of some
artificial one.
This reverts PR #848 .
2023-01-30 18:21:41 +01:00
Andrew Ashikhmin
a7cbc100e1
Remove Starknet stuff ( #871 )
2023-01-30 18:10:21 +01:00
Alex Sharov
ffc4dc71d6
E3 small rename3 ( #868 )
2023-01-29 11:32:26 +07:00
Alex Sharov
3e82f0fc87
e3: small rename ( #867 )
2023-01-29 10:56:01 +07:00
Alex Sharov
96db46b3ed
e3: small rename ( #866 )
2023-01-29 10:47:04 +07:00
Alex Sharov
bc136bd0f5
e3: eth_getModifiedAccountsByNumber ( #865 )
2023-01-29 10:10:28 +07:00
nanevardanyan
a1ac65bc07
kv: added transactionsV3 to the accessors config ( #864 )
2023-01-29 10:00:42 +07:00
Alex Sharov
206fbadf9c
iter: filter tests ( #862 )
2023-01-28 12:03:20 +07:00
Alex Sharov
c76b46a8ec
grpc minor version up ( #861 )
2023-01-27 20:20:18 +07:00
Alex Sharov
040fefda7b
e3: ots underflow fixes ( #860 )
2023-01-27 14:40:29 +07:00
Alex Sharov
3f234f90d0
e3: ots some underflow fixes ( #859 )
2023-01-27 14:16:08 +07:00
Alex Sharov
775989d068
move math big constants to erigon-lib ( #858 )
2023-01-27 11:39:38 +07:00
Andrew Ashikhmin
31b020d9c7
Remove PassivePeers ( #857 )
...
See https://github.com/ledgerwatch/erigon/pull/6710
2023-01-26 14:07:17 +01:00
Andrew Ashikhmin
8663a835ad
common.Address & Hash in AccessTuple ( #856 )
2023-01-26 11:53:50 +01:00
Alex Sharov
4577ab4559
e3: trace_filter on iter ( #855 )
2023-01-26 17:24:26 +07:00
Alex Sharov
8861f19b11
e3: ots_getContractCreator ( #854 )
2023-01-26 16:34:57 +07:00