Alex Sharov
9fa56d97ea
kv_mdbx: don't use defer
for wg.Add(). not necessary and sometime it checking invalid err
variable ( #1019 )
2023-06-13 03:57:11 +00:00
Alex Sharov
2c89914c25
e3: move domains to tables.go ( #1018 )
2023-06-11 14:12:07 +00:00
Alex Sharov
dfdc66dfeb
mdbx: tx.Get - avoid interface casting ( #1017 )
2023-06-11 02:45:41 +00:00
alex.sharov
f3edece0bc
docs: cursor dupsort example
2023-06-09 21:41:06 +07:00
Alex Sharov
0ca1ba48e7
lru lib version up ( #1016 )
2023-06-09 06:46:56 +00:00
Andrew Ashikhmin
42c9c28cac
Update go-kzg-4844 to v0.3.0 ( #1015 )
...
[v0.3.0](https://github.com/crate-crypto/go-kzg-4844/releases/tag/v0.3.0 )
switches precompile input's z and y to big endian according to
https://github.com/ethereum/EIPs/pull/7020 .
2023-06-07 15:29:33 +00:00
Alex Sharov
cf4bdbdf26
e3: agg generalize PutIdx method ( #1014 )
2023-06-06 04:29:29 +00:00
Alex Sharov
8f2e5802dd
Store Canonical/NonCanonical/Bad blocks/senders/txs in same tables. Make re-org cheaper. ( #1013 )
2023-06-05 05:36:54 +00:00
alex.sharov
52fb055974
save
2023-06-05 11:43:40 +07:00
Alex Sharov
346dbd9261
linter version up ( #1012 )
2023-06-04 02:51:08 +00:00
Alex Sharov
7740d9b8ad
torrent lib version up ( #1011 )
2023-06-03 01:07:26 +00:00
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