-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Upgrade] Go-Ethereum release v1.10.0 #16
[Upgrade] Go-Ethereum release v1.10.0 #16
Commits on Nov 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d513584 - Browse repository at this point
Copy the full SHA d513584View commit details -
crypto/secp256k1: add checking z sign in affineFromJacobian (#18419)
The z == 0 check is hit whenever we Add two points with the same x1/x2 coordinate. crypto/elliptic uses the same check in their affineFromJacobian function. This change does not affect block processing or tx signature verification in any way, because it does not use the Add or Double methods.
Configuration menu - View commit details
-
Copy full SHA for db87223 - Browse repository at this point
Copy the full SHA db87223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b98580 - Browse repository at this point
Copy the full SHA 6b98580View commit details
Commits on Nov 18, 2020
-
all: disable recording preimage of trie keys (#21402)
* cmd, core, eth, light, trie: disable recording preimage by default * core, eth: fix unit tests * core: fix import * all: change to nopreimage * cmd, core, eth, trie: use cache.preimages flag * cmd: enable preimages for archive node * cmd/utils, trie: simplify preimage tracking a bit * core: fix linter Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23524f8 - Browse repository at this point
Copy the full SHA 23524f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9ff57c - Browse repository at this point
Copy the full SHA b9ff57cView commit details
Commits on Nov 19, 2020
-
Merge pull request #21861 from holiman/remove_retesteth
cmd/geth: remove retesteth
Configuration menu - View commit details
-
Copy full SHA for 2808046 - Browse repository at this point
Copy the full SHA 2808046View commit details -
node: support expressive origin rules in ws.origins (#21481)
* Only compare hostnames in ws.origins Also using a helper function for ToLower consolidates all preparation steps in one function for more maintainable consistency. Spaces => tabs Remove a semicolon Add space at start of comment Remove parens around conditional Handle case wehre parsed hostname is empty When passing a single word like "localhost" the parsed hostname is an empty string. Handle this and the error-parsing case together as default, and the nonempty hostname case in the conditional. Refactor with new originIsAllowed functions Adds originIsAllowed() & ruleAllowsOrigin(); removes prepOriginForComparison Remove blank line Added tests for simple allowed-orign rule which does not specify a protocol or port, just a hostname Fix copy-paste: `:=` => `=` Remove parens around conditional Remove autoadded whitespace on blank lines Compare scheme, hostname, and port with rule if the rule specifies those portions. Remove one autoadded trailing whitespace Better handle case where only origin host is given e.g. "localhost" Remove parens around conditional Refactor: attemptWebsocketConnectionFromOrigin DRY Include return type on helper function Provide srv obj in helper fn Provide srv to helper fn Remove stray underscore Remove blank line parent 93e666b4c1e7e49b8406dc83ed93f4a02ea49ac1 author wbt <wbt@users.noreply.github.com> 1598559718 -0400 committer Martin Holst Swende <martin@swende.se> 1605602257 +0100 gpgsig -----BEGIN PGP SIGNATURE----- iQFFBAABCAAvFiEEypmrtbNuJK1doP1AaDtDjAWl3fAFAl+zi9ARHG1hcnRpbkBz d2VuZGUuc2UACgkQaDtDjAWl3fDRiwgAoMtzU8dwRV7Q9xkCwWEx9Wz2f3n6jUr2 VWBycDKGKwRkPPOER3oc9kzjGU/P1tFlK07PjfnAKZ9KWzxpDcJZwYM3xCBurG7A 16y4YsQnzgPNONv3xIkdi3RZtDBIiPFFEmdZFFvZ/jKexfI6JIYPngCAoqdTIFb9 On/aPvvVWQn1ExfmarsvvJ7kUDUG77tZipuacEH5FfFsfelBWOEYPe+I9ToUHskv +qO6rOkV1Ojk8eBc6o0R1PnApwCAlEhJs7aM/SEOg4B4ZJJneiFuEXBIG9+0yS2I NOicuDPLGucOB5nBsfIKI3USPeE+3jxdT8go2lN5Nrhm6MimoILDsQ== =sgUp -----END PGP SIGNATURE----- Refactor: drop err var for more concise test lines Add several tests for new WebSocket origin checks Remove autoadded whitespace on blank lines Restore TestWebsocketOrigins originally-named test and rename the others to be helpers rather than full tests Remove autoadded whitespace on blank line Temporarily comment out new test sets Uncomment test around origin rule with scheme Remove tests without scheme on browser origin per https://github.com/ethereum/go-ethereum/pull/21481/files#r479371498 Uncomment tests with port; remove some blank lines Handle when browser does not specify scheme/port Uncomment test for including scheme & port in rule Add IP tests * node: more tests + table-driven, ws origin changes Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for f1e1d9f - Browse repository at this point
Copy the full SHA f1e1d9fView commit details -
trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixe…
…s (#21871) * trie: fix tests to work on 32-bit systems * les: make test work on 32-bit platform * cmd/geth: fix windows-issues on tests * trie: improve balance * cmd/geth: make account tests less verbose + less mem intense * rpc: make debug-level log output less verbose * cmd/geth: lint
Configuration menu - View commit details
-
Copy full SHA for 6f88d65 - Browse repository at this point
Copy the full SHA 6f88d65View commit details
Commits on Nov 20, 2020
-
crypto/bn256: fix bn256Mul fuzzer to not hang on large input (#21872)
* crypto/bn256: fix bn256Mul fuzzer to not hang on large input * Update crypto/bn256/bn256_fuzz.go Co-authored-by: ligi <ligi@ligi.de> Co-authored-by: ligi <ligi@ligi.de>
Configuration menu - View commit details
-
Copy full SHA for ebb9591 - Browse repository at this point
Copy the full SHA ebb9591View commit details -
p2p: avoid spinning loop on out-of-handles (#21878)
* p2p: avoid busy-loop on temporary errors * p2p: address review concerns
Configuration menu - View commit details
-
Copy full SHA for 3ef5277 - Browse repository at this point
Copy the full SHA 3ef5277View commit details
Commits on Nov 23, 2020
-
les/utils: protect against WeightedRandomSelect overflow (#21839)
Also fixes a bug in les/flowcontrol that caused the overflow.
Configuration menu - View commit details
-
Copy full SHA for bddf5aa - Browse repository at this point
Copy the full SHA bddf5aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6e1aed - Browse repository at this point
Copy the full SHA f6e1aedView commit details -
tests/fuzzers/bls1381: add bls fuzzer (#21796)
* added bls fuzzer * crypto/bls12381: revert bls-changes, fixup fuzzer tests * fuzzers: split bls fuzzing into 8 different units * fuzzers/bls: remove (now stale) corpus * crypto/bls12381: added blsfuzz corpus * fuzzers/bls12381: fix the bls corpus * fuzzers: fix oss-fuzz script * tests/fuzzers: fixups on bls corpus * test/fuzzers: remove leftover corpus Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Configuration menu - View commit details
-
Copy full SHA for 6104ab6 - Browse repository at this point
Copy the full SHA 6104ab6View commit details -
Merge pull request #21890 from ligi/issue_templates
github: Add new style of issue-templates
Configuration menu - View commit details
-
Copy full SHA for ead8146 - Browse repository at this point
Copy the full SHA ead8146View commit details
Commits on Nov 24, 2020
-
cmd/faucet: improve handling of facebook post url (#21838)
Resolves #21532 Co-authored-by: roger <dengjun@huobi.com>
Configuration menu - View commit details
-
Copy full SHA for 6b58409 - Browse repository at this point
Copy the full SHA 6b58409View commit details -
Configuration menu - View commit details
-
Copy full SHA for bddd103 - Browse repository at this point
Copy the full SHA bddd103View commit details -
github: Remove vulnerability.md (#21894)
This type is automatically offered by github after changing to the new style and a security.md being present
Configuration menu - View commit details
-
Copy full SHA for 7e7a3f0 - Browse repository at this point
Copy the full SHA 7e7a3f0View commit details -
cmd/devp2p/internal/ethtest: add 'large announcement' tests (#21792)
* cmd/devp2p/internal/ethtest: added large announcement tests * cmd/devp2p/internal/ethtest: added large announcement tests * cmd/devp2p/internal/ethtest: refactored stuff a bit * cmd/devp2p/internal/ethtest: added TestMaliciousStatus/Handshake * cmd/devp2p/internal/ethtest: fixed rebasing issue * happy linter, happy life * cmd/devp2p/internal/ethtest: used readAndServe * stuff * cmd/devp2p/internal/ethtest: fixed test cases
Configuration menu - View commit details
-
Copy full SHA for 59b480a - Browse repository at this point
Copy the full SHA 59b480aView commit details
Commits on Nov 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 29efe1f - Browse repository at this point
Copy the full SHA 29efe1fView commit details -
all: simplify nested complexity and if blocks ending with a return st…
…atement (#21854) Changes: Simplify nested complexity If an if blocks ends with a return statement then remove the else nesting. Most of the changes has also been reported in golint https://goreportcard.com/report/github.com/ethereum/go-ethereum#golint
Configuration menu - View commit details
-
Copy full SHA for c92faee - Browse repository at this point
Copy the full SHA c92faeeView commit details -
graphql: always return 400 if errors are present in the response (#21…
…882) * Make sure to return 400 when errors are present in the response * graphql: use less memory in chainconfig for tests Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for f59ed35 - Browse repository at this point
Copy the full SHA f59ed35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 810f9e0 - Browse repository at this point
Copy the full SHA 810f9e0View commit details -
p2p/discover: fix deadlock in discv5 message dispatch (#21858)
This fixes a deadlock that could occur when a response packet arrived after a call had already received enough responses and was about to signal completion to the dispatch loop. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 429e714 - Browse repository at this point
Copy the full SHA 429e714View commit details
Commits on Nov 27, 2020
-
crypto: signing builds with signify/minisign (#21798)
* internal/build: implement signify's signing func * Add signify to the ci utility * fix output file format * Add unit test for signify * holiman's + travis' feedback * internal/build: verify signify's output * crypto: move signify to common dir * use go-minisign to verify binaries * more holiman feedback * crypto, ci: support minisign output * only accept one-line trusted comments * configurable untrusted comments * code cleanup in tests * revert to use ed25519 from the stdlib * bug: fix for empty untrusted comments * write timestamp as comment if trusted comment isn't present * rename line checker to commentHasManyLines * crypto: added signify fuzzer (#6) * crypto: added signify fuzzer * stuff * crypto: updated signify fuzzer to fuzz comments * crypto: repro signify crashes * rebased fuzzer on build-signify branch * hide fuzzer behind gofuzz build flag * extract key data inside a single function * don't treat \r as a newline * travis: fix signing command line * do not use an external binary in tests * crypto: move signify to crypto/signify * travis: fix formatting issue * ci: fix linter build after package move Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Configuration menu - View commit details
-
Copy full SHA for fa572cd - Browse repository at this point
Copy the full SHA fa572cdView commit details
Commits on Nov 29, 2020
-
accounts, signer: fix Ledger Live account derivation path (clef) (#21…
…757) * signer/core/api: fix derivation of ledger live accounts For ledger hardware wallets, change account iteration as follows: - ledger legacy: m/44'/60'/0'/X; for 0<=X<5 - ledger live: m/44'/60'/0'/0/X; for 0<=X<5 - ledger legacy: m/44'/60'/0'/X; for 0<=X<10 - ledger live: m/44'/60'/X'/0/0; for 0<=X<10 Non-ledger derivation is unchanged and remains as: - non-ledger: m/44'/60'/0'/0/X; for 0<=X<10 * signer/core/api: derive ten default paths for all hardware wallets, plus ten legacy and ten live paths for ledger wallets * signer/core/api: as .../0'/0/0 already included by default paths, do not include it again with ledger live paths * accounts, signer: implement path iterators for hd wallets Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for b71334a - Browse repository at this point
Copy the full SHA b71334aView commit details
Commits on Nov 30, 2020
-
accounts/keystore: add missing function doc for SignText (#21914)
Co-authored-by: Pascal Dierich <pascal@pascaldierich.com>
Configuration menu - View commit details
-
Copy full SHA for 566cb4c - Browse repository at this point
Copy the full SHA 566cb4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for aba0c23 - Browse repository at this point
Copy the full SHA aba0c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ddd9e - Browse repository at this point
Copy the full SHA a1ddd9eView commit details -
p2p/nodestate: fix deadlock during shutdown of les server (#21927)
This PR fixes a deadlock reported here: #21925 The cause is that many operations may be pending, but if the close happens, only one of them gets awoken and exits, the others remain waiting for a signal that never comes.
Configuration menu - View commit details
-
Copy full SHA for e7db1db - Browse repository at this point
Copy the full SHA e7db1dbView commit details
Commits on Dec 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a2795c8 - Browse repository at this point
Copy the full SHA a2795c8View commit details
Commits on Dec 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 908c180 - Browse repository at this point
Copy the full SHA 908c180View commit details -
eth: fix error in tracing if reexec is set (#21830)
* eth: fix error in tracing if reexec is set * eth: change pointer embedding to value-embedding
Configuration menu - View commit details
-
Copy full SHA for e9e86ae - Browse repository at this point
Copy the full SHA e9e86aeView commit details -
go.mod: update github.com/golang/snappy(#21934)
This updates the snappy library depency to include a fix for a Go 1.16 incompatibility issue.
Configuration menu - View commit details
-
Copy full SHA for 0b2f144 - Browse repository at this point
Copy the full SHA 0b2f144View commit details
Commits on Dec 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d7a64dc - Browse repository at this point
Copy the full SHA d7a64dcView commit details
Commits on Dec 4, 2020
-
core/vm/runtime: remove duplicated line (#21956)
This line is duplicated, though it doesn't cause any issues.
Configuration menu - View commit details
-
Copy full SHA for 62cedb3 - Browse repository at this point
Copy the full SHA 62cedb3View commit details -
core: improve contextual information on core errors (#21869)
A lot of times when we hit 'core' errors, example: invalid tx, the information provided is insufficient. We miss several pieces of information: what account has nonce too high, and what transaction in that block was offending? This PR adds that information, using the new type of wrapped errors. It also adds a testcase which (partly) verifies the output from the errors. The first commit changes all usage of direct equality-checks on core errors, into using errors.Is. The second commit adds contextual information. This wraps most of the core errors with more information, and also wraps it one more time in stateprocessor, to further provide tx index and tx hash, if such a tx is encoutered in a block. The third commit uses the chainmaker to try to generate chains with such errors in them, thus triggering the errors and checking that the generated string meets expectations.
Configuration menu - View commit details
-
Copy full SHA for 7770e41 - Browse repository at this point
Copy the full SHA 7770e41View commit details -
cmd/geth: implement vulnerability check (#21859)
* cmd/geth: implement vulnerability check * cmd/geth: use minisign to verify vulnerability feed * cmd/geth: add the test too * cmd/geth: more minisig/signify testing * cmd/geth: support multiple pubfiles for signing * cmd/geth: add @holiman minisig pubkey * cmd/geth: polishes on vulnerability check * cmd/geth: fix ineffassign linter nit * cmd/geth: add CVE to version check struct * cmd/geth/testdata: add missing testfile * cmd/geth: add more keys to versionchecker * cmd/geth: support file:// URLs in version check * cmd/geth: improve key ID printing when signature check fails Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 15339cf - Browse repository at this point
Copy the full SHA 15339cfView commit details
Commits on Dec 7, 2020
-
les: cosmetic rewrite of the arm64 float bug workaround (#21960)
* les: revert arm float bug workaround to check go 1.15 * add traces to reproduce outside travis * simpler workaround
Configuration menu - View commit details
-
Copy full SHA for 581c028 - Browse repository at this point
Copy the full SHA 581c028View commit details
Commits on Dec 8, 2020
-
crypto/secp256k1: add workaround for go mod vendor (#21735)
Go won't vendor C files if there are no Go files present in the directory. Workaround is to add dummy Go files. Fixes: #20232
Configuration menu - View commit details
-
Copy full SHA for 6a4e730 - Browse repository at this point
Copy the full SHA 6a4e730View commit details -
accounts/abi/bind: allow specifying signer on transactOpts (#21356)
This commit enables users to specify which signer they want to use while creating their transactOpts. Previously all contract interactions used the homestead signer. Now a user can specify whether they want to sign with homestead or EIP155 and specify the chainID which adds another layer of security. Closes #16484
Configuration menu - View commit details
-
Copy full SHA for ed0670c - Browse repository at this point
Copy the full SHA ed0670cView commit details -
common: improve printing of Hash and Address (#21834)
Both Hash and Address have a String method, which returns the value as hex with 0x prefix. They also had a Format method which tried to print the value using printf of []byte. The way Format worked was at odds with String though, leading to a situation where fmt.Sprintf("%v", hash) returned the decimal notation and hash.String() returned a hex string. This commit makes it consistent again. Both types now support the %v, %s, %q format verbs for 0x-prefixed hex output. %x, %X creates unprefixed hex output. %d is also supported and returns the decimal notation "[1 2 3...]". For Address, the case of hex characters in %v, %s, %q output is determined using the EIP-55 checksum. Using %x, %X with Address disables checksumming. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for bd848aa - Browse repository at this point
Copy the full SHA bd848aaView commit details
Commits on Dec 9, 2020
-
core,les: headerchain import in batches (#21471)
* core: add test for headerchain inserts * core, light: write headerchains in batches * core: change to one callback per batch of inserted headers + review concerns * core: error-check on batch write * core: unexport writeHeaders * core: remove callback parameter in InsertHeaderChain The semantics of InsertHeaderChain are now much simpler: it is now an all-or-nothing operation. The new WriteStatus return value allows callers to check for the canonicality of the insertion. This change simplifies use of HeaderChain in package les, where the callback was previously used to post chain events. * core: skip some hashing when writing headers * core: less hashing in header validation * core: fix headerchain flaw regarding blacklisted hashes Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 40b6ccf - Browse repository at this point
Copy the full SHA 40b6ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 915643a - Browse repository at this point
Copy the full SHA 915643aView commit details -
crypto/signify, build: fix archive signing with signify (#21977)
This fixes some issues in crypto/signify and makes release signing work. The archive signing step in ci.go used getenvBase64, which decodes the key data. This is incorrect here because crypto/signify already base64-decodes the key.
Configuration menu - View commit details
-
Copy full SHA for f935b1d - Browse repository at this point
Copy the full SHA f935b1dView commit details -
p2p/enode: avoid crashing for invalid IP (#21981)
The database panicked for invalid IPs. This is usually no problem because all code paths leading to node DB access verify the IP, but it's dangerous because improper validation can turn this panic into a DoS vulnerability. The quick fix here is to just turn database accesses using invalid IP into a noop. This isn't great, but I'm planning to remove the node DB for discv5 long-term, so it should be fine to have this quick fix for half a year. Fixes #21849
Configuration menu - View commit details
-
Copy full SHA for 817a3fb - Browse repository at this point
Copy the full SHA 817a3fbView commit details
Commits on Dec 10, 2020
-
les, light: remove untrusted header retrieval in ODR (#21907)
* les, light: remove untrusted header retrieval in ODR * les: polish * light: check the hash equality in odr
Configuration menu - View commit details
-
Copy full SHA for 9f6bb49 - Browse repository at this point
Copy the full SHA 9f6bb49View commit details -
core, trie: speed up some tests with quadratic processing flaw (#21987)
This commit fixes a flaw in two testcases, and brings down the exec-time from ~40s to ~8s for trie/TestIncompleteSync. The checkConsistency was performed over and over again on the complete set of nodes, not just the recently added, turning it into a quadratic runtime.
Configuration menu - View commit details
-
Copy full SHA for b44f24e - Browse repository at this point
Copy the full SHA b44f24eView commit details -
les: introduce forkID (#21974)
* les: introduce forkID * les: address comment
Configuration menu - View commit details
-
Copy full SHA for 0045410 - Browse repository at this point
Copy the full SHA 0045410View commit details
Commits on Dec 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1d1f5fe - Browse repository at this point
Copy the full SHA 1d1f5feView commit details -
Configuration menu - View commit details
-
Copy full SHA for e787272 - Browse repository at this point
Copy the full SHA e787272View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc0662b - Browse repository at this point
Copy the full SHA fc0662bView commit details -
les: rework float conversion on arm64 and other architectures (#21994)
The previous fix #21960 converted the float to an intermediate signed int, before attempting the uint conversion. Although this works, this doesn't guarantee that other architectures will work the same.
Configuration menu - View commit details
-
Copy full SHA for 1a715d7 - Browse repository at this point
Copy the full SHA 1a715d7View commit details -
miner, test: fix potential goroutine leak (#21989)
In miner/worker.go, there are two goroutine using channel w.newWorkCh: newWorkerLoop() sends to this channel, and mainLoop() receives from this channel. Only the receive operation is in a select. However, w.exitCh may be closed by another goroutine. This is fine for the receive since receive is in select, but if the send operation is blocking, then it will block forever. This commit puts the send in a select, so it won't block even if w.exitCh is closed. Similarly, there are two goroutines using channel errc: the parent that runs the test receives from it, and the child created at line 573 sends to it. If the parent goroutine exits too early by calling t.Fatalf() at line 614, then the child goroutine will be blocked at line 574 forever. This commit adds 1 buffer to errc. Now send will not block, and receive is not influenced because receive still needs to wait for the send.
Configuration menu - View commit details
-
Copy full SHA for 62dc59c - Browse repository at this point
Copy the full SHA 62dc59cView commit details -
cmd/faucet: use Twitter API instead of scraping webpage (#21850)
This PR adds support for using Twitter API to query the tweet and author details. There are two reasons behind this change: - Twitter will be deprecating the legacy website on 15th December. The current method is expected to stop working then. - More importantly, the current system uses Twitter handle for spam protection but the Twitter handle can be changed via automated calls. This allows bots to use the same tweet to withdraw funds infinite times as long as they keep changing their handle between every request. The Rinkeby as well as the Goerli faucet are being actively drained via this method. This PR changes the spam protection to be based on Twitter IDs instead of usernames. A user can not change their Twitter ID.
Configuration menu - View commit details
-
Copy full SHA for b47f4ca - Browse repository at this point
Copy the full SHA b47f4caView commit details -
core/txpool: remove "local" notion from the txpool price heap (#21478)
* core: separate the local notion from the pricedHeap * core: add benchmarks * core: improve tests * core: address comments * core: degrade the panic to error message * core: fix typo * core: address comments * core: address comment * core: use PEAK instead of POP * core: address comments
Configuration menu - View commit details
-
Copy full SHA for 88c6962 - Browse repository at this point
Copy the full SHA 88c6962View commit details -
consensus/ethash: implement faster difficulty calculators (#21976)
This PR adds re-written difficulty calculators, which are based on uint256. It also adds a fuzzer + oss-fuzz integration for the new fuzzer. It does differential fuzzing between the new and old calculators. Note: this PR does not actually enable the new calculators.
Configuration menu - View commit details
-
Copy full SHA for efe6dd2 - Browse repository at this point
Copy the full SHA efe6dd2View commit details -
consensus: refactor FinalizeAndAssemble to use Finalize (#21993)
Mr-Leshiy committedDec 11, 2020 Configuration menu - View commit details
-
Copy full SHA for c49aae9 - Browse repository at this point
Copy the full SHA c49aae9View commit details -
core, eth, les: implement unclean-shutdown marker (#21893)
This PR implements unclean shutdown marker. Every time geth boots, it adds a timestamp to a list of timestamps in the database. This list is capped at 10. At a clean shutdown, the timestamp is removed again. Thus, when geth exits unclean, the marker remains, and at boot up we show the most recent unclean shutdowns to the user, which makes it easier to diagnose root-causes to certain problems. Co-authored-by: Nagy Salem <me@muhnagy.com>
Configuration menu - View commit details
-
Copy full SHA for 4d48980 - Browse repository at this point
Copy the full SHA 4d48980View commit details
Commits on Dec 12, 2020
-
abi/bind: fix error-handling in generated wrappers for functions retu…
…rning structs (#22005) Fixes the template used when generating code, which in some scenarios would lead to panic instead of returning an error.
Configuration menu - View commit details
-
Copy full SHA for 38c1d59 - Browse repository at this point
Copy the full SHA 38c1d59View commit details -
cmd/abigen: clarify abigen alias flag usage (#21875)
* doc: clarify abigen alias flag usage update the `abigen --alias` flag help info, give an example to make it more clear related issue: ethereum/go-ethereum#21846 * Update cmd/abigen/main.go Co-authored-by: ligi <ligi@ligi.de> Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: ligi <ligi@ligi.de>
Configuration menu - View commit details
-
Copy full SHA for 00d10e6 - Browse repository at this point
Copy the full SHA 00d10e6View commit details
Commits on Dec 14, 2020
-
core, eth: split eth package, implement snap protocol (#21482)
This commit splits the eth package, separating the handling of eth and snap protocols. It also includes the capability to run snap sync (https://github.com/ethereum/devp2p/blob/master/caps/snap.md) , but does not enable it by default. Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 017831d - Browse repository at this point
Copy the full SHA 017831dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4859929 - Browse repository at this point
Copy the full SHA 4859929View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fe66f8 - Browse repository at this point
Copy the full SHA 0fe66f8View commit details
Commits on Dec 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8cde296 - Browse repository at this point
Copy the full SHA 8cde296View commit details -
les: les/4 minimalistic version (#21909)
* les: allow tx unindexing in les/4 light server mode * les: minor fixes * les: more small fixes * les: add meaningful constants for recentTxIndex handshake field
Configuration menu - View commit details
-
Copy full SHA for c7f2536 - Browse repository at this point
Copy the full SHA c7f2536View commit details
Commits on Dec 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3c46f55 - Browse repository at this point
Copy the full SHA 3c46f55View commit details
Commits on Dec 21, 2020
-
eth/download/statesync : optimize to avoid a copy in state sync hashi…
…ng (#22035) * eth/download/statesync : state hash sum optimized * go fmt with blank in imports * keccak read arg fix
Configuration menu - View commit details
-
Copy full SHA for c5a3ffa - Browse repository at this point
Copy the full SHA c5a3ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61469cf - Browse repository at this point
Copy the full SHA 61469cfView commit details
Commits on Dec 23, 2020
-
internal/ethapi: restore net_version RPC method (#22061)
During the snap and eth refactor, the net_version rpc call was falsely deprecated. This restores the net_version RPC handler as most eth2 nodes and other software depend on it.
Configuration menu - View commit details
-
Copy full SHA for 158f72c - Browse repository at this point
Copy the full SHA 158f72cView commit details -
common,crypto: move fuzzers out of core (#22029)
* common,crypto: move fuzzers out of core * fuzzers: move vm fuzzer out from core * fuzzing: rework cover package logic * fuzzers: lint
Configuration menu - View commit details
-
Copy full SHA for b9012a0 - Browse repository at this point
Copy the full SHA b9012a0View commit details
Commits on Dec 27, 2020
-
README.md: update Travis badge (#22079)
The legacy dot-org URL was displaying a message about the repository having migrated to the dot-com service, which now covers open-source projects as well.
Configuration menu - View commit details
-
Copy full SHA for 25c0bd9 - Browse repository at this point
Copy the full SHA 25c0bd9View commit details -
eth, eth/tracers: include intrinsic gas in calltracer, expose for all…
… tracers (#22038) * eth/tracers: share tx gas price with js tracer * eth/tracers: use `go generate` * eth/tracers: try with another version of go-bindata * eth/tracers: export txGas * eth, eth/tracers: pass intrinsic gas to js tracers eth/tracers: include tx gas in tracers usedGas eth/tracers: fix prestate tracer's sender balance eth/tracers: rm unnecessary import eth/tracers: pass intrinsicGas separately to tracer eth/tracers: fix tests broken by lack of txdata eth, eth/tracers: minor fix * eth/tracers: regenerate assets + unexport test-struct + add testcase * eth/tracers: simplify tests + make table-driven Co-authored-by: Guillaume Ballet <gballet@gmail.com> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 9c6b5b9 - Browse repository at this point
Copy the full SHA 9c6b5b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b13e9c4 - Browse repository at this point
Copy the full SHA b13e9c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f81006 - Browse repository at this point
Copy the full SHA 2f81006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a09a39 - Browse repository at this point
Copy the full SHA 0a09a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab0979f - Browse repository at this point
Copy the full SHA ab0979fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 653e8b9 - Browse repository at this point
Copy the full SHA 653e8b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c17a773 - Browse repository at this point
Copy the full SHA c17a773View commit details -
Configuration menu - View commit details
-
Copy full SHA for a425a47 - Browse repository at this point
Copy the full SHA a425a47View commit details
Commits on Dec 30, 2020
-
accounts/abi/bind: fix erroneous test (#22053)
closes #22049
yumiel yoomee1313 committedDec 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 0a3993c - Browse repository at this point
Copy the full SHA 0a3993cView commit details
Commits on Jan 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 167ff56 - Browse repository at this point
Copy the full SHA 167ff56View commit details -
Configuration menu - View commit details
-
Copy full SHA for f83fc30 - Browse repository at this point
Copy the full SHA f83fc30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47820ef - Browse repository at this point
Copy the full SHA 47820efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c2a7ce - Browse repository at this point
Copy the full SHA 5c2a7ceView commit details -
SECURITY.md: link to release page (#22067)
Add links to go-ethereum's GitHub release page. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 1951e20 - Browse repository at this point
Copy the full SHA 1951e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4571d8 - Browse repository at this point
Copy the full SHA e4571d8View commit details
Commits on Jan 5, 2021
-
Merge pull request #22107 from karalabe/faucet-twitter
cmd: support v1.1 Twitter API in faucet, fix puppeth
Configuration menu - View commit details
-
Copy full SHA for 6ada9f0 - Browse repository at this point
Copy the full SHA 6ada9f0View commit details -
miner: avoid sleeping in miner (#22108)
This PR removes a logic in the miner, which was originally intended to help temporary testnets based on ethash from "running off into the future". If the difficulty was low, and a few computers started mining several blocks per second, the ethash rules (which demand 1s delay between blocks) would push the blocktimes further and further away. The solution was to make the miner sleep while this happened. Nowadays, this problem is solved instead by PoA chains, and it's recommended to let testnets and devnets be based on clique instead. The existing logic is problematic, since it can cause stalls within the miner making it difficult for remote workers to submit work if the channel is blocked on a sleep. Credits to Saar Tochner for reporting this via the bug bounty
Configuration menu - View commit details
-
Copy full SHA for 9584f56 - Browse repository at this point
Copy the full SHA 9584f56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 664903d - Browse repository at this point
Copy the full SHA 664903dView commit details -
graphql: use a decimal representation for gas limit and gas used (#21…
…883) This changes the JSON encoding of blocks returned by the API to have decimal instead of hexadecimal numbers. The spec wants it this way. Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for eb2a1df - Browse repository at this point
Copy the full SHA eb2a1dfView commit details -
cmd/geth: added --mainnet flag (#21932)
* cmd/geth: added --mainnet flag * cmd/utils: set default genesis if --mainnet is specified * cmd/utils: addressed comments
Configuration menu - View commit details
-
Copy full SHA for 4714ce9 - Browse repository at this point
Copy the full SHA 4714ce9View commit details -
common/compiler: fix parsing of solc output with solidity v.0.8.0 (#2…
…2092) Solidity 0.8.0 changes the way that output is marshalled. This patch allows to parse both the legacy format used previously and the new format. See also https://docs.soliditylang.org/en/breaking/080-breaking-changes.html#interface-changes
Configuration menu - View commit details
-
Copy full SHA for 9ba306d - Browse repository at this point
Copy the full SHA 9ba306dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6184542 - Browse repository at this point
Copy the full SHA 6184542View commit details
Commits on Jan 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 83d317c - Browse repository at this point
Copy the full SHA 83d317cView commit details -
crypto: fix ineffectual assignments (#22124)
* crypto/bls12381: fixed ineffectual assignment * crypto/signify: fix ineffectual assignment
Configuration menu - View commit details
-
Copy full SHA for d667ee2 - Browse repository at this point
Copy the full SHA d667ee2View commit details -
graphql: return decimal for
estimateGas
andcumulativeGas
queries…… (#22126) * estimateGas, cumulativeGas * linted * add test for estimateGas
Configuration menu - View commit details
-
Copy full SHA for 072fd96 - Browse repository at this point
Copy the full SHA 072fd96View commit details
Commits on Jan 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d2e1b17 - Browse repository at this point
Copy the full SHA d2e1b17View commit details -
Merge pull request #22122 from karalabe/snapshot-polishes
cmd/utils, eth/downloader: minor snap nitpicks
Configuration menu - View commit details
-
Copy full SHA for 8bd8e1b - Browse repository at this point
Copy the full SHA 8bd8e1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44208d9 - Browse repository at this point
Copy the full SHA 44208d9View commit details -
eth/protocols/snap: track reverts when peer rejects request (#22016)
* eth/protocols/snap: reschedule missed deliveries * eth/protocols/snap: clarify log message * eth/protocols/snap: revert failures async and update runloop Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 58b9db5 - Browse repository at this point
Copy the full SHA 58b9db5View commit details -
Merge pull request #22136 from karalabe/faucet-websocket-fix
cmd/faucet: fix websocket race regression after switching to gorilla
Configuration menu - View commit details
-
Copy full SHA for 38310f9 - Browse repository at this point
Copy the full SHA 38310f9View commit details -
eth/protocols/snap: speed up hash checks (#22023)
* eth/protocols/snap: speed up hash checks * eth/protocols/snap: nit fix Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4bb5c6c - Browse repository at this point
Copy the full SHA 4bb5c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c6665e - Browse repository at this point
Copy the full SHA 3c6665eView commit details -
Merge pull request #22137 from karalabe/faucet-fb-fix
cmd/faucet: switch Facebook auth over to mobile site
Configuration menu - View commit details
-
Copy full SHA for d395289 - Browse repository at this point
Copy the full SHA d395289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 165f53f - Browse repository at this point
Copy the full SHA 165f53fView commit details
Commits on Jan 8, 2021
-
cmd/faucet: fix nonce-gap problem (#22145)
* cmd/faucet: avoid encoding for each client * cmd/faucet: fix flaw in clearing of txs, avoid sending more than necessary * cmd/faucet: fix flaw in tx cropping * cmd/faucet: revert change to not always send tx info * cmd/faucet: review fixes * cmd/faucet: revert #22018, fix order in UI * cmd/faucet: fix lock error * cmd/faucet: revert json changes * squashme
Configuration menu - View commit details
-
Copy full SHA for 6b88ab7 - Browse repository at this point
Copy the full SHA 6b88ab7View commit details -
ethclient: better test suite for ethclient package (#22127)
This commit extends the ethclient test suite and increases code coverage of the ethclient package from ~15% to >55%. These tests act as early smoke tests to signal issues in the RPC-interface. E.g. if a functionality like eth_chainId or eth_call breaks, the test will break.
Configuration menu - View commit details
-
Copy full SHA for 889f564 - Browse repository at this point
Copy the full SHA 889f564View commit details
Commits on Jan 9, 2021
-
eth/downloader: fix race condition in tests (#22140)
* downloader: fix race condition in tests * eth/downloader: fix race condition in tests * Revert "downloader: fix race condition in tests" This reverts commit 108033ebc6985de83791d375b6e6647a77d28d5a.
Configuration menu - View commit details
-
Copy full SHA for 89030ec - Browse repository at this point
Copy the full SHA 89030ecView commit details
Commits on Jan 10, 2021
-
core: persist bad blocks (#21827)
* core: persist bad blocks * core, eth, internal: address comments * core/rawdb: add badblocks to inspector * core, eth: update * internal: revert * core, eth: only save 10 bad blocks * core/rawdb: address comments * core/rawdb: fix * core: address comments
Configuration menu - View commit details
-
Copy full SHA for 5a1b384 - Browse repository at this point
Copy the full SHA 5a1b384View commit details
Commits on Jan 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ab5e3f4 - Browse repository at this point
Copy the full SHA ab5e3f4View commit details -
Merge pull request #22157 from karalabe/prque-tests
common/prque: pull in tests and benchmarks from upstream
Configuration menu - View commit details
-
Copy full SHA for 79e2174 - Browse repository at this point
Copy the full SHA 79e2174View commit details -
eth: improve log message (#22146)
* eth: fixed typos * eth: fixed log message
Configuration menu - View commit details
-
Copy full SHA for 49c2816 - Browse repository at this point
Copy the full SHA 49c2816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b3b8f - Browse repository at this point
Copy the full SHA 39b3b8fView commit details
Commits on Jan 12, 2021
-
eth: return error from eth_chainID during sync before EIP-155 activat…
…es (#21686) This changes the chainID RPC method to return an error when EIP-155 is not yet active at the current block height. It used to simply return zero in this case, but that's confusing.
Configuration menu - View commit details
-
Copy full SHA for 984e752 - Browse repository at this point
Copy the full SHA 984e752View commit details -
cmd/utils: avoid making console preloads absolute (#22109)
Resolves etclabscore/core-geth#273 jsre.JSRE already handles establishing preload file paths relative to the 'assets' path (aka docroot), where it joins the assets dir and the file path if relative, or uses the file path only if absolute. The duplication of this logic by MakeConsolePreloads caused preloaded files to have paths which contained duplicate references to the assets dir path. Date: 2020-12-30 08:25:01-06:00 Signed-off-by: meows <b5c6@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23f837c - Browse repository at this point
Copy the full SHA 23f837cView commit details -
go.mod: use github.com/holiman/bloomfilter/v2 (#22044)
* deps: use improved bloom filter implementation * eth/handler, trie: use 4 keys for syncbloom + minor fixes * eth/protocols, trie: revert change on syncbloom method signature
Configuration menu - View commit details
-
Copy full SHA for 93a89b2 - Browse repository at this point
Copy the full SHA 93a89b2View commit details
Commits on Jan 13, 2021
-
cmd/utils: don't enumerate USB unless --usb is set (#22130)
USB enumeration still occured. Make sure it will only occur if --usb is set. This also deprecates the 'NoUSB' config file option in favor of a new option 'USB'.
Configuration menu - View commit details
-
Copy full SHA for c7a6be1 - Browse repository at this point
Copy the full SHA c7a6be1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c940817 - Browse repository at this point
Copy the full SHA c940817View commit details -
graphql: fix spurious error in test (#22164)
This solves an issue in graphql tests: graphql_test.go:38: could not create new node: datadir already used by another process
Configuration menu - View commit details
-
Copy full SHA for 6296211 - Browse repository at this point
Copy the full SHA 6296211View commit details -
consensus/ethash: increase seal timeout for tests (#22162)
It seems that the 2 second timeout is not enough for Travis CI: --- FAIL: TestTestMode (2.00s) ethash_test.go:53: sealing result timeout
Configuration menu - View commit details
-
Copy full SHA for 2aaff0a - Browse repository at this point
Copy the full SHA 2aaff0aView commit details -
graphql: fix spurious travis failure (#22166)
The tests sometimes failed with certain go versions because the behavior of http.Server.Shutdown changed over time. A bug that was fixed in Go 1.15 could cause active connections on unrelated servers to close unexpectedly. This is fixed by avoiding use of the same port number in all tests.
Configuration menu - View commit details
-
Copy full SHA for 96157a8 - Browse repository at this point
Copy the full SHA 96157a8View commit details
Commits on Jan 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1296908 - Browse repository at this point
Copy the full SHA 1296908View commit details -
Merge pull request #22169 from karalabe/faucet-regen
cmd/faucet: update the embedded website asset
Configuration menu - View commit details
-
Copy full SHA for d13c59f - Browse repository at this point
Copy the full SHA d13c59fView commit details
Commits on Jan 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c4deebb - Browse repository at this point
Copy the full SHA c4deebbView commit details -
Merge pull request #22177 from karalabe/snapshot-storage-logs
core/state/snapshot: add generation logs to storage too
Configuration menu - View commit details
-
Copy full SHA for 3944976 - Browse repository at this point
Copy the full SHA 3944976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d62ee6 - Browse repository at this point
Copy the full SHA 8d62ee6View commit details
Commits on Jan 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c76573a - Browse repository at this point
Copy the full SHA c76573aView commit details -
les: remove useless protocol defines (#22115)
This PR has two changes in the les protocol: - the auxRoot is not supported. See ethereum/devp2p#171 for more information - the empty response will be returned in GetHelperTrieProofsMsg request if the merkle proving is failed. note, for backward compatibility, the empty merkle proof as well as the request auxiliary data will still be returned in les2/3 protocol no matter the proving is successful or not. the proving failure can happen e.g. request the proving for a non-included entry in helper trie (unstable header).
Configuration menu - View commit details
-
Copy full SHA for 034ecc3 - Browse repository at this point
Copy the full SHA 034ecc3View commit details
Commits on Jan 18, 2021
-
tests/fuzzers/abi: better test generation (#22158)
* tests/fuzzers/abi: better test generation * tests/fuzzers/abi: fixed packing issue * oss-fuzz: enable abi fuzzer
Configuration menu - View commit details
-
Copy full SHA for 3981822 - Browse repository at this point
Copy the full SHA 3981822View commit details -
cmd/geth: dump config for metrics (#22083)
* cmd/geth: dump config * cmd/geth: dump config * cmd/geth: properly read config again * cmd/geth: override metrics if flags are set * cmd/geth: write metrics regardless if enabled * cmd/geth: renamed to metricsfromcliargs * metrics: add default configuration
Configuration menu - View commit details
-
Copy full SHA for 10555d4 - Browse repository at this point
Copy the full SHA 10555d4View commit details -
core/state/snapshot: write snapshot generator in batch (#22163)
* core/state/snapshot: write snapshot generator in batch * core: refactor the tests * core: update tests * core: update tests
Configuration menu - View commit details
-
Copy full SHA for 5e9f5ca - Browse repository at this point
Copy the full SHA 5e9f5caView commit details
Commits on Jan 19, 2021
-
cmd/geth: graceful shutdown if disk is full (#22103)
Adding warnings of free disk space left and graceful shutdown when there is not enough space left. This also adds a flag datadir.minfreedisk which can be used to set the trigger for low disk space, and setting it to zero disables the check. Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 24c1e30 - Browse repository at this point
Copy the full SHA 24c1e30View commit details -
eth, les: add new config field SyncFromCheckpoint (#22123)
This PR introduces a new config field SyncFromCheckpoint for light client. In some special scenarios, it's required to start synchronization from some arbitrary checkpoint or even from the scratch. So this PR offers this flexibility to users so that the synchronization start point can be configured. There are two relevant configs: SyncFromCheckpoint and Checkpoint. - If the SyncFromCheckpoint is true, the light client will try to sync from the specified checkpoint. - If the Checkpoint is not configured, then the light client will sync from the scratch(from the latest header if the database is not empty) Additional notes: these two configs are not visible in the CLI flags but only accessable in the config file. Example Usage: [Eth] SyncFromCheckpoint = true [Eth.Checkpoint] SectionIndex = 100 SectionHead = "0xabc" CHTRoot = "0xabc" BloomRoot = "0xabc" PS. Historical checkpoint can be retrieved from the synced full node or light client via les_getCheckpoint API.
Configuration menu - View commit details
-
Copy full SHA for 45cb1a5 - Browse repository at this point
Copy the full SHA 45cb1a5View commit details
Commits on Jan 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d1301eb - Browse repository at this point
Copy the full SHA d1301ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7da8f75 - Browse repository at this point
Copy the full SHA 7da8f75View commit details -
downloader: extract findAncestor search functions (#21744)
This is a simple refactoring, extracting common ancestor negotiation logic to named function
Configuration menu - View commit details
-
Copy full SHA for 81bf9f9 - Browse repository at this point
Copy the full SHA 81bf9f9View commit details -
core: implement background trie prefetcher
Squashed from the following commits: core/state: lazily init snapshot storage map core/state: fix flawed meter on storage reads core/state: make statedb/stateobjects reuse a hasher core/blockchain, core/state: implement new trie prefetcher core: make trie prefetcher deliver tries to statedb core/state: refactor trie_prefetcher, export storage tries blockchain: re-enable the next-block-prefetcher state: remove panics in trie prefetcher core/state/trie_prefetcher: address some review concerns sq
Configuration menu - View commit details
-
Copy full SHA for 1e1865b - Browse repository at this point
Copy the full SHA 1e1865bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42f9f1f - Browse repository at this point
Copy the full SHA 42f9f1fView commit details -
Merge pull request #21047 from holiman/improve_updates_2
core: improve trie updates (part 2)
Configuration menu - View commit details
-
Copy full SHA for ddadc3d - Browse repository at this point
Copy the full SHA ddadc3dView commit details
Commits on Jan 21, 2021
-
eth/filters: fix potential deadlock in filter timeout loop (#22178)
This fixes #22131 and adds a test reproducing the issue.
Configuration menu - View commit details
-
Copy full SHA for c4307a9 - Browse repository at this point
Copy the full SHA c4307a9View commit details -
event: add ResubscribeErr (#22191)
This adds a way to get the error of the failing subscription for logging/debugging purposes. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 231040c - Browse repository at this point
Copy the full SHA 231040cView commit details
Commits on Jan 22, 2021
-
trie: fix range prover (#22210)
Fixes a special case when the trie only has a single trie node and the range proof only contains a single element.
Configuration menu - View commit details
-
Copy full SHA for 9e1bd0f - Browse repository at this point
Copy the full SHA 9e1bd0fView commit details -
common/mclock: remove dependency on github.com/aristanetworks/goarist…
…a (#22211) It takes three lines of code to get to runtime.nanotime, no need to pull a dependency for that.
Configuration menu - View commit details
-
Copy full SHA for f26c19c - Browse repository at this point
Copy the full SHA f26c19cView commit details
Commits on Jan 24, 2021
-
cmd, geth: CLI help fixes (#22220)
* cmd, geth: Reflect command being optional - closes 22218 * cmd, geth: Set current year to 2021
Configuration menu - View commit details
-
Copy full SHA for db35d77 - Browse repository at this point
Copy the full SHA db35d77View commit details -
cmd, geth: CLI help fixes (#22220)
* cmd, geth: Reflect command being optional - closes 22218 * cmd, geth: Set current year to 2021
Configuration menu - View commit details
-
Copy full SHA for 3708454 - Browse repository at this point
Copy the full SHA 3708454View commit details
Commits on Jan 25, 2021
-
eth/protocols/snap: snap sync testing (#22179)
* eth/protocols/snap: make timeout configurable * eth/protocols/snap: snap sync testing * eth/protocols/snap: test to trigger panic * eth/protocols/snap: fix race condition on timeouts * eth/protocols/snap: return error on cancelled sync * squashme: updates + test causing panic + properly serve accounts in order * eth/protocols/snap: revert failing storage response * eth/protocols/snap: revert on bad responses (storage, code) * eth/protocols/snap: fix account handling stall * eth/protocols/snap: fix remaining revertal-issues * eth/protocols/snap: timeouthandler for bytecode requests * eth/protocols/snap: debugging + fix log message * eth/protocols/snap: fix misspelliings in docs * eth/protocols/snap: fix race in bytecode handling * eth/protocols/snap: undo deduplication of storage roots * synctests: refactor + minify panic testcase * eth/protocols/snap: minor polishes * eth: minor polishes to make logs more useful * eth/protocols/snap: remove excessive logs from the test runs * eth/protocols/snap: stress tests with concurrency * eth/protocols/snap: further fixes to test cancel channel handling * eth/protocols/snap: extend test timeouts on CI Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 797b081 - Browse repository at this point
Copy the full SHA 797b081View commit details -
go.mod: update dependencies (#22216)
This updates go module dependencies as discussed in #22050.
Configuration menu - View commit details
-
Copy full SHA for 1770fe7 - Browse repository at this point
Copy the full SHA 1770fe7View commit details -
graphql: change receipt status to decimal instead of hex (#22187)
This PR fixes the receipt status field to be decimal instead of a hex string, as called for by the spec. Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for c0862f4 - Browse repository at this point
Copy the full SHA c0862f4View commit details -
go.mod: upgrade github.com/huin/goupnp (#22227)
This updates the goupnp dependency, fixing huin/goupnp#33
Configuration menu - View commit details
-
Copy full SHA for 59a7913 - Browse repository at this point
Copy the full SHA 59a7913View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a7226 - Browse repository at this point
Copy the full SHA 04a7226View commit details -
core: reset to genesis when middle block is missing (#22135)
When a sethead/rewind finds that the targeted block is missing, it resets to genesis instead of crashing. Closes #22129
Configuration menu - View commit details
-
Copy full SHA for 49cdcf5 - Browse repository at this point
Copy the full SHA 49cdcf5View commit details -
eth/tracers: move tracing APIs into eth/tracers (#22161)
This moves the tracing RPC API implementation to package eth/tracers. By doing so, package eth no longer depends on tracing and the duktape JS engine. The change also enables tracing using the light client. All tracing methods work with the light client, but it's a lot slower compared to using a full node.
Configuration menu - View commit details
-
Copy full SHA for adf130d - Browse repository at this point
Copy the full SHA adf130dView commit details -
eth, p2p: reserve half peer slots for snap peers during snap sync (#2…
…2171) * eth, p2p: reserve half peer slots for snap peers during snap sync * eth: less logging * eth: rework the eth/snap peer reservation logic * eth: rework the eth/snap peer reservation logic (again)
Configuration menu - View commit details
-
Copy full SHA for d2779ed - Browse repository at this point
Copy the full SHA d2779edView commit details -
tests/fuzzers/abi: fixed one-off panic with int.Min64 value (#22233)
* tests/fuzzers/abi: fixed one-off panic with int.Min64 value * tests/fuzzers/abi: fixed one-off panic with int.Min64 value
Configuration menu - View commit details
-
Copy full SHA for 7202b41 - Browse repository at this point
Copy the full SHA 7202b41View commit details
Commits on Jan 26, 2021
-
internal/ethapi: print tx details when submitting (#22170)
This adds more info about submitted transactions in log messages. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 573f373 - Browse repository at this point
Copy the full SHA 573f373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14d4954 - Browse repository at this point
Copy the full SHA 14d4954View commit details -
core: speed up header import (#21967)
This PR implements the following modifications - Don't shortcut check if block is present, thus avoid disk lookup - Don't check hash ancestry in early-check (it's still done in parallel checker) - Don't check time.Now for every single header Charts and background info can be found here: https://github.com/holiman/headerimport/blob/main/README.md With these changes, writing 1M headers goes down to from 80s to 62s.
Configuration menu - View commit details
-
Copy full SHA for 6816182 - Browse repository at this point
Copy the full SHA 6816182View commit details -
accounts/scwallet: use go-ethereum crypto instead of go-ecdh (#22212)
* accounts/scwallet: use go-ethereum crypto instead of go-ecdh github.com/wsddn/go-ecdh is a wrapper package for ECDH functionality with any elliptic curve. Since 'generic' ECDH is not required in accounts/scwallet (the curve is always secp256k1), we can just use the standard library functionality and our own crypto libraries to perform ECDH and save a dependency. * Update accounts/scwallet/securechannel.go Co-authored-by: Guillaume Ballet <gballet@gmail.com> * Use the correct key Co-authored-by: Guillaume Ballet <gballet@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ad038b6 - Browse repository at this point
Copy the full SHA ad038b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c57293 - Browse repository at this point
Copy the full SHA 9c57293View commit details -
les: switch to new discv5 (#21940)
This PR enables running the new discv5 protocol in both LES client and server mode. In client mode it mixes discv5 and dnsdisc iterators (if both are enabled) and filters incoming ENRs for "les" tag and fork ID. The old p2p/discv5 package and all references to it are removed. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for a72fa88 - Browse repository at this point
Copy the full SHA a72fa88View commit details
Commits on Jan 27, 2021
-
rpc: deprecate Client.ShhSubscribe (#22239)
It never worked, whisper uses polling. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 2e5d141 - Browse repository at this point
Copy the full SHA 2e5d141View commit details
Commits on Jan 28, 2021
-
cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213)
Removes the yolov2 definition, adds yolov3, including EIP-2565. This PR also disables some of the erroneously generated blockchain and statetests, and adds the new genesis hash + alloc for yolov3. This PR disables the CLI switches for yolo, since it's not complete until we merge support for 2930.
Configuration menu - View commit details
-
Copy full SHA for eb21c65 - Browse repository at this point
Copy the full SHA eb21c65View commit details -
les/utils: UDP rate limiter (#21930)
* les/utils: Limiter * les/utils: dropped prior weight vs variable cost logic, using fixed weights * les/utils: always create node selector in addressGroup * les/utils: renamed request weight to request cost * les/utils: simplified and improved the DoS penalty mechanism * les/utils: minor fixes * les/utils: made selection weight calculation nicer * les/utils: fixed linter warning * les/utils: more precise and reliable probabilistic test * les/utils: fixed linter warning
Configuration menu - View commit details
-
Copy full SHA for 7a800f9 - Browse repository at this point
Copy the full SHA 7a800f9View commit details
Commits on Jan 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f25b437 - Browse repository at this point
Copy the full SHA f25b437View commit details
Commits on Feb 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3c728fb - Browse repository at this point
Copy the full SHA 3c728fbView commit details
Commits on Feb 2, 2021
-
eth: check snap satelliteness, delegate drop to eth (#22235)
* eth: check snap satelliteness, delegate drop to eth * eth: better handle eth/snap satellite relation, merge reg/unreg paths
Configuration menu - View commit details
-
Copy full SHA for e3430ac - Browse repository at this point
Copy the full SHA e3430acView commit details -
cmd/geth, node: allow configuring JSON-RPC on custom path prefix (#22…
…184) This change allows users to set a custom path prefix on which to mount the http-rpc or ws-rpc handlers via the new flags --http.rpcprefix and --ws.rpcprefix. Fixes #21826 Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 4eae0c6 - Browse repository at this point
Copy the full SHA 4eae0c6View commit details -
all: remove unneeded parentheses (#21921)
* remove uneeded convertion type * remove redundant type in composite literal * omit explicit type where implicit * remove unused redundant parenthesis * remove redundant import alias duktape
Configuration menu - View commit details
-
Copy full SHA for ef84da8 - Browse repository at this point
Copy the full SHA ef84da8View commit details -
trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246)
The PR makes use of the stacktrie, which is is more lenient on resource consumption, than the regular trie, in cases where we only need it for DeriveSha
Configuration menu - View commit details
-
Copy full SHA for 83e4c49 - Browse repository at this point
Copy the full SHA 83e4c49View commit details
Commits on Feb 3, 2021
-
core: reset txpool state on sethead (#22247)
fixes an issue where local transactions that were included in the chain before a SetHead were rejected if resubmitted, since the txpool had not reset the state to the current (older) state.
Configuration menu - View commit details
-
Copy full SHA for 3512b41 - Browse repository at this point
Copy the full SHA 3512b41View commit details -
fuzzers: added consensys/gurvy library to bn256 differential fuzzer (…
…#21812) This pr adds consensys' gurvy bn256 variant into the code for differential fuzzing.
Configuration menu - View commit details
-
Copy full SHA for 54735a6 - Browse repository at this point
Copy the full SHA 54735a6View commit details
Commits on Feb 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2812132 - Browse repository at this point
Copy the full SHA 2812132View commit details -
eth: move eth.Config to a common package (#22205)
This moves the eth config definition into a separate package, eth/ethconfig. Packages eth and les can now import this common package instead of importing eth from les, reducing dependencies. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 098a2b6 - Browse repository at this point
Copy the full SHA 098a2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fba5a63 - Browse repository at this point
Copy the full SHA fba5a63View commit details -
eth: don't wait for snap registration if we're not running snap (#22272)
Prevents a situation where we (not running snap) connects with a peer running snap, and get stalled waiting for snap registration to succeed (which will never happen), which cause a waitgroup wait to halt shutdown
Configuration menu - View commit details
-
Copy full SHA for 7ed860d - Browse repository at this point
Copy the full SHA 7ed860dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e74bd58 - Browse repository at this point
Copy the full SHA e74bd58View commit details
Commits on Feb 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 994cdc6 - Browse repository at this point
Copy the full SHA 994cdc6View commit details
Commits on Feb 8, 2021
-
metrics: fix cast omission in cpu_syscall.go (#22262)
fixes an regression which caused build failure on certain platforms
Configuration menu - View commit details
-
Copy full SHA for 477fd42 - Browse repository at this point
Copy the full SHA 477fd42View commit details -
Merge pull request #22280 from karalabe/snapshot-default
cmd/utils: enable snapshots by default
Configuration menu - View commit details
-
Copy full SHA for bbe694f - Browse repository at this point
Copy the full SHA bbe694fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d86906f - Browse repository at this point
Copy the full SHA d86906fView commit details -
all: bloom-filter based pruning mechanism (#21724)
* cmd, core, tests: initial state pruner core: fix db inspector cmd/geth: add verify-state cmd/geth: add verification tool core/rawdb: implement flatdb cmd, core: fix rebase core/state: use new contract code layout core/state/pruner: avoid deleting genesis state cmd/geth: add helper function core, cmd: fix extract genesis core: minor fixes contracts: remove useless core/state/snapshot: plugin stacktrie core: polish core/state/snapshot: iterate storage concurrently core/state/snapshot: fix iteration core: add comments core/state/snapshot: polish code core/state: polish core/state/snapshot: rebase core/rawdb: add comments core/rawdb: fix tests core/rawdb: improve tests core/state/snapshot: fix concurrent iteration core/state: run pruning during the recovery core, trie: implement martin's idea core, eth: delete flatdb and polish pruner trie: fix import core/state/pruner: add log core/state/pruner: fix issues core/state/pruner: don't read back core/state/pruner: fix contract code write core/state/pruner: check root node presence cmd, core: polish log core/state: use HEAD-127 as the target core/state/snapshot: improve tests cmd/geth: fix verification tool cmd/geth: use HEAD as the verification default target all: replace the bloomfilter with martin's fork cmd, core: polish code core, cmd: forcibly delete state root core/state/pruner: add hash64 core/state/pruner: fix blacklist core/state: remove blacklist cmd, core: delete trie clean cache before pruning cmd, core: fix lint cmd, core: fix rebase core/state: fix the special case for clique networks core/state/snapshot: remove useless code core/state/pruner: capping the snapshot after pruning cmd, core, eth: fixes core/rawdb: update db inspector cmd/geth: polish code core/state/pruner: fsync bloom filter cmd, core: print warning log core/state/pruner: adjust the parameters for bloom filter cmd, core: create the bloom filter by size core: polish core/state/pruner: sanitize invalid bloomfilter size cmd: address comments cmd/geth: address comments cmd/geth: address comment core/state/pruner: address comments core/state/pruner: rename homedir to datadir cmd, core: address comments core/state/pruner: address comment core/state: address comments core, cmd, tests: address comments core: address comments core/state/pruner: release the iterator after each commit core/state/pruner: improve pruner cmd, core: adjust bloom paramters core/state/pruner: fix lint core/state/pruner: fix tests core: fix rebase core/state/pruner: remove atomic rename core/state/pruner: address comments all: run go mod tidy core/state/pruner: avoid false-positive for the middle state roots core/state/pruner: add checks for middle roots cmd/geth: replace crit with error * core/state/pruner: fix lint * core: drop legacy bloom filter * core/state/snapshot: improve pruner * core/state/snapshot: polish concurrent logs to report ETA vs. hashes * core/state/pruner: add progress report for pruning and compaction too * core: fix snapshot test API * core/state: fix some pruning logs * core/state/pruner: support recovering from bloom flush fail Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f566dd3 - Browse repository at this point
Copy the full SHA f566dd3View commit details -
Merge pull request #22288 from karalabe/1.10.unstable
params: just to make snapshots a bit more official
Configuration menu - View commit details
-
Copy full SHA for 123e934 - Browse repository at this point
Copy the full SHA 123e934View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2728672 - Browse repository at this point
Copy the full SHA 2728672View commit details -
Merge pull request #22291 from karalabe/fix-pruner-compaction
core/state/pruner: fix compaction after pruning
Configuration menu - View commit details
-
Copy full SHA for 944d901 - Browse repository at this point
Copy the full SHA 944d901View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74dbc20 - Browse repository at this point
Copy the full SHA 74dbc20View commit details
Commits on Feb 9, 2021
-
Merge pull request #22294 from holiman/pruner_compact_fix
core/state/pruner: fix compaction range error
Configuration menu - View commit details
-
Copy full SHA for 2fdba3a - Browse repository at this point
Copy the full SHA 2fdba3aView commit details -
internal/debug: add switch to format logs with json (#22207)
adds a flag --log.json which if enabled makes the client format logs with JSON.
Configuration menu - View commit details
-
Copy full SHA for 2778667 - Browse repository at this point
Copy the full SHA 2778667View commit details
Commits on Feb 10, 2021
-
accounts/abi/bind: fixed unpacking error (#22230)
There was a dormant error with structured inputs that failed unpacking. This commit fixes the error by switching casting to the better abi.ConvertType function. It also adds a test for calling a view function that returns a struct
Configuration menu - View commit details
-
Copy full SHA for cb3c7e4 - Browse repository at this point
Copy the full SHA cb3c7e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 409b16e - Browse repository at this point
Copy the full SHA 409b16eView commit details -
Merge pull request #22293 from karalabe/txunindex-1year
cmd/utils, eth/ethconfig: unindex txs older than ~1 year
Configuration menu - View commit details
-
Copy full SHA for 1bbc8a1 - Browse repository at this point
Copy the full SHA 1bbc8a1View commit details
Commits on Feb 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 111abdc - Browse repository at this point
Copy the full SHA 111abdcView commit details
Commits on Feb 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ef227c5 - Browse repository at this point
Copy the full SHA ef227c5View commit details -
Merge pull request #22319 from karalabe/fix-defer-leak
core: fix temp memory blowup caused by defers holding on to state
Configuration menu - View commit details
-
Copy full SHA for 2fc465a - Browse repository at this point
Copy the full SHA 2fc465aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d1b711 - Browse repository at this point
Copy the full SHA 7d1b711View commit details
Commits on Feb 15, 2021
-
cmd/utils: add workaround for FreeBSD statfs quirk (#22310)
Make geth build on FreeBSD, fixes #22309.
Configuration menu - View commit details
-
Copy full SHA for 08c878a - Browse repository at this point
Copy the full SHA 08c878aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7778780 - Browse repository at this point
Copy the full SHA 7778780View commit details
Commits on Feb 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e991bda - Browse repository at this point
Copy the full SHA e991bdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4fcd4f - Browse repository at this point
Copy the full SHA f4fcd4fView commit details -
Merge pull request #22332 from karalabe/fix-fastsync-restart-bloom-crash
trie: fix bloom crash on fast sync restart
Configuration menu - View commit details
-
Copy full SHA for 915c614 - Browse repository at this point
Copy the full SHA 915c614View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec3329 - Browse repository at this point
Copy the full SHA 9ec3329View commit details -
Merge pull request #22331 from karalabe/enforce-min-snap-difflayers
core/state/snapshot: ensure Cap retains a min number of layers
Configuration menu - View commit details
-
Copy full SHA for 6291fc9 - Browse repository at this point
Copy the full SHA 6291fc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfdff4c - Browse repository at this point
Copy the full SHA bfdff4cView commit details -
cmd/devp2p/internal/ethtest: use shared message types (#22315)
This updates the eth protocol test suite to use the message type definitions of the 'production' protocol implementation in eth/protocols/eth.
Configuration menu - View commit details
-
Copy full SHA for f9445e9 - Browse repository at this point
Copy the full SHA f9445e9View commit details -
Merge pull request #22334 from karalabe/fix-snap-cancel
eth: fix snap sync cancellation
Configuration menu - View commit details
-
Copy full SHA for 1489c3f - Browse repository at this point
Copy the full SHA 1489c3fView commit details
Commits on Feb 17, 2021
-
eth/handler, broadcast: optimize tx broadcast mechanism (#22176)
This PR optimizes the broadcast loop. Instead of iterating twice through a given set of transactions to weed out which peers have and which do not have a tx, to send/announce transactions, we do it only once.
Configuration menu - View commit details
-
Copy full SHA for e01096f - Browse repository at this point
Copy the full SHA e01096fView commit details
Commits on Feb 18, 2021
-
core/state: copy the snap when copying the state (#22340)
* core/state: copy the snap when copying the state * core/state: deep-copy snap stuff during state Copy
Configuration menu - View commit details
-
Copy full SHA for 52e5c38 - Browse repository at this point
Copy the full SHA 52e5c38View commit details -
rlp: handle case of normal EOF in Stream.readFull (#22336)
io.Reader may return n > 0 and io.EOF at the end of the input stream. readFull did not handle this correctly, looking only at the error. This fixes it to check for n == len(buf) as well.
Configuration menu - View commit details
-
Copy full SHA for 9ec32a9 - Browse repository at this point
Copy the full SHA 9ec32a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1835b3 - Browse repository at this point
Copy the full SHA b1835b3View commit details -
* eth/protocols/eth: split up the eth protocol handlers * eth/protocols/eth: define eth-66 protocol messages * eth/protocols/eth: poc implement getblockheaders on eth/66 * eth/protocols/eth: implement remaining eth-66 handlers * eth/protocols: define handler map for eth 66 * eth/downloader: use protocol constants from eth package * eth/protocols/eth: add ETH66 capability * eth/downloader: tests for eth66 * eth/downloader: fix error in tests * eth/protocols/eth: use eth66 for outgoing requests * eth/protocols/eth: remove unused error type * eth/protocols/eth: define protocol length * eth/protocols/eth: fix pooled tx over eth66 * protocols/eth/handlers: revert behavioural change which caused tests to fail * eth/downloader: fix failing test * eth/protocols/eth: add testcases + fix flaw with header requests * eth/protocols: change comments * eth/protocols/eth: review fixes + fixed flaw in RequestOneHeader * eth/protocols: documentation * eth/protocols/eth: review concerns about types
Configuration menu - View commit details
-
Copy full SHA for 6ec1561 - Browse repository at this point
Copy the full SHA 6ec1561View commit details
Commits on Feb 19, 2021
-
p2p/dnsdisc: fix hot-spin when all trees are empty (#22313)
In the random sync algorithm used by the DNS node iterator, we first pick a random tree and then perform one sync action on that tree. This happens in a loop until any node is found. If no trees contain any nodes, the iterator will enter a hot loop spinning at 100% CPU. The fix is complicated. The iterator now checks if a meaningful sync action can be performed on any tree. If there is nothing to do, it waits for the next root record recheck time to arrive and then tries again. Fixes #22306
Configuration menu - View commit details
-
Copy full SHA for d36276d - Browse repository at this point
Copy the full SHA d36276dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c027507 - Browse repository at this point
Copy the full SHA c027507View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca76db6 - Browse repository at this point
Copy the full SHA ca76db6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5023e1 - Browse repository at this point
Copy the full SHA c5023e1View commit details -
les: fix balance expiration (#22343)
* les/lespay/server: fix balance expiration and add test * les: move client balances to a new db * les: rename lespayDb to lesDb
Configuration menu - View commit details
-
Copy full SHA for 8647233 - Browse repository at this point
Copy the full SHA 8647233View commit details
Commits on Feb 20, 2021
-
tests/fuzzers/les: add fuzzer for les server handler (#22282)
* les: refactored server handler * tests/fuzzers/les: add fuzzer for les server handler * tests, les: update les fuzzer tests: update les fuzzer tests/fuzzer/les: release resources tests/fuzzer/les: pre-initialize all resources * les: refactored server handler and fuzzer Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8f03e3b - Browse repository at this point
Copy the full SHA 8f03e3bView commit details
Commits on Feb 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3ecfdcc - Browse repository at this point
Copy the full SHA 3ecfdccView commit details
Commits on Feb 23, 2021
-
cmd/geth: add db commands stats, compact, put, get, delete (#22014)
This PR introduces: - db.put to put a value into the database - db.get to read a value from the database - db.delete to delete a value from the database - db.stats to check compaction info from the database - db.compact to trigger a db compaction It also moves inspectdb to db.inspect.
Configuration menu - View commit details
-
Copy full SHA for c4a2b68 - Browse repository at this point
Copy the full SHA c4a2b68View commit details -
internal/ethapi: reject non-replay-protected txs over RPC (#22339)
This PR prevents users from submitting transactions without EIP-155 enabled. This behaviour can be overridden by specifying the flag --rpc.allow-unprotected-txs=true.
Configuration menu - View commit details
-
Copy full SHA for 142fbcf - Browse repository at this point
Copy the full SHA 142fbcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d1a0e9 - Browse repository at this point
Copy the full SHA 2d1a0e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2743fb0 - Browse repository at this point
Copy the full SHA 2743fb0View commit details -
travis, appveyor, build, Dockerfile: bump Go to 1.16 (#22351)
* travis, appveyor, build: bump Go to 1.16 * accounts/abi/bind: fix up Go mod files for Go 1.16
Configuration menu - View commit details
-
Copy full SHA for 4ee8d2d - Browse repository at this point
Copy the full SHA 4ee8d2dView commit details -
Merge pull request #22350 from karalabe/disable-preimage-collection
cmd/utils: disable caching preimages by default
Configuration menu - View commit details
-
Copy full SHA for cdb6a84 - Browse repository at this point
Copy the full SHA cdb6a84View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9aa267 - Browse repository at this point
Copy the full SHA c9aa267View commit details -
Merge pull request #22368 from karalabe/ndk-bump
travis: bump Android NDK version
Configuration menu - View commit details
-
Copy full SHA for b502c86 - Browse repository at this point
Copy the full SHA b502c86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70afe15 - Browse repository at this point
Copy the full SHA 70afe15View commit details -
Merge pull request #22369 from karalabe/android-bionic-builder
travis: bump builders to Bionic
Configuration menu - View commit details
-
Copy full SHA for bf5b379 - Browse repository at this point
Copy the full SHA bf5b379View commit details
Commits on Feb 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f54dc4a - Browse repository at this point
Copy the full SHA f54dc4aView commit details -
cmd/utils: remove deprecated command line flags (#22263)
This removes support for all deprecated flags except --rpc*.
Configuration menu - View commit details
-
Copy full SHA for 8e547ee - Browse repository at this point
Copy the full SHA 8e547eeView commit details
Commits on Feb 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b2b5c82 - Browse repository at this point
Copy the full SHA b2b5c82View commit details -
Merge pull request #22381 from karalabe/lower-error-log
eth/protocols/snap: lower abortion and resumption logs to debug
Configuration menu - View commit details
-
Copy full SHA for 96d9306 - Browse repository at this point
Copy the full SHA 96d9306View commit details -
cmd, eth, les: enable serving light clients when non-synced (#22250)
This PR adds a more CLI flag, so that the les-server can serve light clients even the local node is not synced yet. This functionality is needed in some testing environments(e.g. hive). After launching the les server, no more blocks will be imported so the node is always marked as "non-synced".
Configuration menu - View commit details
-
Copy full SHA for 378e961 - Browse repository at this point
Copy the full SHA 378e961View commit details -
les, light: improve txstatus retrieval (#22349)
Transaction unindexing will be enabled by default as of 1.10, which causes tx status retrieval will be broken without this PR. This PR introduces a retry mechanism in TxStatus retrieval.
Configuration menu - View commit details
-
Copy full SHA for 7a3c890 - Browse repository at this point
Copy the full SHA 7a3c890View commit details -
all: add support for EIP-2718, EIP-2930 transactions (#21502)
This adds support for EIP-2718 typed transactions as well as EIP-2930 access list transactions (tx type 1). These EIPs are scheduled for the Berlin fork. There very few changes to existing APIs in core/types, and several new APIs to deal with access list transactions. In particular, there are two new constructor functions for transactions: types.NewTx and types.SignNewTx. Since the canonical encoding of typed transactions is not RLP-compatible, Transaction now has new methods for encoding and decoding: MarshalBinary and UnmarshalBinary. The existing EIP-155 signer does not support the new transaction types. All code dealing with transaction signatures should be updated to use the newer EIP-2930 signer. To make this easier for future updates, we have added new constructor functions for types.Signer: types.LatestSigner and types.LatestSignerForChainID. This change also adds support for the YoloV3 testnet. Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bbfb1e4 - Browse repository at this point
Copy the full SHA bbfb1e4View commit details -
cmd/devp2p: add eth66 test suite (#22363)
Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for de9465f - Browse repository at this point
Copy the full SHA de9465fView commit details -
les: move server pool to les/vflux/client (#22377)
* les: move serverPool to les/vflux/client * les: add metrics * les: moved ValueTracker inside ServerPool * les: protect against node registration before server pool is started * les/vflux/client: fixed tests * les: make peer registration safe
Configuration menu - View commit details
-
Copy full SHA for dc109cc - Browse repository at this point
Copy the full SHA dc109ccView commit details
Commits on Feb 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0928562 - Browse repository at this point
Copy the full SHA 0928562View commit details -
rpc: add separate size limit for websocket (#22385)
This makes the WebSocket message size limit independent of the limit used for HTTP requests. The new limit for WebSocket messages is 15MB.
Configuration menu - View commit details
-
Copy full SHA for 27b3137 - Browse repository at this point
Copy the full SHA 27b3137View commit details -
Merge pull request #22380 from karalabe/berlin
all: define and enable the Berlin hard fork on all networks
Configuration menu - View commit details
-
Copy full SHA for 744707a - Browse repository at this point
Copy the full SHA 744707aView commit details -
accounts/keystore: use github.com/google/uuid (#22217)
This replaces the github.com/pborman/uuid dependency with github.com/google/uuid because the former is only a wrapper for the latter (since v1.0.0). Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 3822b09 - Browse repository at this point
Copy the full SHA 3822b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 498458b - Browse repository at this point
Copy the full SHA 498458bView commit details
Commits on Mar 1, 2021
-
les: UDP pre-negotiation of available server capacity (#22183)
This PR implements the first one of the "lespay" UDP queries which is already useful in itself: the capacity query. The server pool is making use of this query by doing a cheap UDP query to determine whether it is worth starting the more expensive TCP connection process.
Configuration menu - View commit details
-
Copy full SHA for d968704 - Browse repository at this point
Copy the full SHA d968704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19d7a37 - Browse repository at this point
Copy the full SHA 19d7a37View commit details
Commits on Mar 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0540d3c - Browse repository at this point
Copy the full SHA 0540d3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c539a05 - Browse repository at this point
Copy the full SHA c539a05View commit details -
cmd/utils: fix txlookuplimit for archive node (#22419)
* cmd/utils: fix exclusive check for archive node * cmd/utils: set the txlookuplimit to 0
Configuration menu - View commit details
-
Copy full SHA for 07e907c - Browse repository at this point
Copy the full SHA 07e907cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba99910 - Browse repository at this point
Copy the full SHA ba99910View commit details -
Configuration menu - View commit details
-
Copy full SHA for b24804d - Browse repository at this point
Copy the full SHA b24804dView commit details -
cmd: retire whisper flags (#22421)
* cmd: retire whisper flags * cmd/geth: remove whisper configs
Configuration menu - View commit details
-
Copy full SHA for 5a81dd9 - Browse repository at this point
Copy the full SHA 5a81dd9View commit details -
tests: update to latest tests (#22290)
This updates the consensus tests to commit 31d6630 and adds support for access list transactions in the test runner. Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for cd316d7 - Browse repository at this point
Copy the full SHA cd316d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56dec25 - Browse repository at this point
Copy the full SHA 56dec25View commit details