Igor Mandrigin
997b995191
linters3
2020-09-11 18:15:33 +02:00
Igor Mandrigin
49d84c33b9
linters2
2020-09-11 18:14:24 +02:00
Igor Mandrigin
eb226f9de3
linter1
2020-09-11 18:12:39 +02:00
Igor Mandrigin
fca3684095
fix tests (simulated_backend)
2020-09-11 18:02:55 +02:00
Igor Mandrigin
9bc57439be
fix tests (downloader)
2020-09-11 17:36:59 +02:00
Igor Mandrigin
17d0b20a94
compile fixes
2020-09-11 16:53:34 +02:00
Igor Mandrigin
6aa334f672
post-merge fixups
2020-09-11 16:46:24 +02:00
Igor Mandrigin
dc9460bbaf
fixups
2020-09-11 16:45:11 +02:00
Péter Szilágyi
20ec4436e2
params: release Geth v1.9.21
...
# Conflicts:
# params/version.go
2020-09-11 16:30:35 +02:00
Péter Szilágyi
329badfa76
params: update CHTs for v1.9.21 release
2020-09-11 16:30:00 +02:00
Guillaume Ballet
27ec5da6c2
.github: remove whisper from CODEOWNERS ( #21527 )
2020-09-11 16:29:50 +02:00
Martin Holst Swende
4565650f1e
accounts/usbwallet, signer/core: show accounts from ledger legacy derivation paths ( #21517 )
...
* accounts/usbwallet, signer/core: un-hide accounts from ledger legacy derivation paths
* Update accounts/usbwallet/wallet.go
* Update signer/core/api.go
* Update signer/core/api.go
2020-09-11 16:29:31 +02:00
Guillaume Ballet
3c28a21d80
whisper: remove whisper ( #21487 )
...
* whisper: remove whisper
* Update cmd/geth/config.go
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
* cmd/geth: warn on enabling whisper + remove more whisper deps
* mobile: remove all whisper references
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Martin Holst Swende <martin@swende.se>
# Conflicts:
# cmd/geth/config.go
# cmd/geth/consolecmd_test.go
# cmd/geth/usage.go
# cmd/utils/flags.go
# mobile/geth.go
# mobile/types.go
2020-09-11 16:29:21 +02:00
Osoro Bironga
a953a7f330
accounts: abi/bid/backends; cleaned doc errors, camelCase refactors and anonymous variable assignments ( #21514 )
...
Co-authored-by: Osoro Bironga <osoro@doctaroo.com>
# Conflicts:
# accounts/abi/bind/backends/simulated.go
# accounts/abi/bind/backends/simulated_test.go
2020-09-11 16:26:59 +02:00
Marius van der Wijden
369c868f9b
eth: added trace_call to trace on top of arbitrary blocks ( #21338 )
...
* eth: Added TraceTransactionPending
* eth: Implement Trace_Call, remove traceTxPending
* eth: debug_call -> debug_traceCall, recompute tx environment if pruned
* eth: fix nil panic
* eth: improve block retrieving logic in tracers
* internal/web3ext: add debug_traceCall to console
# Conflicts:
# eth/api.go
# eth/api_tracer.go
2020-09-11 16:25:13 +02:00
Péter Szilágyi
451f2a59ac
core, eth, trie: prepare trie sync for path based operation
...
# Conflicts:
# core/state/sync_test.go
# eth/downloader/statesync.go
# trie/secure_trie.go
# trie/sync.go
# trie/sync_test.go
# trie/trie.go
2020-09-11 16:23:03 +02:00
Martin Holst Swende
ea8fe080b3
eth/downloader: change intial download size ( #21366 )
...
This changes how the downloader works, a little bit. Previously, when block sync started,
we immediately started filling up to 8192 blocks. Usually this is fine, blocks are small
in the early numbers. The threshold then is lowered as we measure the size of the blocks
that are filled.
However, if the node is shut down and restarts syncing while we're in a heavy segment,
that might be bad. This PR introduces a more conservative initial threshold of 2K blocks
instead.
# Conflicts:
# eth/downloader/downloader.go
# eth/downloader/downloader_test.go
# eth/downloader/testchain_test.go
2020-09-11 16:22:10 +02:00
ucwong
2587671b2f
go.mod : update goja dependency ( #21432 )
2020-09-11 16:06:07 +02:00
Giuseppe Bertone
b2f258f55f
"Downloader queue stats" is now provided once per minute ( #21455 )
...
* "Downloader queue stats" is now a DEBUG information
I think this info is more a DEBUG related information then an INFO. If it must remains an INFO, maybe it can be slow down to one time every 5 minutes or so.
* Update queue.go
"Downloader queue stats" information is now provided once every minute instead of once every 10 seconds.
2020-09-11 16:05:59 +02:00
Hanjiang Yu
125f37532f
internal: fix personal.sign() ( #21503 )
2020-09-11 16:05:42 +02:00
Fuyang Deng
e71b99ae9a
accounts/abi: fix a bug in getTypeSize method ( #21501 )
...
* accounts/abi: fix a bug in getTypeSize method
e.g. for "Tuple[2]" type, the element of the array is a tuple type and the size of the tuple may not be 32.
* accounts/abi: add unit test of getTypeSize method
2020-09-11 16:05:31 +02:00
Felix Lange
3e48b6e444
rpc: fix issue with null JSON-RPC messages ( #21497 )
2020-09-11 16:04:59 +02:00
libotony
3825fcaf73
eth/tracers: revert reason in call_tracer + error for failed internal calls ( #21387 )
...
* tests: add testdata of call tracer
* eth/tracers: return revert reason in call_tracer
* eth/tracers: regenerate assets
* eth/tracers: add error message even if no exec occurrs, fixes #21438
Co-authored-by: Martin Holst Swende <martin@swende.se>
2020-09-11 16:04:51 +02:00
Marius van der Wijden
4b8f938436
eth: updated comments ( #21490 )
...
# Conflicts:
# eth/api.go
2020-09-11 16:04:25 +02:00
Péter Szilágyi
313c969c3e
core/state, eth, trie: stabilize memory use, fix memory leak
...
# Conflicts:
# core/state/statedb.go
# core/state/sync.go
# eth/downloader/downloader.go
# trie/committer.go
# trie/sync.go
# trie/trie.go
# trie/trie_test.go
2020-09-11 16:01:27 +02:00
Marius van der Wijden
2765d0b939
accounts/abi/bind/backends: Disallow AdjustTime for non-empty blocks ( #21334 )
...
* accounts/abi/bind/backends: Disallow timeshift for non-empty blocks
* accounts/abi/bind/backends: added tests for adjust time
* accounts/abi/bind/simulated: added comments, fixed test for AdjustTime
* accounts/abi/bind/backends: updated comment
# Conflicts:
# accounts/abi/bind/backends/simulated.go
2020-09-11 15:59:35 +02:00
Felix Lange
13a3578f88
params: begin v1.9.21 release cycle
...
# Conflicts:
# params/version.go
2020-09-11 15:57:18 +02:00
Igor Mandrigin
b570d027e7
add to-merge
2020-09-11 15:56:34 +02:00
Thomas Jay Rush
3f18b9eaa3
1074 web3 client version ( #1094 )
...
* Removed old TODOs
* Adding support for web3_clientVersion and web3_sha3
* Fixing formatting
* Adding new endpoints to README
* Responding to comments by removing date from compile-time values
2020-09-11 14:12:38 +01:00
Alex Sharov
ef07d09b1f
integration_write_receipts ( #1098 )
2020-09-11 17:33:46 +07:00
Alex Sharov
b76661cd25
Revert "integration_write_receipts ( #1096 )" ( #1097 )
...
This reverts commit 7a1285bf3c
.
2020-09-11 15:32:45 +07:00
Alex Sharov
7a1285bf3c
integration_write_receipts ( #1096 )
2020-09-11 15:28:28 +07:00
ledgerwatch
ab4c456fec
Headers poc 3 - intermediate changes ( #1093 )
...
* Use log instead of Printf
* Better output
* Display NewBlockHeadersMsg
* Print tx hashes
* Separate sentry and downloader
* Fix lint
* Requesting headers
* Fix lint
* Prevent deadlock, fix NPE
* Not quit when did not restore
* Fix types
* Fix types again
* Warn on penalty
* Prints
* Avoid deadlock
* Better request logic
* Print height
* Actually send header requests
* Actually send header request
* Fix compile errors, sending
* Print BlockHeadersMsg
* Fix lint
2020-09-11 07:35:51 +01:00
Alex Sharov
62fe81e4be
IH stage speedup and lmdb custom comparators support ( #1080 )
...
* etl.Loader - allow use of custom comparator
* log timing
* try now
* try now
* more performance
* etl.Loader - allow use of custom comparator
* working version
* simplify IH cursor
* clean
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* clean
* add only unwind support
* squash
* squash
* clean
* fix test
* clean
* clean
* clean
2020-09-10 13:35:58 +01:00
Igor Mandrigin
316aeffa13
delete a leftover file
2020-09-10 14:23:41 +02:00
Igor Mandrigin
18197b9e13
Disable IPC and remove flags for it ( #1092 )
...
* always disable IPC
* remove ipc flags from `DefaultFlags`
2020-09-10 14:01:51 +02:00
Igor Mandrigin
bbb01d86ac
begin 2020.09.03 release cycle
2020-09-10 12:59:36 +02:00
Igor Mandrigin
0299475a3c
update skip_analysis
2020-09-10 12:53:12 +02:00
Alex Sharov
84b52a5547
rpc daemon: log request params on debug verbosity ( #1087 )
...
* rpc_daemon_access_log
* rpc_daemon_access_log
* clean
* remove response
* remove accesslog concept
* clean
2020-09-09 21:21:19 +01:00
b00ris
bdb7832a59
[lmdb] Stop force sync for ReadOnly mode ( #1088 )
...
* fix warning
* fix log
2020-09-09 21:07:19 +01:00
Alex Sharov
fd9c7c3b2d
kill bolt ( #1085 )
...
* kill bolt
* kill bolt
* fix test
* clean
2020-09-09 11:09:55 +01:00
ledgerwatch
7a84a5b8cc
Increase call timeout for 5 minutes ( #1082 )
2020-09-08 20:40:01 +01:00
Alex Sharov
da31494cc3
transactional migrations ( #1079 )
2020-09-08 20:39:43 +01:00
Thomas Jay Rush
7f1e7d5212
1073 eth get transaction by block number and index ( #1083 )
...
* Added missing README entry for getTransactionByHash
* Adding support for eth_getTransactioBy* RPC routines
* Added missing README entry for getTransactionByHash
* Adding support for eth_getTransactioBy* RPC routines
* Copying code from ./internal/ethapi/api.go with modifications
2020-09-08 20:39:31 +01:00
Alex Sharov
c45a710ce6
Warmup logs, less overhead, warmup code bucket ( #1054 )
...
* warmup logs and less overhead.
* warmup logs and less overhead.
* move WarmUp to common func
2020-09-08 08:28:37 +01:00
Alex Sharov
9d29a4b480
log_all_stages_timings ( #1078 )
...
* log_all_stages_timings
* clean
2020-09-08 07:19:25 +01:00
b00ris
23e995838f
Fix readonly mode ( #1077 )
...
* fix readonly mode
* fix vet
2020-09-08 07:19:06 +01:00
Alex Sharov
50d13fd9a8
increase tx limit ( #1047 )
2020-09-08 07:09:33 +01:00
ledgerwatch
256e4262e1
2nd batch of Headers PoC changes ( #1067 )
...
* PoC utility
* Headers cmd
* headers download command
* Fix lint
* Send handshake
* Receive Status message
* Better error messages
* Messages
* Fix
* Fix lint
* Print block number for NewBlockMsg
* Fix lint
2020-09-07 07:03:12 +01:00
Alex Sharov
afe808c88e
time based reopen tx ( #1069 )
2020-09-07 12:47:08 +07:00