- Oct 10, 2021
-
-
aaronbuchwald authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
hsyodyssey authored
-
Aditya Arora authored
This prevents the console from crashing when auto-completing on a variable or property that is null or undefined. Fixes #23693
-
- Oct 09, 2021
-
-
Felix Lange authored
node.Node no longer registers any account manager backends by default, they need to be registered explicitly. For ethash-based tests, we actually don't need any accounts in the miner keystore. Just set the etherbase instead to make mining work. For clique, the signer account must be in the keystore. The change also adds interrupt handling in stress tests.
-
- Oct 08, 2021
-
-
Marius van der Wijden authored
This fixes a data race on worker.current by moving the call to StopPrefetcher into the main loop. The commit also contains fixes for two other races in unit tests of unrelated packages.
-
Martin Holst Swende authored
This ensures that all miner goroutines have exited before stopping the blockchain. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
Go 1.17.2 fixes some miscompilation issues on amd64 and a runtime issue with timers. While the upgrade is not strictly necessary for go-ethereum right now, it is still good to be up-to-date.
-
Sean authored
-
- Oct 07, 2021
-
-
Sina Mahmoodi authored
Fixes #23681 After the fix I get the address 0x6d6d02e83c4ced98204e20126acf27e9d87b8af2 for the tx mentioned in the ticket, which agrees with etherscan.
-
Martin Holst Swende authored
This change removes misuses of sync.WaitGroup in BlockChain. Before this change, block insertion modified the WaitGroup counter in order to ensure that Stop would wait for pending operations to complete. This was racy and could even lead to crashes if Stop was called at an unfortunate time. The issue is resolved by adding a specialized 'closable' mutex, which prevents chain modifications after stopping while also synchronizing writers with each other. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Oct 06, 2021
-
-
aaronbuchwald authored
This resolves a long-standing TODO. The point of copying the address is to ensure that all data referenced by types.Transaction is independent of the data passed into the constructor. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Oct 05, 2021
-
-
Felix Lange authored
This update includes fixes for the *BSD build and go module vendoring.
-
Martin Holst Swende authored
This PR adds a method to the debug namespace, to iterate over the blocks and check where we have the roots on disk.
-
- Oct 04, 2021
-
-
Ferran Borreguero authored
-
Miro authored
The test did not synchronize with per-case goroutines, and thus didn't notice that some tests were just hanging. This change adds missing synchronization and fixes the broken tests.
-
hsyodyssey authored
-
- Oct 03, 2021
-
-
Péter Szilágyi authored
internal/ethapi: make header/block rlp retrieval canonical
-
Péter Szilágyi authored
-
- Oct 01, 2021
-
-
Sina Mahmoodi authored
* eth/tracers: fix calltracer fault handling * eth/tracers: fix calltracer indentation
-
Péter Szilágyi authored
internal/ethapi: support retrieving header RLPs too
-
Péter Szilágyi authored
-
- Sep 29, 2021
-
-
Ikko Ashimine authored
-
Felix Lange authored
-
Felix Lange authored
-
Martin Holst Swende authored
-
- Sep 28, 2021
-
-
Martin Holst Swende authored
Fixes #23640
-
Ferran Borreguero authored
* Simplify peer known block/txns cache * Address minor changes * Add more minor comments * Minor changes from review
-
Martin Holst Swende authored
This PR fixes an issue in traceChain, where the statedb Commit operation was performed asynchronously with dereference-operations agains the underlying trie.Database instance. Due to how the reference counting works within the trie database (where parent count is recursively updated when new parents are added), doing dereferencing in the middle of Commit can cause the refcount to become wrong, leading to an inconsistent state. This was fixed by doing Commit/Deref from the same routine.
-
Yihau Chen authored
* accounts/abi/bind: check event signature before parsing * remove redundant break line
-
Sina Mahmoodi authored
* core/types: rm extranous check in test * core/rawdb: add lightweight types for block logs * core/rawdb,eth: use lightweight accessor for log filtering * core/rawdb: add bench for decoding into rlpLogs
-
Martin Holst Swende authored
This PR implements a new debug method, which I've talked briefly about to some other client developers. It allows the caller to obtain the intermediate state roots for a block (which might be either a canon block or a 'bad' block).
-
Guillaume Ballet authored
* core/state: abstracted "write account to trie" method * fix appveyor build * Apply suggestions from code review Co-authored-by:
Martin Holst Swende <martin@swende.se> * review feedback * core/state/accounts: move Account to core/types * core/types: rename Account -> StateAccount * core/state: restore EncodeRLP for stateObject * core/types: add the missing file * more review feedback * more review feedback Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Sep 27, 2021
-
-
Sina Mahmoodi authored
* eth/tracers: add re-write of 4byte tracer using enter/exit * eth/tracers: fix 4byte indent
-
Zachinquarantine authored
-
Jordan Krage authored
This PR adds a 30s timeout for the remote part to answer a ping message, thus detecting (silent) disconnnects
-
- Sep 22, 2021
-
-
Gary Rong authored
-
- Sep 21, 2021
-
-
Sina Mahmoodi authored
* rpc: set scheme for ws and ipc conns to the server * rpc: review fixes * rpc: bugfix * rpc: empty default scheme
-
Marius van der Wijden authored
Closes #23522 Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Thad Guidry authored
* add explicit note about typing exit in console * Add note about typing exit as alternative
-
- Sep 20, 2021
-
-
Péter Szilágyi authored
go.mod: fix module file to prevent go from updating it during build
-