Commit Graph

1463 Commits

Author SHA1 Message Date
alex.sharov
a80171e5f6 pool fuzz bigger corpus 2023-06-20 12:03:43 +07:00
Alex Sharov
0610e2e323
e3: idx range method (#1028) 2023-06-20 03:57:25 +00:00
Alex Sharov
9090990e16
e3: simplify unwind (#1027) 2023-06-19 06:42:15 +00:00
Alex Sharov
43e3155ed0
e3: simplify unwind (#1026) 2023-06-19 04:48:14 +00:00
Alex Sharov
95623f4aa5
faster opening of snapshots and indices (#1025)
- mostly by MADV_SEQUENTIAL during opening
2023-06-19 04:34:12 +00:00
Alex Sharov
9858eb8a58
up NAT STUN lib (#1024) 2023-06-17 02:38:31 +00:00
Alex Sharov
8974fbd05a
Enforce blockReader interface (#1023) 2023-06-15 06:11:49 +00:00
Andrew Ashikhmin
f87b4cd9de
Introduce BitLenToByteLen (#1022) 2023-06-14 12:22:13 +00:00
Alex Sharov
d8ec94194e
Crypto lib up (#1021) 2023-06-14 03:42:44 +00:00
Alex Sharov
84285ebf2c
sys lib version up (#1020) 2023-06-13 07:29:49 +00:00
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