Jeffrey Wilcke
a816e75662
core/vm: improved push instructions
...
Improved push instructions by removing unnecessary big int allocations
and by making it int instead of big.Int
8 years ago
Jeffrey Wilcke
3ee75bec9f
cmd/evm: added mem/cpu profiling
8 years ago
Valentin Wüstholz
04b668b232
core/vm: improve error message for invalid opcodes
8 years ago
Jeffrey Wilcke
e7119ce12d
core/state: fixed (self)destructed objects
...
Add the object to the list of destructed objects during a selfdestruct /
suicide operation and also remove it from the list once the journal
reverts.
8 years ago
Jeffrey Wilcke
a5f6a1cb7c
consensus, core, core/vm, parems: review fixes
8 years ago
Jeffrey Wilcke
e6aff513db
core/types: corrected abstract signing address
8 years ago
Jeffrey Wilcke
8a4c1fb799
consensus/ethash: set time to current instead of parent time
8 years ago
Jeffrey Wilcke
10a57fc3d4
consensus, core/*, params: metropolis preparation refactor
...
This commit is a preparation for the upcoming metropolis hardfork. It
prepares the state, core and vm packages such that integration with
metropolis becomes less of a hassle.
* Difficulty calculation requires header instead of individual
parameters
* statedb.StartRecord renamed to statedb.Prepare and added Finalise
method required by metropolis, which removes unwanted accounts from
the state (i.e. selfdestruct)
* State keeps record of destructed objects (in addition to dirty
objects)
* core/vm pre-compiles may now return errors
* core/vm pre-compiles gas check now take the full byte slice as argument
instead of just the size
* core/vm now keeps several hard-fork instruction tables instead of a
single instruction table and removes the need for hard-fork checks in
the instructions
* core/vm contains a empty restruction function which is added in
preparation of metropolis write-only mode operations
* Adds the bn256 curve
* Adds and sets the metropolis chain config block parameters (2^64-1)
8 years ago
Péter Szilágyi
a2f23ca9b1
cmd, core, eth, miner: remove txpool gas price limits ( #14442 )
8 years ago
Felix Lange
e20158176d
les: fix goroutine leak in execQueue ( #14480 )
...
execQueue used an atomic counter to track whether the queue had been
closed, but the checking the counter didn't happen because the queue was
blocked on its channel.
Fix it by using a condition variable instead of sync/atomic. I tried an
implementation based on channels first, but it was hard to make it
reliable.
quit now waits for the queue loop to exit.
8 years ago
Péter Szilágyi
ef7b9fb7d0
cmd/puppeth: v4/v5 boot separation, signer gas configs ( #14453 )
8 years ago
Lewis Marshall
b0d0fafd68
swarm/api: fix error reporting in api.Resolve ( #14464 )
...
Previously, resolve errors were being swallowed and the returned error
was a generic "not a content hash" which isn't helpful.
This updates the Resolve function to fail fast rather than only
returning an error at the end, and also adds test coverage.
8 years ago
Péter Szilágyi
90c7155ef4
mobile: accept nil for chainid as homestead signing ( #14463 )
8 years ago
Koustubh Sinkar
df4e7eccf5
containers/vagrant: add support for CentOS ( #14380 )
...
CentOS has been added as a multi-machine option to the Vagrant script.
Ubuntu is still the default option. For starting the CentOS machine, use:
vagrant up centos
8 years ago
Péter Szilágyi
7c707d14d1
Merge pull request #14454 from karalabe/mobile-surface-txrlp
...
mobile: add toString & rlp/json encoding for protocol types
8 years ago
Péter Szilágyi
953a995116
mobile: add toString & rlp/json encoding for protocol types
8 years ago
Péter Szilágyi
c5840ce12f
Merge pull request #14452 from karalabe/dual-bootnodes
...
cmd, node: support different bootnodes, fix default light port
8 years ago
Péter Szilágyi
3b3989de6a
cmd, node: support different bootnodes, fix default light port
8 years ago
bas-vk
40976ea1a0
README: update attach instructions for testnet users ( #14448 )
8 years ago
Péter Szilágyi
d18b509e40
Merge pull request #14441 from karalabe/receipt-data-regression
...
core: fix processing regression during receipt import
8 years ago
Péter Szilágyi
2e4d23a793
Merge pull request #14427 from zsfelfoldi/compress
...
common/bitutil: added data compression algorithm
8 years ago
Péter Szilágyi
60293820b7
core: fix processing regression during receipt import
8 years ago
Péter Szilágyi
82defe5c56
common/compress: internalize encoders, add length wrappers
8 years ago
Péter Szilágyi
dd483d7d0d
Merge pull request #14440 from karalabe/cocoapods-confirm-fix
...
travis: adapt build script to new travis VM settings
8 years ago
Péter Szilágyi
dddebe469b
travis: adapt build script to new travis VM settings
8 years ago
Péter Szilágyi
cf19586cfb
common/bitutil: fix decompression corner cases; fuzz, test & bench
8 years ago
Zsolt Felfoldi
fd5d51c9ae
common/bitutil: added data compression algorithm
8 years ago
Péter Szilágyi
2ec5cf1673
Merge pull request #14423 from karalabe/bitutil
...
common/bitutil, consensus/ethash: reusable bitutil package
8 years ago
Péter Szilágyi
36a800a1d2
common/bitutil, consensus/ethash: reusable bitutil package
8 years ago
Péter Szilágyi
93832b633e
VERSION, params: begin 1.6.2 release cycle
8 years ago
Péter Szilágyi
021c3c2816
params: release Geth 1.6.1, Deripors of Ohratuu
8 years ago
Péter Szilágyi
ff2c966e7f
Merge pull request #14418 from karalabe/rinkeby-flag
...
cmd, core, params: add --rinkeby flag for fast connectivity
8 years ago
Martin Holst Swende
14cc40a31a
Hive-test fixes ( #14419 )
...
* core: Fix for consensus test gasLimit > 2^63-1 https://github.com/ethereum/tests/blob/develop/BlockchainTests/bcInvalidHeaderTest.json#L238
* core: fix testcase for uncle gasUsage > gasLimit : https://github.com/ethereum/tests/blob/develop/BlockchainTests/EIP150/bcUncleHeaderValiditiy.json#L986
* math/big: rename TTM63m1 -> MaxBig63, + go fmt
* core: documentation
8 years ago
Péter Szilágyi
881df0e629
Merge pull request #14413 from bas-vk/cli-chain-mngt
...
Migrate remaining flags/command to new style
8 years ago
Péter Szilágyi
1c2f6f5597
Merge pull request #14402 from karalabe/tiered-faucet
...
cmd/faucet, cmd/puppeth: support multi-tiered faucet
8 years ago
Péter Szilágyi
d51a9fd6b7
cmd, core, params: add --rinkeby flag for fast connectivity
8 years ago
Péter Szilágyi
464f30d301
cmd/faucet: fix period to days conversion
8 years ago
Péter Szilágyi
8a28408616
cmd/faucet, cmd/puppeth: support multi-tiered faucet
8 years ago
Péter Szilágyi
e1dc7ece62
Merge pull request #14414 from gluk256/77_release
...
build: wnode added to the build configuration
8 years ago
Vlad
99127ff2e7
build: wnode added to the build configuration
8 years ago
Bas van Kervel
81d6ec908a
cmd/geth: migrate dumpconfig command/flags
8 years ago
Bas van Kervel
38b4fc8069
cmd/geth: migrate bug command/flags
8 years ago
Bas van Kervel
11ab73f6d8
cmd/geth: migrate metric command/flags
8 years ago
Bas van Kervel
18e9cb1187
cmd/geth: reorganise misc commands/flags
8 years ago
Bas van Kervel
502a2bd69f
cmd/geth: reorganise console/attach commands/flags
8 years ago
Bas van Kervel
8b517d7f00
cmd/geth: reorganise chain commands/flags
8 years ago
Péter Szilágyi
cad071009d
Merge pull request #14412 from karalabe/init-both-chains
...
cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneously
8 years ago
Péter Szilágyi
181a3309df
cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneously
8 years ago
Péter Szilágyi
02fa3e3179
Merge pull request #14411 from karalabe/clique-double-sign
...
consensus/clique: fix overflow on recent signer check around genesis
8 years ago
Péter Szilágyi
a8eafcdc0e
Merge pull request #13885 from bas-vk/rpc_generic_pubsub
...
rpc: support subscriptions under custom namespaces
8 years ago