ledgerwatch
ab685e90d9
Improvement to the trimTxs ( #2215 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-22 08:35:34 +01:00
ledgerwatch
a79ed2fe0b
Utilities to fix DB corruption ( #2214 )
...
* Detect broken ancestry
* Print last canonical headers
* Add backExec
* Cleanup
* Add unwind util
* Add trimTxs utility
* Actually delete tx records
* Avoid infinite loop
* Change strategy
* Close cursor after commmit
* Fix RwBegin issue
* 10m records per transaction
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-21 21:52:51 +01:00
Alex Sharov
7d1e17712f
don't create block context twice ( #2213 )
2021-06-21 19:54:41 +01:00
Alex Sharov
99c770c51b
tx.AsMessage was called twice ( #2209 )
...
* tx.AsMessage was called twice
* noopWriter - one is enough
2021-06-21 06:56:56 +01:00
ledgerwatch
04943eaa52
Fix for state corruption without performance regression ( #2208 )
...
* extractHeaders
* Print diff
* Fix for state corruption without performance regression
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-21 06:56:45 +01:00
Artem Vorotnikov
72e9a34365
Remove unused tables, soft rename, take 3 ( #2207 )
...
* Remove unused tables, soft rename, take 3
* Bump db schema version
* nil check in migration
2021-06-20 20:46:57 +01:00
Artem Vorotnikov
504c31e97a
Revert "Remove unused tables, soft rename" ( #2205 )
2021-06-20 15:08:48 +01:00
Artem Vorotnikov
989a8305f2
Print Mgas/second during execution ( #2204 )
2021-06-20 09:36:42 +03:00
Artem Vorotnikov
d8a009837b
Nuke preimage remnants ( #2203 )
2021-06-20 13:00:22 +07:00
Alex Sharov
a535e8f30c
switch to mdbx-go module, and db-tools to libmdbx submodule ( #2199 )
...
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
* move mdbx to submodule
2021-06-19 21:30:12 +01:00
Alex Sharov
4736bac190
save ( #2197 )
2021-06-19 21:29:02 +01:00
Artem Vorotnikov
a9baf37ea1
Remove unused tables, soft rename ( #2201 )
2021-06-19 21:36:21 +03:00
Alex Sharov
353af6c664
up grafana ( #2200 )
2021-06-19 19:38:02 +07:00
Alex Sharov
902f6c097f
fix origin for localhost ( #2198 )
2021-06-19 11:38:45 +01:00
Alex Sharov
4533b59724
flag to stop before stage ( #2194 )
2021-06-19 16:01:33 +07:00
Alex Sharov
bc271f92ce
To break dependency to db implementation - move all db classes to "ethdb/kv" and leave in "ethdb" only interfaces ( #2195 )
2021-06-19 15:21:53 +07:00
Alex Sharov
de24b427bf
save ( #2196 )
2021-06-19 13:32:35 +07:00
ledgerwatch
54dc77af40
Add files via upload
2021-06-18 15:38:00 +01:00
mempirate
ca926ce94d
net_peerCount for remote sentries ( #2192 )
...
* net_peerCount for remote sentries
* cleanup
* Simplify NetPeerCount using SentryClient
* Refactor id -> count
2021-06-18 14:34:15 +01:00
ledgerwatch
535ce8fb9c
Try to solve sentry hanging problem + p2p impovement from geth ( #2191 )
...
* Try to solve sentry hanging problem + p2p impovement from geth
* Fix import
* Finer stream lock
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-18 12:47:46 +01:00
Alex Sharov
e9f510c2b7
erigon as lib ( #2186 )
2021-06-18 10:35:11 +07:00
mempirate
e51b09da0d
Implements net_peerCount RPC call for internal sentries ( #2172 )
...
* Implement API and protobuf
* Squashed 'interfaces/' content from commit cd3eca28e
git-subtree-dir: interfaces
git-subtree-split: cd3eca28e50367af9de52fca863b1d7528bff774
* Implement net_peerCount RPC call
* Squashed 'interfaces/' content from commit cd3eca28e
git-subtree-dir: interfaces
git-subtree-split: cd3eca28e50367af9de52fca863b1d7528bff774
* Fixing merge conflicts
* Remove p2p.Server from Ethereum backend
* Fix peerCount calculation for internal sentries
* Bump eth backend API version
* Update rpcdaemon README
* Document version change
2021-06-17 22:55:20 +01:00
Igor Mandrigin
dd24eb8102
begin 2021.06.05 release cycle
2021-06-17 19:24:18 +02:00
ledgerwatch
249e4112e4
Update skip_analysis.go ( #2189 )
2021-06-17 14:51:38 +01:00
ledgerwatch
a36d5dc2c3
Revert "Remove unused tables, soft rename ( #2180 )" ( #2187 )
...
This reverts commit 1390b3c740
.
2021-06-17 09:35:59 +01:00
ledgerwatch
2f684bbb16
Revert "info" ( #2188 )
...
This reverts commit 470a9918b2
.
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-17 09:35:39 +01:00
alex.sharov
8da40b43ac
Revert "info"
...
This reverts commit 470a9918b2
.
2021-06-17 15:08:19 +07:00
alex.sharov
470a9918b2
info
2021-06-17 13:21:24 +07:00
ledgerwatch
64254f8d1e
Experiment with tests ( #2182 )
...
* Experiment with tests
* Increase test concurrency to 8
* Lower concurrency
* Concurrency back to 2
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-16 20:50:40 +01:00
ledgerwatch
9d03cd4bf4
trace compatibility with OE (sometimes bug for bug) ( #2174 )
...
* Initial investigations
* Add compatibility option, cleanup
* More cleanup
* Better error handling for streaming RPC requests
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-16 18:24:56 +01:00
ledgerwatch
1702ef866d
Add files via upload
2021-06-16 17:26:44 +01:00
ledgerwatch
8a166204b4
Fix for peer not found messages ( #2181 )
...
* Fix for peer not found messages
* Print proto on disconnects too
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-16 17:18:19 +01:00
Artem Vorotnikov
1390b3c740
Remove unused tables, soft rename ( #2180 )
2021-06-16 16:44:23 +01:00
Artem Vorotnikov
4fa034a306
Fix history test ( #2179 )
2021-06-16 16:20:58 +03:00
Alex Sharov
f63d12405a
Sender stage hangs ( #2177 )
...
* - add context for goroutines shutdown
- use 1 select for all channels to avoid deadlock
* - add context for goroutines shutdown
- use 1 select for all channels to avoid deadlock
- integration: senders to use right chainconfig
2021-06-16 14:04:44 +01:00
BitBaseBit
3a95e1a1c2
add london testnet blocks ( #2178 )
2021-06-16 12:06:55 +01:00
Artem Vorotnikov
af836a6200
Nuke LMDB ( #2167 )
2021-06-16 13:57:58 +03:00
Alex Sharov
372ab9060a
add chain support to ( #2176 )
2021-06-16 11:31:25 +07:00
Alex Sharov
dcf850dd75
fix fieldalignment linter warnings ( #2171 )
2021-06-16 11:00:35 +07:00
Alex Sharov
d7f7445a5e
fix concurrent badHeaders map writes crush ( #2175 )
...
* fix concurrent map writes crush
* fix concurrent map writes crush
2021-06-16 10:58:45 +07:00
BitBaseBit
159777db29
Changed gas price oracle to use effective tip and ignoreUnder parameter for 1559. ( #2173 )
...
* added temp file in crashreports because git is stupid and wont add empty folders
* implemented ignoreUnder + EffectiveGas for legacy and dynamic txs
* implemented changes to gas price oracle for 1559
* switched Cmp to Lt/Gt
2021-06-15 21:45:34 +01:00
Artem Vorotnikov
9a8c0f9669
Always enable eth65 ( #2166 )
...
* Always enable eth65
* Add ListenAddr65 to defaults
2021-06-15 17:57:26 +01:00
Alex Sharov
b160e30652
Send GetBlockHeaders immediately if TD of connected peer >= our TD ( #2169 )
...
* empty engine
* start sync from peer right after handshake if it's TD is higher
* fixCanonicalChain to print logs
* clean
* >
2021-06-15 13:43:55 +01:00
Artem Vorotnikov
cb96a400e5
Increase test timeout to 30m ( #2168 )
2021-06-15 13:41:38 +01:00
Alex Sharov
e583249f23
Tx pool proto up ( #2170 )
2021-06-15 17:59:55 +07:00
Artem Vorotnikov
0a4e0d1fa1
Various code simplificaitons ( #2165 )
...
* simplify randomaccount
* simplify execution unwind
* Remove standalone account accessors
2021-06-14 19:52:30 +01:00
ledgerwatch
2c1fe2a3a7
Restore TD records ( #2164 )
...
* Insert missing TD values
* Print missing TD records
* Fix typo
* Apply fix
* Fixes in execution stage
* Fix tx/sec output
* Advance exec
* Reset unwind
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-14 19:51:57 +01:00
Andrea Lanfranchi
176cc8906c
Update win-build.ps1 ( #2163 )
...
Build ALL erigon's executables
Copy mdbx tools to erigon's bin directory
2021-06-14 13:13:04 +01:00
Alex Sharov
b79823d1b9
create dir for node keyfile ( #2161 )
2021-06-14 07:35:22 +01:00
BitBaseBit
229d6671b9
Added temp file in crashreports because git is stupid ( #2157 )
...
* added temp file in crashreports because git is stupid and wont add empty folders
* added proper creating of crash report dir
* changed crashreports dir to one directory up from datadir
* implemented suggestions
* switched back to 5d651381daf9d12cc663a7326b3b16d7bb4c1aa0 for tests/testdata
2021-06-14 07:35:01 +01:00