Jeffrey Wilcke
80f26086ee
core, tests: get_hash fix
...
Make sure that we're fetching the hash from the current chain and not
the canonical chain.
9 years ago
Jeffrey Wilcke
796952a49a
Merge pull request #1758 from fjl/coinbase
...
core, core/state: move gas tracking out of core/state
9 years ago
Péter Szilágyi
aa0538db0b
eth: clean out light node notions from eth
9 years ago
Péter Szilágyi
a9d8dfc8e7
core, eth: roll back uncertain headers in failed fast syncs
9 years ago
Péter Szilágyi
b97e34a8e4
eth/downloader: concurrent receipt and state processing
9 years ago
Péter Szilágyi
ab27bee25a
core, eth, trie: direct state trie synchronization
9 years ago
Péter Szilágyi
832b37c822
core, eth: receipt chain reconstruction
9 years ago
Péter Szilágyi
42c8afd440
core: differentiate receipt concensus and storage decoding
9 years ago
Péter Szilágyi
b99fe27f8b
core: fix block canonical mark / content write race
9 years ago
Péter Szilágyi
f186b39018
eth/downloader: add fast and light sync strategies
9 years ago
Péter Szilágyi
c33cc382b3
core: support inserting pure header chains
9 years ago
Péter Szilágyi
92f9a3e5fa
cmd, eth: support switching client modes of operation
9 years ago
Felix Lange
de8d5aaa92
core, core/state: move gas tracking out of core/state
...
The amount of gas available for tx execution was tracked in the
StateObject representing the coinbase account. This commit makes the gas
counter a separate type in package core, which avoids unintended
consequences of intertwining the counter with state logic.
9 years ago
Jeffrey Wilcke
8c85532412
core/vm: added parsing utilities
9 years ago
Jeffrey Wilcke
b196278044
core/vm: added JIT segmenting / optimisations
...
* multi-push segments
* static jumps segments
9 years ago
Jeffrey Wilcke
9d61d78de6
core/vm: abstracted instruction execution away from JIT
...
Moved the execution of instructions to the instruction it self. This
will allow for specialised instructions (e.g. segments) to be execution
in the same manner as regular instructions.
9 years ago
Jeffrey Wilcke
10ed107ba2
Merge pull request #1899 from obscuren/mipmap-bloom
...
core, eth/filters, miner, xeth: Optimised log filtering
9 years ago
Jeffrey Wilcke
6dc14788a2
core, eth/filters, miner, xeth: Optimised log filtering
...
Log filtering is now using a MIPmap like approach where addresses of
logs are added to a mapped bloom bin. The current levels for the MIP are
in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are
therefor filtered in batches of 1.000.
9 years ago
Jeffrey Wilcke
c5ef2afda5
Merge pull request #1907 from Gustav-Simonsson/ethash_godep
...
godeps: update ethash following GPU miner merge
9 years ago
Gustav Simonsson
d5f56ad5c5
godeps: update ethash following GPU miner merge
9 years ago
Jeffrey Wilcke
d5327ddc5f
Merge pull request #1869 from Gustav-Simonsson/gpu_miner
...
all: Add GPU mining, disabled by default
9 years ago
Jeffrey Wilcke
b747754009
Merge pull request #1881 from Gustav-Simonsson/state_new_error
...
core/state, core, miner: handle missing root error from state.New
9 years ago
Gustav Simonsson
1b1f293082
core/state, core, miner: handle missing root error from state.New
9 years ago
Jeffrey Wilcke
f466243417
Merge pull request #1853 from Gustav-Simonsson/libsecp256k1_update
...
Update libsecp256k1, Go wrapper and tests
9 years ago
Jeffrey Wilcke
30f057aaf9
eth/filters: added benchmark
9 years ago
Jeffrey Wilcke
cefe5c80b1
Merge pull request #1898 from karalabe/eventmux-post-race
...
core, eth, event, miner, xeth: fix event post / subscription race
9 years ago
Jeffrey Wilcke
2f1f2e4811
Merge pull request #1887 from Gustav-Simonsson/icap
...
common, crypto: add ICAP functions
9 years ago
Gustav Simonsson
2db9798646
common, crypto: add ICAP functions
9 years ago
Péter Szilágyi
402fd6e8c6
core, eth, event, miner, xeth: fix event post / subscription race
9 years ago
Jeffrey Wilcke
0de9b16b11
Merge pull request #1896 from karalabe/fix-vm-stack-logs
...
core/vm: copy stack element to prevent overwrites
9 years ago
Péter Szilágyi
af9afb686b
core/vm: copy stack element to prevent overwrites
9 years ago
Gustav Simonsson
f32fa075f1
core/secp256k1: update libsecp256k1 Go wrapper and tests
9 years ago
Jeffrey Wilcke
315a422ba7
Merge pull request #1888 from obscuren/testnet
...
cmd, core, eth: added official testnet
9 years ago
Jeffrey Wilcke
1de796f101
cmd, core, eth: added official testnet
9 years ago
Jeffrey Wilcke
9e91579105
Merge pull request #1885 from karalabe/olympic-fix
...
cmd: properly initialize Olympic for all subcommands
9 years ago
Jeffrey Wilcke
bba4dcb72f
Merge pull request #1880 from Gustav-Simonsson/core_transfer
...
core, core/vm, cmd/evm: remove redundant balance check
9 years ago
Jeffrey Wilcke
37abbcb54b
Merge pull request #1833 from Gustav-Simonsson/crypto_tests
...
crypto: correct sig validation, add missing unit tests of exported functions
9 years ago
Péter Szilágyi
2547c9c9b7
cmd: properly initialize Olympic for all subcommands
9 years ago
Gustav Simonsson
ec6a548ee3
all: Add GPU mining, disabled by default
9 years ago
Jeffrey Wilcke
27528ad3d2
Merge pull request #1851 from bas-vk/historyfile
...
console/history respect datadir
9 years ago
Jeffrey Wilcke
f8786defd0
Merge pull request #1850 from karalabe/genesis-block-receipts
...
core: fix #1848 , block receipts db entry for the genesis too
9 years ago
Gustav Simonsson
e1616f77c7
core, core/vm, cmd/evm: remove redundant balance check
9 years ago
Jeffrey Wilcke
44fd395141
Merge pull request #1879 from obscuren/versioning
...
cmd/geth: dev version number
9 years ago
Jeffrey Wilcke
7b44b8aece
cmd/geth: dev version number
9 years ago
Jeffrey Wilcke
13699e2dd9
Merge pull request #1877 from obscuren/head-write
...
core: fixed head write on block insertion
9 years ago
Jeffrey Wilcke
20ab29f885
core: fixed head write on block insertion
...
Due to a rebase this probably got overlooked / ignored. This fixes the
issue of a block insertion never writing the last block.
9 years ago
Jeffrey Wilcke
5b34fa538e
Merge pull request #1756 from obscuren/core-refactor
...
core, core/vm: refactor
9 years ago
Jeffrey Wilcke
7c7692933c
cmd/geth, cmd/utils, core, rpc: renamed to blockchain
...
* Renamed ChainManager to BlockChain
* Checkpointing is no longer required and never really properly worked
when the state was corrupted.
9 years ago
Jeffrey Wilcke
361082ec4b
cmd/evm, core/vm, test: refactored VM and core
...
* 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`.
9 years ago
Jeffrey Wilcke
f7a71996fb
core, event/filter, xeth: refactored filter system
...
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".
9 years ago