- Oct 06, 2020
-
-
Kirill Elagin authored
When the license was added to the repository, its text was changed (some sections at the end removed) and, worse, the authors of go-ethereum tried to claim copyright on the license text. The correct way to apply GPL to a project is to copy it verbatim. This change reverts the text of the GPL to the original.
-
Martin Holst Swende authored
# Conflicts: # eth/tracers/internal/tracers/assets.go
-
Felföldi Zsolt authored
* les, les/lespay/server: refactor client pool * les: use ns.Operation and sub calls where needed * les: fixed tests * les: removed active/inactive logic from peerSet * les: removed active/inactive peer logic * les: fixed linter warnings * les: fixed more linter errors and added missing metrics * les: addressed comments * cmd/geth: fixed TestPriorityClient * les: simplified clientPool state machine * les/lespay/server: do not use goroutine for balance callbacks * internal/web3ext: fix addBalance required parameters * les: removed freeCapacity, always connect at minCapacity initially * les: only allow capacity change with priority status Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> # Conflicts: # cmd/geth/les_test.go # les/api.go # les/api_test.go # les/clientpool.go # les/clientpool_test.go # les/metrics.go # les/peer.go # les/server.go # les/server_handler.go # les/test_helper.go # les/utils/expiredvalue.go
-
Felix Lange authored
This can be useful when working with raw RLP data.
-
Julian Koh authored
-
Felföldi Zsolt authored
This PR adds an extra guarantee to NodeStateMachine: it ensures that all immediate effects of a certain change are processed before any subsequent effects of any of the immediate effects on the same node. In the original version, if a cascaded change caused a subscription callback to be called multiple times for the same node then these calls might have happened in a wrong chronological order. For example: - a subscription to flag0 changes flag1 and flag2 - a subscription to flag1 changes flag3 - a subscription to flag1, flag2 and flag3 was called in the following order: [flag1] -> [flag1, flag3] [] -> [flag1] [flag1, flag3] -> [flag1, flag2, flag3] This happened because the tree of changes was traversed in a "depth-first order". Now it is traversed in a "breadth-first order"; each node has a FIFO queue for pending callbacks and each triggered subscription callback is added to the end of the list. The already existing guarantees are retained; no SetState or SetField returns until the callback queue of the node is empty again. Just like before, it is the responsibility of the state machine design to ensure that infinite state loops are not possible. Multiple changes affecting the same node can still happen simultaneously; in this case the changes can be interleaved in the FIFO of the node but the correct order is still guaranteed. A new unit test is also added to verify callback order in the above scenario. # Conflicts: # les/serverpool.go # p2p/nodestate/nodestate.go # p2p/nodestate/nodestate_test.go
-
Shude Li authored
# Conflicts: # Dockerfile # Dockerfile.alltools
-
Guillaume Ballet authored
-
Marius van der Wijden authored
Fixes a regression introduced in #21536
-
Marius van der Wijden authored
This PR changes several different things: - Adds test cases for the miner loop - Stops the worker if it wasn't already stopped in worker.Close() - Uses channels instead of atomics in the miner.update() loop Co-authored-by:
Felix Lange <fjl@twurst.com> # Conflicts: # miner/miner.go
-
Guillaume Ballet authored
* cmd/geth: print warning when whisper config is present in toml * Update cmd/geth/config.go Co-authored-by:
Martin Holst Swende <martin@swende.se> # Conflicts: # cmd/geth/config.go
-
Dan Sosedoff authored
This adds a new client method BlockNumber to fetch the most recent block number of the chain.
-
Shude Li authored
# Conflicts: # go.mod
-
Martin Holst Swende authored
* core/vm/testdata: add gascost expectations to testcases * core/vm: verify expected gas in tests for precompiles * core/vm: fix overflow flaw in gas/s calculation
-
gary rong authored
* cmd, eth: offer maxprice flag for overwritting price cap * eth: rename default price cap # Conflicts: # cmd/geth/main.go # cmd/geth/usage.go # cmd/utils/flags.go # eth/gasprice/gasprice.go
-
Marius van der Wijden authored
# Conflicts: # accounts/abi/bind/backends/simulated.go
-
Péter Szilágyi authored
# Conflicts: # eth/downloader/downloader.go # eth/downloader/downloader_test.go
-
Péter Szilágyi authored
# Conflicts: # params/version.go
-
Igor Mandrigin authored
-
ledgerwatch authored
-
ledgerwatch authored
-
- Oct 05, 2020
-
-
ledgerwatch authored
-
ledgerwatch authored
-
Thomas Jay Rush authored
-
- Oct 04, 2020
-
-
ledgerwatch authored
This reverts commit b8c38802.
-
ledgerwatch authored
-
Alex Sharov authored
-
- Oct 03, 2020
-
-
Alex Sharov authored
-
Alex Sharov authored
This reverts commit cc4dd369.
-
- Oct 02, 2020
-
-
Evgeny Danilenko authored
* initial * fix * fix chain length
-
Nikola authored
-
Alex Sharov authored
* rpcdaemon to cache chainconfig * topic normalization * topic normalization
-
Alex Sharov authored
* switch receipts to cbor * switch receipts to cbor * rpcdaemon to cache chainconfig * rpcdaemon to cache chainconfig * rpcdaemon to cache chainconfig * rpcdaemon to cache chainconfig
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
- Oct 01, 2020
-
-
lightclient authored
-
Giulio Rebuffo authored
-
Igor Mandrigin authored
-