- Oct 13, 2020
-
-
Martin Holst Swende authored
-
mr_franklin authored
-
mr_franklin authored
-
Hanjiang Yu authored
-
- Oct 12, 2020
-
-
mr_franklin authored
-
Gary Rong authored
* trie: polish commit function * trie: fix typo
-
- Oct 09, 2020
-
-
Martin Holst Swende authored
-
Marius van der Wijden authored
-
Gary Rong authored
* eth/downloader: fix data race around the ancientlimit * eth/downloader: initialize the ancientlimit as 0
-
- Oct 08, 2020
-
-
Guillaume Ballet authored
* core/vm: dedup config check * review feedback: reuse buffer
-
Felix Lange authored
For some reason, using the shared hash causes a cryptographic incompatibility when using Go 1.15. I noticed this during the development of Discovery v5.1 when I added test vector verification. The go library commit that broke this is golang/go@97240d5, but the way we used HKDF is slightly dodgy anyway and it's not a regression.
-
Martin Holst Swende authored
* signer/core: don't mismatch reject and zero accounts, fixes #21674 * signer/core: docs
-
- Oct 07, 2020
-
-
Felix Lange authored
This makes it accept the "upgrade,keep-alive" header value, which apparently is a thing.
-
rene authored
This fixes issues with the protocol handshake and status exchange and adds support for responding to GetBlockHeaders requests.
-
- Oct 06, 2020
-
-
Martin Holst Swende authored
* core/types: tests for bloom * core/types: refactored bloom filter for receipts, added tests core/types: replaced old bloom implementation core/types: change interface of bloom add+test * core/types: refactor bloom * core/types: minor tweak on LogsBloom Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de>
-
Martin Holst Swende authored
* core/bloombits: add benchmark * core/bloombits: optimize inserts
-
Raw Pong Ghmoa authored
* params: update pegasys besu bootnode * params: update goerli initiative bootnodes
-
- Oct 05, 2020
-
-
Felix Lange authored
-
Péter Szilágyi authored
* core/state/snapshot: exit Geth if generator hits missing trie nodes * core/state/snapshot: error instead of hard die on generator fault * core/state/snapshot: don't enable logging on the tests
-
- Sep 30, 2020
-
-
Martin Holst Swende authored
-
Gary Rong authored
* trie: update tests to check commit integrity * trie: polish committer * trie: fix typo * trie: remove hasvalue notion According to the benchmarks, type assertion between the pointer and interface is extremely fast. BenchmarkIntmethod-12 1000000000 1.91 ns/op BenchmarkInterface-12 1000000000 2.13 ns/op BenchmarkTypeSwitch-12 1000000000 1.81 ns/op BenchmarkTypeAssertion-12 2000000000 1.78 ns/op So the overhead for asserting whether the shortnode has "valuenode" child is super tiny. No necessary to have another field. * trie: linter nitpicks Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- Sep 29, 2020
-
-
Martin Holst Swende authored
* accounts, signer: implement gnosis safe support * common/math: add type for marshalling big to dec * accounts, signer: properly sign gnosis requests * signer, clef: implement account_signGnosisTx * signer: fix auditlog print, change rpc-name (signGnosisTx to signGnosisSafeTx) * signer: pass validation-messages/warnings to the UI for gnonsis-safe txs * signer/core: minor change to validationmessages of typed data
-
Guillaume Ballet authored
core/types: use stacktrie for derivesha trie: add stacktrie file trie: fix linter core/types: use stacktrie for derivesha rebased: adapt stacktrie to the newer version of DeriveSha Co-authored-by:
Martin Holst Swende <martin@swende.se> More linter fixes review feedback: no key offset for nodes converted to hashes trie: use EncodeRLP for full nodes core/types: insert txs in order in derivesha trie: tests for derivesha with stacktrie trie: make stacktrie use pooled hashers trie: make stacktrie reuse tmp slice space trie: minor polishes on stacktrie trie/stacktrie: less rlp dancing core/types: explain the contorsions in DeriveSha ci: fix goimport errors trie: clear mem on subtrie hashing squashme: linter fix stracktrie: use pooling, less allocs (#3) trie: in-place hex prefix, reduce allocs and add rawNode.EncodeRLP Reintroduce the `[]node` method, add the missing `EncodeRLP` implementation for `rawNode` and calculate the hex prefix in place. Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
mr_franklin authored
-
- Sep 28, 2020
-
-
Marius van der Wijden authored
* ci: tooltips for javadoc for mobile app * f space
-
mr_franklin authored
-
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
-