Alex Sharov
368c2e4a9f
up gods lib version ( #4217 )
2022-05-20 15:27:48 +07:00
Artem Tsebrovskiy
f4c8f44f61
removed obsolete trie variant ( #4172 )
2022-05-20 15:03:27 +07:00
Alex Sharov
b1b5a319e1
It's safe now to open snapshots at app start ( #4216 )
2022-05-20 14:46:04 +07:00
Alex Sharov
7ecdf51d92
methods to read single txn by txnID ( #4215 )
2022-05-20 14:12:12 +07:00
Alex Sharov
e328049353
Remove dependency on leveldb ( #4213 )
...
* save
* save
* save
* save
* save
* save
2022-05-20 11:24:28 +07:00
Alex Sharov
adc4b1bbb5
Snap: reduced memory footprint on building huffman table ( #4214 )
...
* save
* save
* save
* save
2022-05-20 11:24:19 +07:00
Giulio rebuffo
c66bde2df8
fixed miner.sigfile option ( #4210 )
2022-05-19 20:16:21 +07:00
Alex Sharov
c43ae65bba
Bor: GetTransactionReceipt ( #4209 )
2022-05-19 20:03:58 +07:00
Alex Sharov
ada46b0344
allow snap sync for mumbai chain ( #4208 )
...
* save
* mumbai
2022-05-19 19:31:02 +07:00
Alex Sharov
d9ed307807
allow --syncmode=snap for bor-mainnnet #4206
2022-05-19 18:54:50 +07:00
Alex Sharov
a95d86a99f
allow --syncmode=snap for bor-mainnnet ( #4206 )
...
* save
* save
2022-05-19 18:51:05 +07:00
Alex Sharov
10bcbf4a68
Snap: faster Erigon re-start ( #4201 )
2022-05-19 12:28:33 +07:00
Alex Sharov
2396765c1a
MatchPrefix: limit 2nd loop iterations #458
2022-05-19 12:28:19 +07:00
Alex Sharov
726ef081ce
option to disable runtime.ReadMemStats ( #4200 )
2022-05-19 11:48:07 +07:00
Alex Sharov
64508a7d4e
Snap: call AddHeadersFromSnapshot only at initialCycle ( #4198 )
2022-05-19 10:38:53 +07:00
Giulio rebuffo
52c4846b26
deprecated old status ( #4196 )
2022-05-18 21:33:35 +02:00
ledgerwatch
e40332bdd8
Simplify skeleton requests, limit bor spanCache, more fine grained locking in HeaderDownload ( #4194 )
...
* Simplify skeleton requests
* Limit bor cache size
* In the middle of changing lists
* Fix
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-05-18 17:16:37 +01:00
battlmonstr
25b14edbf6
p2p: STUN external IP detection ( #4195 )
...
--nat stun is an automatic external IP detection alternative to manual --nat extip option.
It can be used both at home or on production servers without any extra setup.
It is fast (up to 5 ms) and more reliable than alternatives (as the request goes to the public internet).
This auto-detection is useful to run multiple instances of a service in cloud environments
where the node IPs are not known in advance.
2022-05-18 16:50:50 +01:00
Giulio rebuffo
1e3ad39202
added FCU hash on proposing ( #4193 )
2022-05-18 09:40:41 +02:00
Alex Sharov
78f1d01a82
Update readme.md ( #4192 )
2022-05-18 13:50:28 +07:00
Alex Sharov
80d1d8a114
Trackers: split file lines cross-platform way #4191
2022-05-18 10:28:14 +07:00
Giulio rebuffo
56fcb19578
fixed slow sync ( #4190 )
2022-05-17 22:41:40 +02:00
Giulio rebuffo
e383aae147
fixed proposing on invalid fcu ( #4189 )
2022-05-17 22:20:57 +02:00
Giulio rebuffo
1a811f0aa1
added latest valid hash ( #4188 )
2022-05-17 21:25:39 +02:00
ledgerwatch
ec08a284a6
Reduce insertQueue usage, throttle Skeleton requests ( #4185 )
...
* Reduce insertQueue usage, throttle Skeleton requests
* Cleanup
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-17 19:31:17 +01:00
Giulio rebuffo
80c562bdd3
0x00... hash resistant ( #4186 )
2022-05-17 20:01:20 +02:00
Giulio rebuffo
12829209c0
fixed bug in proposing ( #4184 )
2022-05-17 18:57:32 +02:00
Giulio rebuffo
23b648d7ce
ops ( #4183 )
2022-05-17 17:44:25 +02:00
Giulio rebuffo
01a98a4582
fixed finalized portion ( #4181 )
2022-05-17 15:26:47 +02:00
Alex Sharov
eb614bca88
nil pointer in admin_nodeInfo #4179
2022-05-17 17:42:49 +07:00
Alex Sharov
55a4fa75b4
HeadersPOS: to use snapshots ( #4178 )
2022-05-17 17:42:34 +07:00
Krishna Upadhyaya
75b93aca47
Updated README ( #4180 )
2022-05-17 17:41:40 +07:00
Håvard Anda Estensen
80c3371e3d
Remove duplicate file extension ( #4177 )
2022-05-17 10:43:30 +01:00
Alex Sharov
d2b4818d41
Decompress: to use less ram ( #4176 )
2022-05-17 15:12:15 +07:00
Håvard Anda Estensen
0a75065e7a
Use go:build lines and remove obsolete +build lines ( #4175 )
2022-05-17 14:46:53 +07:00
Alex Sharov
4e7807251a
Ensure snapshotDir not created by accident ( #4164 )
...
* save
* save
* save
2022-05-17 09:40:45 +07:00
leonardchinonso
3b87f8c726
Fix disabled value for --prune.*
flags ( #4165 )
...
* Changes:
* Proceeded to check if other h, r, t or c flags for 'before' and 'older' are set before returning from the default state of --prune
Concern:
* Does the 'disabled' value for '--prune=' need to be updated if the '--prune.*' flags are set but the '--prune=' flag is not?
* Modify mode.Initialised only when it is changed
* Updated layout for --prune=*
* save
* save
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-05-17 09:31:14 +07:00
Giulio rebuffo
e8a1e64df6
Revert "fixed finalized portion ( #4170 )" ( #4171 )
...
This reverts commit 46f9411e79
.
2022-05-16 23:22:16 +02:00
Giulio rebuffo
46f9411e79
fixed finalized portion ( #4170 )
2022-05-16 23:21:07 +02:00
battlmonstr
24b52393fa
CI: windows-2022 ( #4138 )
...
Use matrix.os in cache keys to not share caches between OS versions:
- runner.os = Windows
- matrix.os = windows-2022
2022-05-16 21:43:00 +01:00
ledgerwatch
a2a494a3d1
Fix eth_feeHistory ( #4168 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-16 21:42:23 +01:00
battlmonstr
d845eb2a69
sentry: refactor eth handshake checks ( #4163 )
2022-05-16 20:28:03 +07:00
battlmonstr
2fd2826b85
p2p: fix flaky TestUDPv5_callTimeoutReset ( #4166 )
...
The test fails sometimes on macOS CI with:
v5_udp_test.go:477: unexpected error: "RPC timeout"
Fixing by increasing the timeout from 120ms to 700ms,
and move the test to the integration suite, because it takes up to 1s now.
2022-05-16 20:24:54 +07:00
battlmonstr
3efcdc420f
lint: silence non-working go 1.18 lint rules ( #4167 )
...
https://github.com/golangci/golangci-lint/issues/2649
WARN [linters context] bodyclose is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649 .
WARN [linters context] gosimple is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649 .
WARN [linters context] staticcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649 .
WARN [linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649 .
WARN [linters context] unused is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649 .
2022-05-16 20:24:31 +07:00
Alex Sharov
e1dec529d4
Generic sort of slices (no allocs, inlinable) ( #4161 )
...
* save
* save
* save
* save
* save
2022-05-16 08:24:12 +01:00
ledgerwatch
24244a09c7
Fix interaction with beacon node ( #4157 )
...
* Fix interaction with beacon node
* Fix logging
* Fix logging and add comments
* Fix logging
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-15 23:32:38 +01:00
ledgerwatch
25208964e5
Export chainspecs into json files ( #4148 )
...
* Export chainspecs into json files
* Add sepolia
* Add more chains
* Extract rest of the chains
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-15 17:37:42 +01:00
ledgerwatch
eef8e4f366
Update skip_analysis.go ( #4156 )
2022-05-15 17:31:16 +01:00
ledgerwatch
7125593cf5
Fix nil deference in ProcessHeadersPOS ( #4155 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-05-15 17:09:27 +01:00
Enrique Jose Avila Asapche
a9ce803c67
No hack skip cycle ( #4147 )
...
* added check method to hd
* goroutine to check if we have headers
* added initial cycle to Ethereum object
* stage loop will only run ones
* got rid of anchor print
* header stage skip cycle message
* increased original time by a 2 seconds
* for inside of stageloop
* simplified
* little fixes
* got rid of skipCycle
* simplified
* hmm
2022-05-15 15:11:18 +01:00