- 15 9月, 2020 4 次提交
-
-
由 Kirill Elagin 提交于
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 提交于
-
由 Felföldi Zsolt 提交于
* 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: Nrjl493456442 <garyrong0905@gmail.com>
-
由 Felix Lange 提交于
This can be useful when working with raw RLP data.
-
- 14 9月, 2020 3 次提交
-
-
由 Julian Koh 提交于
-
由 Felföldi Zsolt 提交于
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.
-
由 Shude Li 提交于
-
- 12 9月, 2020 2 次提交
-
-
由 Guillaume Ballet 提交于
-
由 Marius van der Wijden 提交于
Fixes a regression introduced in #21536
-
- 11 9月, 2020 1 次提交
-
-
由 Marius van der Wijden 提交于
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: NFelix Lange <fjl@twurst.com>
-
- 10 9月, 2020 4 次提交
-
-
由 Guillaume Ballet 提交于
* cmd/geth: print warning when whisper config is present in toml * Update cmd/geth/config.go Co-authored-by: NMartin Holst Swende <martin@swende.se>
-
由 Dan Sosedoff 提交于
This adds a new client method BlockNumber to fetch the most recent block number of the chain.
-
由 Shude Li 提交于
-
由 Martin Holst Swende 提交于
* 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
-
- 09 9月, 2020 9 次提交
-
-
由 gary rong 提交于
* cmd, eth: offer maxprice flag for overwritting price cap * eth: rename default price cap
-
由 Péter Szilágyi 提交于
eth/downloader: only roll back light sync if not fully validating
-
由 Marius van der Wijden 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
params: update CHTs for v1.9.21 release
-
由 Péter Szilágyi 提交于
-
由 Guillaume Ballet 提交于
-
- 08 9月, 2020 3 次提交
-
-
由 Guillaume Ballet 提交于
-
由 Martin Holst Swende 提交于
* 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
-
由 Guillaume Ballet 提交于
* whisper: remove whisper * Update cmd/geth/config.go Co-authored-by: NMarius 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: NMarius van der Wijden <m.vanderwijden@live.de> Co-authored-by: NMartin Holst Swende <martin@swende.se>
-
- 07 9月, 2020 2 次提交
-
-
由 Osoro Bironga 提交于
accounts: abi/bid/backends; cleaned doc errors, camelCase refactors and anonymous variable assignments (#21514) Co-authored-by: NOsoro Bironga <osoro@doctaroo.com>
-
由 Marius van der Wijden 提交于
* 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
-
- 02 9月, 2020 3 次提交
-
-
由 Péter Szilágyi 提交于
core, eth, trie: prepare trie sync for path based operation
-
由 Péter Szilágyi 提交于
-
由 Martin Holst Swende 提交于
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.
-
- 01 9月, 2020 4 次提交
-
-
由 ucwong 提交于
-
由 Giuseppe Bertone 提交于
* "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.
-
由 Hanjiang Yu 提交于
-
由 Fuyang Deng 提交于
* 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
-
- 28 8月, 2020 1 次提交
-
-
由 Felix Lange 提交于
-
- 27 8月, 2020 2 次提交
-
-
由 libotony 提交于
* 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: NMartin Holst Swende <martin@swende.se>
-
由 Péter Szilágyi 提交于
core/state, eth, trie: stabilize memory use, fix memory leak
-
- 26 8月, 2020 2 次提交
-
-
由 ucwong 提交于
* go.mod | goleveldb latest update * go.mod update * leveldb options * go.mod: double check Co-authored-by: NPéter Szilágyi <peterke@gmail.com>
-
由 Marius van der Wijden 提交于
-