Rebase 1.3.1#7
Merged
expanse-project merged 117 commits intomasterfrom Nov 18, 2015
Merged
Conversation
common: fix ethereum#1818, secondary datadir paths to fall back to
core, trie: new trie
This PR solves an issue with the chain manager posting a `RemovedTransactionEvent`, the tx pool will try to acquire the chainmanager lock which has previously been locked prior to posting `RemovedTransactionEvent`. This results in a deadlock in the core.
core: deadlock in chainmanager after posting RemovedTransactionEvent
eth/downloader: match capabilities when querying idle peers
Moved the filtering system from `event` to `eth/filters` package and removed the `core.Filter` object. The `filters.Filter` object now requires a `common.Database` rather than a `eth.Backend` and invokes the `core.GetBlockByX` directly rather than thru a "manager".
* Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`.
* Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
core, core/vm: refactor
Due to a rebase this probably got overlooked / ignored. This fixes the issue of a block insertion never writing the last block.
core: fixed head write on block insertion
cmd/geth: dev version number
core: fix ethereum#1848, block receipts db entry for the genesis too
console/history respect datadir
crypto: correct sig validation, add missing unit tests of exported functions
core, core/vm, cmd/evm: remove redundant balance check
…tines eth: don't block sync goroutines that short circuit
Argument parsing can lead to panic in rpc channel
There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes ethereum#1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile.
Fix for xeth OOM issue
Godeps: upgrade github.com/huin/goupnp
cmd/geth, cmd/utils, eth: group CLI flags by purpose
eth: added new testnet peers
This PR fixes an issue where the remote worker was stopped twice and not properly handled. This adds a synchronised running check to the start and stop methods preventing closing of a channel more than once.
miner: synchronise start / stop
Conflicts: VERSION cmd/geth/main.go
…se-1.3.1 Conflicts: Godeps/Godeps.json Godeps/_workspace/src/github.com/expanse-project/ethash/ethash_test.go Makefile VERSION cmd/gexp/blocktestcmd.go cmd/gexp/js.go cmd/gexp/js_test.go cmd/gexp/main.go cmd/utils/cmd.go cmd/utils/flags.go common/natspec/natspec.go common/natspec/natspec_e2e_test.go common/natspec/natspec_e2e_test.go.orig common/path.go common/registrar/registrar.go core/block_processor.go core/block_processor_test.go core/chain_manager.go core/chain_manager_test.go core/chain_util_test.go core/events.go core/execution.go core/filter.go core/state/errors.go core/state/statedb.go core/state_transition.go core/transaction_util.go core/types/bloom9.go core/types/common.go core/types/derive_sha.go core/types/receipt.go core/vm/common.go core/vm/environment.go core/vm/instructions.go core/vm/jit.go core/vm/jit_test.go core/vm/vm.go docker/Dockerfile docker/supervisord.conf eth/downloader/modes.go event/filter/eth_filter.go exp/backend.go exp/downloader/downloader.go exp/downloader/downloader_test.go exp/downloader/peer.go exp/downloader/queue.go exp/gasprice.go exp/handler.go exp/sync.go miner/worker.go rpc/api/admin.go rpc/api/debug.go rpc/api/eth.go rpc/api/eth_args.go rpc/api/miner.go rpc/api/personal.go rpc/comms/ipc.go rpc/comms/ipc_unix.go rpc/comms/ipc_windows.go tests/block_test_util.go tests/files/BlockchainTests/bcUncleTest.json trie/cache.go trie/fullnode.go trie/hashnode.go trie/secure_trie.go trie/shortnode.go trie/trie.go trie/trie_test.go trie/valuenode.go xeth/xeth.go
thanhson1085
pushed a commit
to gitter-badger/go-hiverium
that referenced
this pull request
Jul 3, 2018
add gofmt to Makefile
ldcc
added a commit
to gitter-badger/go-hiverium
that referenced
this pull request
Jul 30, 2018
configure genesis block, mining options
chrisfranko
pushed a commit
that referenced
this pull request
Mar 30, 2019
* added tests for new abi encoding features (#4) * added tests from bytes32[][] and string[] * added offset to other types * formatting * Abi/dynamic types (#5) * Revert "Abi/dynamic types (#5)" (#6) This reverts commit dabca31. * Abi/dynamic types (#7) * some cleanup * Apply suggestions from code review apply suggestions Co-Authored-By: vedhavyas <[email protected]> * added better formatting (#8) * review chnages * better comments
chrisfranko
pushed a commit
that referenced
this pull request
Aug 28, 2021
…er (#7) (ethereum#22989) Co-authored-by: Gary Rong <[email protected]> Co-authored-by: Mikhail Kalinin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.