- May 20, 2020
-
-
Hao Duan authored
Co-authored-by:
Hao Duan <duan.hao@hyperchain.cn>
-
gary rong authored
* core: fix missing receipt * core: address comment # Conflicts: # core/blockchain.go
-
Marius van der Wijden authored
* accounts/abi: allow overloaded argument names In solidity it is possible to create the following contract: ``` contract Overloader { struct F { uint _f; uint __f; uint f; } function f(F memory f) public {} } ``` This however resulted in a panic in the abi package. * accounts/abi fixed error handling
-
Marius van der Wijden authored
* accounts/abi/bind: added test cases for waitDeployed * accounts/abi/bind: added test case for boundContract * accounts/abi/bind: removed unnecessary resolve methods * accounts/abi: moved topics from /bind to /abi * accounts/abi/bind: cleaned up format... functions * accounts/abi: improved log message * accounts/abi: added type tests * accounts/abi/bind: remove superfluous template methods # Conflicts: # accounts/abi/bind/bind.go # accounts/abi/topics.go # accounts/abi/topics_test.go
-
gary rong authored
* cmd, miner: add noempty-precommit flag * cmd, miner: get rid of external flag * miner: change bool to atomic int * miner: fix tiny typo Co-authored-by:
Péter Szilágyi <peterke@gmail.com> # Conflicts: # miner/worker.go
-
ucwong authored
-
ucwong authored
* core/rawdb : log format fix for Unindexing transaction * core/rawdb: tiny fixup Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
gary rong authored
* les: drop the message if the entire p2p connection is stuck * les: fix lint # Conflicts: # les/peer.go # les/server_handler.go
-
Martin Holst Swende authored
core: fixup blockchain tests # Conflicts: # core/blockchain_test.go
-
Martin Holst Swende authored
* cmd, core, eth: init tx lookup in background * core/rawdb: tiny log fixes to make it clearer what's happening * core, eth: fix rebase errors * core/rawdb: make reindexing less generic, but more optimal * rlp: implement rlp list iterator * core/rawdb: new implementation of tx indexing/unindex using generic tx iterator and hashing rlp-data * core/rawdb, cmd/utils: fix review concerns * cmd/utils: fix merge issue * core/rawdb: add some log formatting polishes Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com> # Conflicts: # accounts/abi/bind/backends/simulated.go # cmd/geth/main.go # cmd/geth/usage.go # cmd/utils/flags.go # consensus/clique/snapshot_test.go # core/bench_test.go # core/block_validator_test.go # core/blockchain.go # core/blockchain_test.go # core/chain_makers_test.go # core/dao_test.go # core/rawdb/accessors_indexes.go # core/rawdb/schema.go # eth/config.go # eth/helper_test.go # eth/sync.go # light/odr_test.go # light/trie_test.go # light/txpool_test.go # miner/worker_test.go # tests/block_test_util.go
-
Péter Szilágyi authored
-
Felix Lange authored
* p2p: add low port check in dialer We already have a check like this for UDP ports, add a similar one in the dialer. This prevents dials to port zero and it's also an extra layer of protection against spamming HTTP servers. * p2p/discover: use errLowPort in v4 code * p2p: change port check * p2p: add comment * p2p/simulations/adapters: ensure assigned port is in all node records
-
AusIV authored
* core/rawdb: Stop freezer process as part of freezer.Close() When you call db.Close(), it was closing the leveldb database first, then closing the freezer, but never stopping the freezer process. This could cause the freezer to attempt to write to leveldb after leveldb had been closed, leading to a crash with a non-zero exit code. This change adds a quit channel to the freezer, and freezer.Close() will not return until the freezer process has stopped. Additionally, when you call freezerdb.Close(), it will close the AncientStore before closing leveldb, to ensure that the freezer goroutine will be stopped before leveldb is closed. * core/rawdb: Fix formatting for golint * core/rawdb: Use backoff flag to avoid repeating select * core/rawdb: Include accidentally omitted backoff # Conflicts: # core/rawdb/database.go # core/rawdb/freezer.go
-
Martin Holst Swende authored
Fixes #21046
-
Marius van der Wijden authored
* params: remove outdated discv5 bootnodes * cmd/utils: deprecated bootnodesv4/v5 flags # Conflicts: # mobile/params.go
-
gary rong authored
* accounts/abi/bind/backend, internal/ethapi: recap gas limit with balance * accounts, internal: address comment and fix lint * accounts, internal: extend log message * tiny nits to format hexutil.Big and nil properly Co-authored-by:
Péter Szilágyi <peterke@gmail.com> # Conflicts: # accounts/abi/bind/backends/simulated.go
-
Péter Szilágyi authored
# Conflicts: # core/state/state_object.go # core/state/statedb.go
-
ligi authored
* build: Fix CLI params for windows LNK files closes #21054 * Remove parameters
-
Martin Holst Swende authored
* core/state: more verbose stateb errors * core/state: fix flaw * core/state: fixed lint Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> # Conflicts: # core/state/statedb.go
-
Martin Holst Swende authored
This finally adds the error check that the documentation of StateDB.dbErr promises to do. dbErr was added in 9e5f03b6 (June 2017), and the check was already missing in that commit. We somehow survived without it for three years. # Conflicts: # core/state/statedb.go # core/state/statedb_test.go
-
Martin Holst Swende authored
* Include 0x0000 address into the dump if it is present * core/state: go fmt Co-authored-by:
Alexey Akhunov <akhounov@gmail.com> # Conflicts: # core/state/dump.go
-
Marius van der Wijden authored
* accounts/abi/bind: add void if no return args specified Currently the java generator generates invalid input on pure/view functions that have no return type. e.g. `function f(uint u) view public {}` This is not a problem in practice as people rarely ever write functions like this. * accounts/abi/bind: use elseif instead of nested if
-
gary rong authored
# Conflicts: # core/state/snapshot/difflayer.go
-
Péter Szilágyi authored
# Conflicts: # core/state/snapshot/difflayer.go
-
Boqin Qin authored
-
Guillaume Ballet authored
# Conflicts: # trie/sync.go
-
gary rong authored
# Conflicts: # trie/proof_test.go
-
ploui authored
* eth: don't reassign more cache than is being made available * eth: don't inadvertently enable snapshot in a case where --snapshot wasn't given # Conflicts: # eth/backend.go
-
Péter Szilágyi authored
-
Marius van der Wijden authored
* accounts/abi: added getType func to Type struct * accounts/abi: fixed tuple unpack * accounts/abi: removed type.Type * accounts/abi: added comment * accounts/abi: removed unused types * accounts/abi: removed superfluous declarations * accounts/abi: typo # Conflicts: # accounts/abi/numbers.go
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
rene authored
* rpc flags related to starting http server renamed to http * old rpc flags aliased and still functional * pprof flags fixed * renames gpo related flags * linted * renamed rpc flags for consistency and clarity * added warn logs * added more warn logs for all deprecated flags for consistency * moves legacy flags to separate file, hides older flags under show-deprecated-flags command * legacy prefix and moved some more legacy flags to legacy file * fixed circular import * added docs * fixed imports lint error * added notes about when flags were deprecated * cmd/utils: group flags by deprecation date + reorder by date, * modified deprecated comments for consistency, added warn log for --rpc * making sure deprecated flags are still functional * show-deprecated-flags command cleaned up * fixed lint errors * corrected merge conflict * IsSet --> GlobalIsSet * uncategorized flags, if not deprecated, displayed under misc Co-authored-by:
Martin Holst Swende <martin@swende.se> # Conflicts: # cmd/geth/main.go # cmd/geth/usage.go # internal/debug/flags.go
-
Péter Szilágyi authored
-
Igor Mandrigin authored
# Conflicts: # accounts/abi/abi_test.go # accounts/abi/numbers.go # signer/core/signed_data.go
-
Marius van der Wijden authored
* accounts/abi: removed Kind from Type struct * accounts/abi: removed unused code
-
Péter Szilágyi authored
# Conflicts: # cmd/evm/staterunner.go # eth/tracers/tracers_test.go # tests/state_test.go # tests/state_test_util.go # tests/vm_test_util.go
-
Martin Holst Swende authored
This fixes an issue with clef, which already transforms the signature to use the legacy 27/28 encoding. Fixes #20994
-
Boqin Qin authored
# Conflicts: # les/peer_test.go
-