- Sep 28, 2020
-
-
shigeyuki azuchi authored
-
mr_franklin authored
-
aaronbuchwald authored
* Fix potential memory leak in price heap * core: nil free pointer slice (alternative version) Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Martin Holst Swende authored
-
Marius van der Wijden authored
* mobile: added constructor for big int * mobile: tiny nitpick
-
Marius van der Wijden authored
* accounts/abi: refactored abi.Unpack * accounts/abi/bind: fixed error * accounts/abi/bind: modified template * accounts/abi/bind: added ToStruct for conversion * accounts/abi: reenabled tests * accounts/abi: fixed tests * accounts/abi: fixed tests for packing/unpacking * accounts/abi: fixed tests * accounts/abi: added more logic to ToStruct * accounts/abi/bind: fixed template * accounts/abi/bind: fixed ToStruct conversion * accounts/abi/: removed unused code * accounts/abi: updated template * accounts/abi: refactored unused code * contracts/checkpointoracle: updated contracts to sol ^0.6.0 * accounts/abi: refactored reflection logic * accounts/abi: less code duplication in Unpack* * accounts/abi: fixed rebasing bug * fix a few typos in comments * rebase on master Co-authored-by:
Guillaume Ballet <gballet@gmail.com>
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
params: update CHTs for Geth v1.9.22
-
Péter Szilágyi authored
-
- Sep 24, 2020
-
-
rene authored
-
- Sep 23, 2020
-
-
rene authored
-
rene authored
This change adds a test framework for the "eth" protocol and some basic tests. The tests can be run using the './devp2p rlpx eth-test' command.
-
Marius van der Wijden authored
* tried to fix * fix for js api * fix for nil pointer ex * rev space * rev space * input call formatter
-
Gary Rong authored
* trie: support non-existent right proof * trie: improve test * trie: minor linter fix Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
Marius van der Wijden authored
This allows users to estimate gas on top of arbitrary blocks as well as pending and latest. Tracing on pending is useful for most users as it takes into account the current txpool while tracing on latest might be useful for users that have little to know knowledge of the current transactions in the network. If blockNrOrHash is not specified, estimateGas defaults to pending
-
Gary Rong authored
-
Gary Rong authored
-
- Sep 22, 2020
-
-
Binacs authored
-
rene authored
This change moves the RLPx protocol implementation into a separate package, p2p/rlpx. The new package can be used to establish RLPx connections for protocol testing purposes. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Sep 21, 2020
-
-
Marius van der Wijden authored
* (mobile): Adds string representations for types * mobile: better interfaces add stringer to types Co-authored-by:
sarath <sarath@melvault.com>
-
- Sep 20, 2020
-
-
Osoro Bironga authored
* accounts: abi/bid/backends; cleaned doc errors, camelCase refactors and anonymous variable assignments * acounts/abi/bind: doc errors, anonymous parameter assignments * accounts/abi: doc edits, camelCase refactors * accounts/abi/bind: review fix * reverted name changes * name revert Co-authored-by:
Osoro Bironga <osoro@doctaroo.com>
-
- Sep 18, 2020
-
-
Guillaume Ballet authored
-
Péter Szilágyi authored
eth/downloader: dynamically move pivot even during chain sync
-
Péter Szilágyi authored
-
- Sep 17, 2020
-
-
Giuseppe Bertone authored
* database: added counters * Improved stats for ancient db * Small improvement * Better message and added percentage while counting receipts * Fast counting for receipts * added info message * Show both receips itemscount from ancient db and counted receipts * Fixed default case * Removed counter for receipts in ancient store * Removed counting of receipts present in leveldb
-
- Sep 16, 2020
-
-
Marius van der Wijden authored
* cmd/utils: use preconfigured testnet flags instead of networkid * cmd/utils: shorter description Co-authored-by:
Martin Holst Swende <martin@swende.se> * Update flags.go Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Marius van der Wijden authored
* tests/fuzzers/abi: added abi fuzzer * accounts/abi: fixed issues found by fuzzing * tests/fuzzers/abi: update fuzzers, added repro test * tests/fuzzers/abi: renamed abi_fuzzer to abifuzzer * tests/fuzzers/abi: updated abi fuzzer * tests/fuzzers/abi: updated abi fuzzer * accounts/abi: minor style fix * go.mod: added go-fuzz dependency * tests/fuzzers/abi: updated abi fuzzer * tests/fuzzers/abi: make linter happy * tests/fuzzers/abi: make linter happy * tests/fuzzers/abi: comment out false positives
-
Gary Rong authored
-
Vinod Damle authored
* Allow setting PetersburgBlock before chainhead if it is at the same block as ConstantinopleBlock * Add a negative test
-
- Sep 15, 2020
-
-
Mason Fischer authored
It didn't actually work because it called a method that doesn't exist. This fixes it also adds a test. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Giuseppe Bertone authored
-
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
-
- Sep 14, 2020
-
-
Zsolt Felföldi 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>
-
Felix Lange authored
This can be useful when working with raw RLP data.
-
Julian Koh authored
-
Zsolt Felföldi 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.
-
- Sep 13, 2020
-
-
Shude Li authored
-
- Sep 11, 2020
-
-
Guillaume Ballet authored
-