- Oct 29, 2020
-
-
ledgerwatch authored
* Squashed 'interfaces/' content from commit c4e14d6dc git-subtree-dir: interfaces git-subtree-split: c4e14d6dc80a157c60acd42f0152d631d250601e * Squashed 'interfaces/' changes from c4e14d6dc..84c5faa5f 84c5faa5f Update README.md 07db484a1 Update README.md ea14fa4e3 Update README.md git-subtree-dir: interfaces git-subtree-split: 84c5faa5f956ea52119911f39ac5864b282dcec2 * Change proto paths * Squashed 'interfaces/' changes from 84c5faa5f..eb9859d41 eb9859d41 Correct syntax ae78fe955 Add go package git-subtree-dir: interfaces git-subtree-split: eb9859d4157351fac3b8bd2f477307a09978e6df * Switch to shared proto files * Fix generation * Remove duplicate files * Init hard-coded tips when not recovering * Only check initiation when extending up
-
Alex Sharov authored
* mdb tools * mdb tools * mdb tools * mdb tools * mdb tools * mdb tools * mdb tools * mdb tools * clean * clean * clean * clean * clean * rebase master Co-authored-by:
Alexey Akhunov <akhounov@gmail.com>
-
Alex Sharov authored
* aloow_delete_dupsort_values * check canonical receipt * exclusive lock for mdbx * readme_load_dump_tables * readme_load_dump_tables * readme_load_dump_tables * Remove IdealBatchSize change Co-authored-by:
Alexey Akhunov <akhounov@gmail.com>
-
Horacio Mijail Antón Quiles authored
* Add the missing CaptureStart and CaptureEnd * gofmt
-
Igor Mandrigin authored
-
- Oct 28, 2020
-
-
ledgerwatch authored
* Removed z3 submodule * Remove semantics and z3 from build * Fixes to CI
-
Igor Mandrigin authored
* fix compilation * add mdbx flag to the tg binary * fix makefile * fixups * fix makefile * fix readme * fix linters * fix tests
-
Alex Sharov authored
* exclusive lock for chaindata folder * exclusive lock for chaindata folder * exclusive lock for chaindata folder * mdb tools * resolve abs path * rpcdaemon to check exclusive lock * rpcdaemon to check exclusive lock * exclusive lock for mdbx * exclusive lock for mdbx
-
Igor Mandrigin authored
-
Igor Mandrigin authored
-
ledgerwatch authored
* Fix tables * Some corrections to DB walkthrough
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
- Oct 27, 2020
-
-
b00ris authored
-
ledgerwatch authored
* Try mutation based on B-tree * Use pointers * Fix NPE * Cleanup
-
Igor Mandrigin authored
-
ledgerwatch authored
Revert "[WIP - Discussion - Perf Testing] Use BTree instead of maps for Mutation (batch) (#1294)" (#1305) This reverts commit a9ae477d.
-
ledgerwatch authored
* Try mutation based on B-tree * Use pointers * Fix NPE * Cleanup
-
Alex Sharov authored
* set IH comparator * set IH comparator * Fix chain config Co-authored-by:
Alexey Akhunov <akhounov@gmail.com>
-
- Oct 26, 2020
-
-
Igor Mandrigin authored
-
Felix Lange authored
# Conflicts: # params/version.go
-
Felix Lange authored
This change implements the Discovery v5.1 wire protocol and also adds an interactive test suite for this protocol. # Conflicts: # cmd/devp2p/discv5cmd.go # p2p/discover/v5_encoding.go # p2p/discover/v5_encoding_test.go # p2p/discover/v5_udp.go # p2p/discover/v5_udp_test.go # p2p/discover/v5wire/session.go
-
Martin Holst Swende authored
-
gary rong authored
-
Marius van der Wijden authored
* accounts/keystore: add timeout to test to prevent failure on travis The TestWalletNotifications test sporadically fails on travis. This is because we shutdown the event collection before all events are received. Adding a small timeout (10 milliseconds) allows the collector to be scheduled and to consume all pending events before we shut it down. * accounts/keystore: added newlines back in * accounts/keystore: properly fix the walletNotifications test
-
Martin Holst Swende authored
* miner: exit loop when downloader Done or Failed Following the logic of the comment at the method, this fixes a regression introduced at 7cf56d6f , which would allow external parties to DoS with blocks, preventing mining progress. Signed-off-by:
meows <b5c6@protonmail.com> * miner: remove ineff assign (lint) Signed-off-by:
meows <b5c6@protonmail.com> * miner: update test re downloader events Signed-off-by:
meows <b5c6@protonmail.com> * Revert "miner: remove ineff assign (lint)" This reverts commit eaefcd34ab4862ebc936fb8a07578aa2744bc058. * Revert "miner: exit loop when downloader Done or Failed" This reverts commit 23abd34265aa246c38fc390bb72572ad6ae9fe3b. * miner: add test showing imprecise TestMiner Signed-off-by:
meows <b5c6@protonmail.com> * miner: fix waitForMiningState precision This helper function would return an affirmation on the first positive match on a desired bool. This was imprecise; it return false positives by not waiting initially for an 'updated' value. This fix causes TestMiner_2 to fail, which is expected. Signed-off-by:
meows <b5c6@protonmail.com> * miner: remove TestMiner_2 demonstrating broken test This test demonstrated the imprecision of the test helper function waitForMiningState. This function has been fixed with 6d365c2851, and this test test may now be removed. Signed-off-by:
meows <b5c6@protonmail.com> * miner: fix test regarding downloader event/mining expectations See comment for logic. Signed-off-by:
meows <b5c6@protonmail.com> * miner: add test describing expectations for downloader/mining events We expect that once the downloader emits a DoneEvent, signaling a successful sync, that subsequent StartEvents are not longer permitted to stop the miner. This prevents a security vulnerability where forced syncs via fake high blocks would stall mining operation. Signed-off-by:
meows <b5c6@protonmail.com> * miner: use 'canStop' state to fix downloader event handling - Break downloader event handling into event separating Done and Failed events. We need to treat these cases differently since a DoneEvent should prevent the miner from being stopped on subsequent downloader Start events. - Use canStop state to handle the one-off case when a downloader first succeeds. Signed-off-by:
meows <b5c6@protonmail.com> * miner: improve comment wording Signed-off-by:
meows <b5c6@protonmail.com> * miner: start mining on downloader events iff not already mining Signed-off-by:
meows <b5c6@protonmail.com> * miner: refactor miner update logic w/r/t downloader events This makes mining pause/start logic regarding downloader events more explicit. Instead of eternally handling downloader events after the first done event, the subscription is closed when downloader events are no longer actionable. Signed-off-by:
meows <b5c6@protonmail.com> * miner: fix handling downloader events on subcription closed Signed-off-by:
meows <b5c6@protonmail.com> * miner: (lint:gosimple) use range over chan instead of for/select Signed-off-by:
meows <b5c6@protonmail.com> * miner: refactor update loop to remove race condition The go routine handling the downloader events handling vars in parallel with the parent routine, causing a race condition. This change, though ugly, remove the condition while still allowing the downloader event subscription to be closed when the miner has no further use for it (ie DoneEvent). * miner: alternate fix for miner-flaw Co-authored-by:
meows <b5c6@protonmail.com> # Conflicts: # miner/miner_test.go
-
Giuseppe Bertone authored
# Conflicts: # cmd/geth/main.go # cmd/geth/usage.go
-
Martin Holst Swende authored
* peer: return localAddr instead of name to prevent spam We currently use the name (which can be freely set by the peer) in several log messages. This enables malicious actors to write spam into your geth log. This commit returns the localAddr instead of the freely settable name. * p2p: reduce usage of peer.Name in warn messages * eth, p2p: use truncated names * Update peer.go Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
mr_franklin authored
* imporve some web3-ext apis * Update web3ext.go Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
# Conflicts: # trie/stacktrie.go
-
mr_franklin authored
# Conflicts: # consensus/clique/clique.go
-
mr_franklin authored
# Conflicts: # les/txrelay.go # miner/unconfirmed.go
-
Hanjiang Yu authored
-
mr_franklin authored
# Conflicts: # core/state/state_object.go
-
gary rong authored
* trie: polish commit function * trie: fix typo # Conflicts: # trie/stacktrie.go # trie/trie_test.go
-
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 # Conflicts: # eth/downloader/downloader.go
-