Commit Graph

1442 Commits

Author SHA1 Message Date
Andrew Ashikhmin
a5a2971b93
EIP-4844: add data_gas_used (#1006)
Pick up https://github.com/ledgerwatch/interfaces/pull/172
2023-06-02 11:04:58 +00:00
Andrew Ashikhmin
f166e7deb7
Merge EngineGetPayloadWithBlobs into EngineGetPayload (#1010)
Pick up https://github.com/ledgerwatch/interfaces/pull/173
2023-06-02 10:27:15 +00:00
Alex Sharov
2a6cc6c0c1
e3: release some e4 parts (#1009) 2023-06-02 03:55:23 +00:00
Alex Sharov
6cde9b9046
e3: release some e4 parts (#1008) 2023-06-02 03:35:28 +00:00
Alex Sharov
2ae7b51de9
e3: move kvlist to erigon-lib (#1007) 2023-06-02 02:51:03 +00:00
alex.sharov
1a7aac338e save 2023-06-02 08:15:18 +07:00
Alex Sharov
4935e56e9a
fix nil ptr in close() (#1005) 2023-06-01 09:10:34 +00:00
Alex Sharov
9a408d5d41
Downloader fix no race between .Download() and .Stats() (#1004) 2023-06-01 09:04:06 +00:00
Alex Sharov
f1e19f0712
etl: collector.close nil ptr fix (#1003) 2023-06-01 09:00:00 +00:00
Manav Darji
c7c31ee01f
PIP12: Add bor configs for time based StateSync confirmation delay (#1002)
This PR adds configs for Indore hardfork required for [PIP
12](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-12.md)
2023-05-29 13:11:21 +00:00
Alex Sharov
03566808a0
torrent-related goroutine leack (#999) 2023-05-26 10:33:16 +00:00
ledgerwatch
f2d93b959b
Introduce separate logging for etl functions (#998)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-18 19:55:02 +00:00
alex.sharov
b6fecb3c30 go mod tidy 2023-05-18 10:45:52 +07:00
alex.sharov
f794be0266 go mod tidy 2023-05-18 09:45:31 +07:00
Alex Sharov
7b91b91ad5
downloader: speedup "--downloader.verify" mode (#997)
deduplicate logic
create more producer goroutines (torrent lib does limiting internally
amount of consumers/disk-readers/hashers by 2, and it's enough because
we can verify multiple files in parallel)
move flag from "downloader torrent_hashes --verify" to "downloader
--verify"
2023-05-17 09:52:34 +00:00
Alex Sharov
cf41b09ed2
remove "db" log line from (#995) 2023-05-14 01:42:51 +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
Roberto Bayardo
a11513d0e4
update ssz.go with latest changes (#991)
cl/cltypes/ssz.go in the erigon client repo changed before I had the
chance to remove it
2023-05-11 02:05:31 +00:00
ledgerwatch
1113e19aca
Separate logs for kv/remotedbserver (#993)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-10 16:09:09 +00:00
Alex Sharov
160ecd927e
reduce default --db.size.limit from 7 to 3 Tb (to fit defaults of some systems) (#992) 2023-05-10 02:43:17 +00:00
Alex Sharov
0e2883bf3f
LeakDetector: use it to find which resource was created but not closed (leaked) (#990) 2023-05-08 05:22:24 +00:00
Roberto Bayardo
dce2daa144
move ssz from erigon/cl/cltypes to erigon-lib/types (#989)
This moves the files in erigon/cl/cltypes/ssz and
erigon/cl/cltypes/clonable into erigon-lib so we can start sharing ssz
parsing code across the txpool parser and the client parser.
2023-05-08 03:41:11 +00:00
a
7b16970501
fix panic handler in NewCompressor (#987)
currently if newdecompressor panics, it will return nil, nil

this should make it return an error instead
2023-05-08 03:40:38 +00:00
Giulio rebuffo
be83bbc58f
updated sentinel (#988) 2023-05-08 03:38:05 +00:00
Andrew Ashikhmin
8d1ae3db32
[interfaces] Header mix_digest -> prev_randao (#986)
Pick up https://github.com/ledgerwatch/interfaces/pull/169
2023-05-05 15:52:10 +00:00
alex.sharov
9a4582989a aggV3.rotate() unlock in defer to prevent deadlock 2023-05-05 11:08:37 +07:00
Alex Sharov
f90337dbe5
up urwafe and docker version (#985) 2023-05-04 03:48:24 +00:00
Roberto Bayardo
b182304fe4
add kzg context to erigon-lib (#984)
Both the core erigon client and the erigon-lib txpool need to access kzg
functionality for EIP-4844, so moving this here where it can be reused
across both.
2023-05-03 06:42:21 +00:00
Alex Sharov
1e70a0a4ee
e3: rethink meaning of kv_temporal.BeginRw() (#983) 2023-04-30 03:08:39 +00:00
Giulio rebuffo
2b8be891a8
Added peer id to request (#982) 2023-04-29 19:32:01 +00:00
Alex Sharov
546a2a4ccd
erigon backup: v0 of sub-command (#980) 2023-04-27 03:41:17 +00:00
Alex Sharov
6e8c55239a
e3: log slow (unclosed) contexts to detect leaks (#979) 2023-04-24 05:52:21 +00:00
alex.sharov
16d5e77056 save 2023-04-24 10:04:23 +07:00
Alex Sharov
b1183da945
e3: remove files when no readers (#978) 2023-04-23 04:55:13 +00:00
alex.sharov
d2c9459ef6 clean 2023-04-21 10:49:30 +07:00
Alex Sharov
9cdea8f079
e3: remove garbage files (#977) 2023-04-21 02:49:49 +00:00
Alex Sharov
ba7424f435
e3: move staticFilesInRange method to ctx (#974) 2023-04-18 06:04:44 +00:00
Alex Sharov
0d918d9f7d
add flag --db.size.limit (#973) 2023-04-17 12:49:08 +00:00
Alex Sharov
1e2a52df39
e3: in-general merge must not see "overlaps/deleted" files, but merge of history need access to corresponding index files (even if they marked as deleted or already merged - before kill -9) (#972) 2023-04-17 05:54:15 +00:00
Andrew Ashikhmin
02f5f7be32
PosdaoBlock is no longer needed (#971)
`PosdaoBlock` is no longer necessary after
https://github.com/ledgerwatch/erigon/pull/7312
2023-04-14 09:45:12 +00:00
Andrew Ashikhmin
a693a911a6
Turn AuRaConfig into useful JsonSpec (#970) 2023-04-14 06:35:33 +00:00
Andrew Ashikhmin
a6e2d936a3
Remove Parlia (#969) 2023-04-13 20:56:49 +00:00
Andrew Ashikhmin
378cdc28fd
Move hexutil.Bytes to erigon-lib (#968) 2023-04-13 11:18:41 +00:00
Andrew Ashikhmin
9ef1a57e84
[interfaces] lower_snake_case field names (#967)
Pick up https://github.com/ledgerwatch/interfaces/pull/163
2023-04-12 09:59:02 +00:00
alex.sharov
34d5c79362 fix log usage 2023-04-07 15:54:55 +07:00
omahs
0d45034fbb
Fix: typos (#966)
Fix: typos
2023-04-07 02:06:34 +00:00
Jochen Müller
af35813a3b
Txpool refactoring: Replace added/adding attributes of SubPool (#943) 2023-04-05 14:11:55 +00:00
Alex Sharov
1cd35c810f
e3: print background indexing logs in e2 style (summary of all files progress in 1 line) (#965) 2023-04-05 04:49:05 +00:00
Alex Sharov
b5720724fa
switch to lruv2 (#964) 2023-04-03 03:19:26 +00:00
Andrew Ashikhmin
92996dab18
Remove ShardingForkTime in favour of CancunTime (#963)
[EIP-4844](https://eips.ethereum.org/EIPS/eip-4844) is officially
included into
Deneb/[Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md)
("Dencun") now.
2023-03-31 08:41:08 +00:00