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
ledgerwatch
0f64df626a
Util to dump state ( #2159 )
...
* Util to dump state
* Extract bodies info
* Fix for extractBodies
* Fix typo
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-14 07:34:36 +01:00
ledgerwatch
c4cfd84b6d
Not to remove TD records on failed blocks ( #2155 )
...
* Not to remove TD records on failed blocks
* Commit tx when stopped
* Not to mess up stageloop commits
* Stop
* Fix header unwinds
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-13 21:48:40 +01:00
mempirate
89edfe39db
Add --maxpeers cli option ( #2150 ) ( #2158 )
...
* add --maxpeers cli options (#2150 )
* cleanup
2021-06-13 21:14:52 +01:00
BitBaseBit
7ed337cdcc
Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. ( #2153 )
...
* implemented crash reporting for all goroutine panics that aren't handled explicitly
* implemented crash reporting for all goroutine panics that aren't handled explicitly
* changed node defaults back to originals after testing
* implemented panic handling for all goroutines that don't explicitly handle them, outputting the stack trace to a file in crashreports
* handling panics on all goroutines gracefully
* updated missing call
* error assignment
* implemented suggestions
* path.Join added
* implemented Evgeny's suggestions
* changed path.Join to filepath.Join for cross-platform
* added err check
* updated RecoverStackTrace to LogPanic
* updated closures
* removed call of common.Go to some goroutines
* updated scope capture
* removed testing files
* reverted back to original method, I feel like its less intrusive
* update filename for clarity
2021-06-13 17:41:39 +01:00
ledgerwatch
74862ce607
Upgrade tests to 9.0.2 ( #2147 )
...
* Upgrade tests to 9.0.1
* Fix gas limit rule
* Clean up output
* Update testdata
* Fix tip assigment
* Fix genesis discrepancy
* Skip typeTwo berlin test
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-13 14:01:11 +01:00
ledgerwatch
e29e76988b
Update backend.go ( #2152 )
2021-06-12 14:58:44 +01:00
Evgeny Danilenko
4928de2280
Downloader panics on nil parentTd ( #2148 )
...
* fix
* restore testdata
2021-06-11 16:41:24 +01:00
Alex Sharov
925d17a238
remove lmdb from hack, integration, state packages. remove lmdb dbtools ( #2146 )
2021-06-11 20:31:37 +07:00
Alex Sharov
e7b56358d3
Mdbx reproducible build ( #2145 )
...
* save
* save
* save
2021-06-11 14:04:12 +01:00
ledgerwatch
d1e4edb180
Better compatibility with OE for trace_call and trace_callMany ( #2137 )
...
* Better compatibility for trace_call
* Also for trace_callMany
* non canonical hash error
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-11 13:19:10 +01:00
Marin Ivanov
5226d98379
Add ws.compression flag to rpcdaemon ( #2143 )
...
* Add ws.compression flag to rpcdaemon
* Fix WebSocketHandler in tests
2021-06-11 10:21:39 +01:00
ledgerwatch
b5edbe272f
Update stage_tevm.go ( #2144 )
2021-06-11 10:11:23 +01:00
Alex Sharov
e1ad20460c
Less obj db in snapshot ( #2142 )
...
* less obj db in snapshot
* less obj db in snapshot
* save
2021-06-11 09:35:26 +01:00
Alex Sharov
7b08a3b138
tevm_open_cursor_after_commit ( #2141 )
2021-06-11 09:35:00 +01:00
Alex Sharov
eedabfca85
txpool_content ( #2127 )
...
* txpool_content
* txpool_content
* txpool_content
* txpool_content
* Squashed 'interfaces/' content from commit 1e916d013
git-subtree-dir: interfaces
git-subtree-split: 1e916d0137aff7bd9e9356cc203cea5f0ea9c7f1
* add test
* add test
* add test
* merge devel
* save
2021-06-11 09:34:47 +01:00
Alex Sharov
ba56e7a139
extract p2p config out of sentry ( #2126 )
...
* extract p2p config out of sentry
* extract p2p config out of sentry
* extract p2p config out of sentry
* rebase devel
* rebase devel
* add bootnodes to sentry
* add bootnodes to sentry
2021-06-11 09:34:37 +01:00
Evgeny Danilenko
de26634d8d
TEVM status pruning ( #2034 )
...
* use trace for TEVM status
* restore testdata
* fix getting contract from plain state
* unwind
* linters
* reproducible build debug
* debug
* debug
* remove debug
2021-06-11 09:34:25 +01:00
Evgeny Danilenko
20ff2c5d65
EVM test deadlock ( #2136 )
...
* fix EVM test deadlock
* set stateRoot even in case of an error
2021-06-10 16:45:45 +01:00
Igor Mandrigin
b2e798e948
begin 2021.06.04 release cycle
2021-06-10 12:45:31 +02:00
ledgerwatch
22d96a602e
Update skip_analysis.go ( #2133 )
2021-06-10 12:42:33 +02:00
Andrew Ashikhmin
d848685c8e
More tests for Intermediate Hashes: storage, extension node exclusion ( #2128 )
...
* Test trie_storage layout as well
* FromHex instead of Hex2Bytes
* TestAccountTrieAroundExtensionNode
* Expand TestAccountTrieAroundExtensionNode
2021-06-10 09:19:57 +01:00
Alex Sharov
77aba80d8b
fix p2p nodeName ( #2129 )
2021-06-10 08:53:06 +07:00
Alex Sharov
de7d5a94f6
Update Readme.md
2021-06-10 07:50:20 +07:00
Alex Sharov
8abf0317c9
Update Readme.md
2021-06-10 07:49:02 +07:00
ledgerwatch
aae8fddaee
Update README.md ( #2125 )
2021-06-09 11:20:46 +01:00
Alex Sharov
9637d74c72
More correct rlp of Sokol headers ( #2124 )
...
* save
* better rlp support
* save
2021-06-09 08:20:47 +01:00
ledgerwatch
54ecdd6536
Add files via upload
2021-06-08 16:38:42 +01:00
ledgerwatch
657a8b13df
Do not remove headers when unwinding ( #2122 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-08 16:16:27 +01:00
Alex Sharov
338fc0df26
move snapshot config to constructor ( #2121 )
2021-06-08 09:43:41 +07:00
Alex Sharov
0b17e5dc94
return mem metrics ( #2117 )
2021-06-07 21:18:40 +07:00
alex.sharov
f43643edde
more cgo checks on ci
2021-06-07 21:18:16 +07:00
Alex Sharov
40eaf77eb8
Sokol genesis and chainconfig ( #2116 )
...
* sokol init
* test
* precompiles
* precompiles
* add code
* sokol test
* save
* save
* save
* save
* save
* save
2021-06-07 12:01:54 +01:00
Alex Sharov
ccc028daf6
Fix clique snapshot err check ( #2115 )
...
* save
* save
* save
* save
2021-06-07 12:00:38 +01:00
ledgerwatch
c2c63a3715
Clean up DefaultStages ( #2114 )
...
* Clean up DefaultStages
* Fix compile
* Fix compile
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-07 12:00:16 +01:00
ledgerwatch
73bb98f686
Move tests 6 ( #2107 )
...
* Move tests 6
* Compile fixes
* Fix lint
* Compile fixes
* Fix compile
* compile fixes
* Compile fix
* Fix consesus/clique
* Cleanup
* Add gas limit
* Print
* Prints
* More print
* Fix
* Reinstate TestGetBlockReceipts66
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-06 22:44:14 +01:00
Alex Sharov
b0c9862ed3
Update db_faq.md
2021-06-06 20:28:14 +07:00
Alex Sharov
82b620f4f0
Update README.md
2021-06-06 20:27:01 +07:00
alex.sharov
3aeb186bd1
db faq about RAM
2021-06-06 20:02:15 +07:00