7400 Commits

Author SHA1 Message Date
Péter Szilágyi
c793cb3385 [release/1.4.9] Revert "core: add voting and result tracking for the dao soft-fork"
This reverts commit f31a3a251afad1d4c7169bc530fe60471df36122.
2016-06-29 11:53:23 +03:00
Péter Szilágyi
3eef19598e [release/1.4.9] Revert "core: update DAO soft-fork number, clean up the code"
This reverts commit aefffc9ed8ca60ebe58e06066b30f1283493f488.
2016-06-29 11:53:06 +03:00
Péter Szilágyi
f4aebd4c8d [release/1.4.9] Revert "core: update the DAO soft fork proposal to the final block"
This reverts commit b170a80cdcb380765c711017588b2d148eb1601e.
2016-06-29 11:52:05 +03:00
Péter Szilágyi
eaf706b73c VERSION, cmd/geth: bumped version 1.4.8 2016-06-24 16:20:43 +03:00
Péter Szilágyi
b170a80cdc [release/1.4.8] core: update the DAO soft fork proposal to the final block
(cherry picked from commit 1e3a7d4fab36df9382d023519ef10e3c34bafa3b)
2016-06-24 16:20:36 +03:00
Péter Szilágyi
aefffc9ed8 [release/1.4.8] core: update DAO soft-fork number, clean up the code
(cherry picked from commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0)
2016-06-24 13:18:31 +03:00
Péter Szilágyi
f31a3a251a [release/1.4.8] core: add voting and result tracking for the dao soft-fork
(cherry picked from commit c4de28938ff8c688c4444c8b3e8e28a52cbc62ff)
2016-06-24 13:18:28 +03:00
Jeffrey Wilcke
a9c94cbf48 [release/1.4.8] test, cmd/evm, core, core/vm: illegal code hash implementation
This implements a generic approach to enabling soft forks by allowing
anyone to put in hashes of contracts that should not be interacted from.
This will help "The DAO" in their endevour to stop any whithdrawals from
any DAO contract by convincing the mining community to accept their code
hash.

(cherry picked from commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d)
2016-06-24 13:18:25 +03:00
Péter Szilágyi
d2089e46f8 VERSION, cmd/geth: bumped version 1.4.7 2016-06-15 11:43:57 +03:00
Jeffrey Wilcke
be29e41334 [release/1.4.7] cmd/evm: added --create flag indicating the exec code is to be created
This fixes an issue if you wanted to test out code deployment rather
than running a piece of code with an argument. This solves it by adding
a --create flag that indicates the Create function should be used rather
than the Call function.

This also adds a statedb.commit call so that the proper state can be
dumped when requested using the --dump flag.

(cherry picked from commit e5165aeb277b1f1ae8d5bf60c22716ccd874a8e6)
2016-06-15 11:43:46 +03:00
Tosh Camille
47965930a1 [release/1.4.7] cmd/utils: add space between "to" and filename
(cherry picked from commit ac66d96c5acd4661253aad8015aa245c6788cd45)
2016-06-15 11:12:53 +03:00
Péter Szilágyi
bc6c4a337c [release/1.4.7] accounts/abi: fix uint64 upper range encoding.
(cherry picked from commit 0f9539e1e3e77bb181d67591cfbb77f6a17e5537)
2016-06-14 17:12:07 +03:00
Jeffrey Wilcke
f7fdfa4eac [release/1.4.7] core/state, eth: Updated suicides objects when tracing transactions
Consensus rules dictate that objects can only be removed during the
finalisation of the transaction (i.e. after all calls have finished).
Thus calling a suicided contract twice from the same transaction:
A->B(S)->ret(A)->B(S) results in 2 suicides. Calling the suicided
object twice from two transactions: A->B(S), A->B, results in only one
suicide and a call to an empty object.

Our current debug tracing functionality replays all transaction that
were executed prior to the targetted transaction in order to provide
the user with an accurate trace.

As a side effect to calling StateDB.IntermediateRoot it also deletes any
suicides objects. Our tracing code never calls this function because it
isn't interested in the intermediate root. Becasue of this it caused a
bug in the tracing code where transactions that were send to priviously
deleted objects resulted in two suicides rather than one suicide and a
call to an empty object.

Fixes #2542

(cherry picked from commit bb3651abc865c6f6babec0d357afa85f5a539d83)
2016-06-14 17:12:05 +03:00
Péter Szilágyi
0405f728c6 [release/1.4.7] eth/downloader: fix occasional fast sync critical section test fails
(cherry picked from commit 783289068a63b3accbc6d69cb0ecc0f2c39c5f54)
2016-06-14 17:12:03 +03:00
Péter Szilágyi
63c5a46b82 [release/1.4.7] cmd: fix CLI package deprecation warnings
(cherry picked from commit 90e07b19abaa950eaaff2eecc4918b1d16ebbcaf)
2016-06-14 17:12:01 +03:00
Bas van Kervel
c89fa789b7 [release/1.4.7] cmd/geth: codegansta/cli package renamed to urfave/cli
(cherry picked from commit 861add3d72bcfc6c6a8976eb82dc3e7b5288883e)
2016-06-14 17:11:59 +03:00
Thomas Bocek
39f1d909d1 [release/1.4.7] accounts/abi: Negative numbers not properly converted in ABI encoding
When converting a negative number e.g., -2, the resulting ABI encoding
should look as follows:
fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe.
However, since the check of the type is for an uint instead of an
int, it results in the following ABI encoding:
0101010101010101010101010101010101010101010101010101010101010102. The
Ethereum ABI
(https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI) says,
that signed integers are stored in two's complement which should be
of the form ffffff.... and not 01010101..... for e.g. -1. Thus, I
removed the type check in numbers.go as well as the function S256
as I don't think they are correct. Or maybe I'm missing something?

(cherry picked from commit 89c6c5bb85ff24c152218f245fa366e733c951a7)
2016-06-14 17:11:57 +03:00
Bas van Kervel
71b577f839 [release/1.4.7] console: ignore round and curly brackets in strings when determining indentation level
(cherry picked from commit dbcdf83ed8aca3f0b84d67b944fff2f3a8bc7769)
2016-06-14 17:11:54 +03:00
Péter Szilágyi
a93d63d576 [release/1.4.7] cmd/geth: fix the keystore path in the accounts help text
(cherry picked from commit 7c0eb47dfb957c045361cf7297b2935fd3e6a25a)
2016-06-14 17:11:47 +03:00
Péter Szilágyi
7fb72dbcbf [release/1.4.7] cmd/geth: truly randomize console test RPC endpoints
(cherry picked from commit 32258af87be39994baca95aa92cb5565ee69571a)
2016-06-14 17:11:44 +03:00
Péter Szilágyi
688fbab5d5 [release/1.4.7] console: fix windows color transformation issue
(cherry picked from commit d251d48439bf85d0fb0b52dd931e5ec6aea8b412)
2016-06-14 17:11:12 +03:00
Péter Szilágyi
71a89b7c75 VERSION, cmd/geth: bumped version 1.4.6 2016-06-06 16:23:33 +03:00
Péter Szilágyi
ecb8e23e88 [release/1.4.6] eth: don't accept transactions until we sync up with the network
(cherry picked from commit 32559ccad1e0519ce1decc4b90df021fe215a811)
2016-06-06 16:22:08 +03:00
Péter Szilágyi
058c5fe960 [release/1.4.6] eth/downloader: adaptive quality of service tuning
(cherry picked from commit 88f174a014c1f2f99fa6d6a8054ada28a0b43504)
2016-06-06 16:22:05 +03:00
Péter Szilágyi
a29bdf547c [release/1.4.6] eth/downloader: make fast sync resilient to critical section fails
(cherry picked from commit 61ee9f299deb2bace8aa37778d248822793dd5ce)
2016-06-06 16:22:03 +03:00
Felix Lange
44b912ec64 [release/1.4.6] core: add missing lock in TxPool.{GetTransaction,RemoveTx}
Fixes #2650

(cherry picked from commit fc85dd175ebeef4996e5d370a7a2f085c922196d)
2016-06-06 16:22:00 +03:00
Felix Lange
3d69970c15 [release/1.4.6] cmd/geth: make console tests more robust
* use --port 0 to avoid p2p port conflicts
* use --maxpeers 0 so it doesn't connect to bootstrap nodes
* use geth.expectExit() to wait for termination

(cherry picked from commit b57b6e341e3865de3b3a5aa108e642d1a6a5b590)
2016-06-06 16:21:58 +03:00
Felix Lange
8b90a49f3d [release/1.4.6] console: remove unnecessary JS evaluation in Welcome
(cherry picked from commit ad0e6e971e7d03c07842cc236fec09c73f93f465)
2016-06-06 16:21:56 +03:00
Felix Lange
c046126c87 [release/1.4.6] internal/jsre: ensure Stop can be called more than once
This makes "geth js file.js" terminate again.

(cherry picked from commit fdba0cb03cf4e5a87cdcc2ebc0f381ad32f5ad3e)
2016-06-06 16:21:53 +03:00
Péter Szilágyi
cd134178f7 [release/1.4.6] eth/downloader: ensure cancel channel is closed post sync
(cherry picked from commit 4496a44f68246bf128bb822c3f3a98f38adfdbdd)
2016-06-06 16:21:51 +03:00
Péter Szilágyi
4918c820c6 [release/1.4.6] eth/downloader, trie: pull head state concurrently with chain
(cherry picked from commit 4f1d92b3329572d75a20b9f9e1cccdf74aa7c79f)
2016-06-06 16:21:49 +03:00
Péter Szilágyi
5904d58a96 [release/1.4.6] cmd/geth, console: fix reviewer issues
(cherry picked from commit da729e5b386ca0fd32344dcc1fd63d14c0bb39ab)
2016-06-06 16:21:46 +03:00
Péter Szilágyi
7c90a2e42e [release/1.4.6] console, internal/jsre: colorize JavaScript exceptions too
(cherry picked from commit 14ae5708d61059d424c9be9822b85a3f4bb392b3)
2016-06-06 16:21:44 +03:00
Péter Szilágyi
c39de61a0a [release/1.4.6] cmd, console: split off the console into a reusable package
(cherry picked from commit ffaf58f0a98bd987bbe76e8669bb22c405dcd62a)
2016-06-06 16:21:41 +03:00
Péter Szilágyi
af53767e16 [release/1.4.6] core, core/state, trie: enterprise hand-tuned multi-level caching
(cherry picked from commit 748d1c171d74fbf6b6051fd629d3c2204dd930e3)
2016-06-06 16:21:39 +03:00
Péter Szilágyi
7632acf6b4 [release/1.4.6] core/state: return the starting nonce for non-existent accs (testnet)
(cherry picked from commit 8ee84584a407464511b453eebaa31854979aa593)
2016-06-06 16:21:37 +03:00
Felix Lange
9ccb70da7b [release/1.4.6] eth: enable bad block reports
We used to have reporting of bad blocks, but it was disabled
before the Frontier release. We need it back because users
are usually unable to provide the full RLP data of a bad
block when it occurs.

A shortcoming of this particular implementation is that the
origin peer is not tracked for blocks received during eth/63
sync. No origin peer info is still better than no report at
all though.

(cherry picked from commit ca18202eb9a94de1d4b51c1572fa74edfa2773bf)
2016-06-06 16:21:34 +03:00
Obulapathi N Challa
8fefee7132 [release/1.4.6] misc: fix spelling mistake
(cherry picked from commit f3769a97d5b4fa899f0bf673ff4c33a21d12ec38)
2016-06-06 16:21:31 +03:00
Rémy Roy
7a4073a758 [release/1.4.6] eth/api: fixed GetCompilers when there is no error creating Solc
(cherry picked from commit f86ea9aad5b14051d5d311591148387b2e6da725)
2016-06-06 16:21:27 +03:00
Rémy Roy
ab522d3bc7 [release/1.4.6] common/compiler: support relative path to solc
(cherry picked from commit 5eb60a6da23296f54081c92a6223935bfce81859)
2016-06-06 16:21:23 +03:00
Gianfranco Cecconi
c45c424073 [release/1.4.6] Just to make it clear how to build all executables
(cherry picked from commit 2e530f48892dd97fab362da7123319dc8c407444)
2016-06-06 16:21:11 +03:00
Fabio Berger
8d2775e3d7 [release/1.4.6] core: Simplify bloom9 tests with available convenience method TestBytes
(cherry picked from commit faf663133b7d784406a6bfc029404b2718abc66d)
2016-06-06 16:21:07 +03:00
Péter Szilágyi
170036289b [release/1.4.6] eth/downloader: fix reviewer comments
(cherry picked from commit 8906b2fe0934c67ebb1db5d4d77acdf1a7e988f0)
2016-06-06 16:21:04 +03:00
Péter Szilágyi
8ebbd9b7c7 [release/1.4.6] eth/downloader: stream partial skeleton filling to processor
(cherry picked from commit e86619e75d1bd1209818ab4df2fac52e3c43b5e1)
2016-06-06 16:21:01 +03:00
Péter Szilágyi
7df36e5ec1 [release/1.4.6] eth/downloader: implement concurrent header downloads
(cherry picked from commit b40dc8a1daf4bd1f293cf322274b470ad91517fb)
2016-06-06 16:20:58 +03:00
Felix Lange
5fb29fd45f [release/1.4.6] node, p2p: move network config out of Server
This silences a go vet message about copying p2p.Server in package node.

(cherry picked from commit 542b839ec74ff0ce94ab0d34e25531f5819d95d1)
2016-06-06 16:20:56 +03:00
Changhoon Lee
90beb6112e [release/1.4.6] README: fix typos
README: fix typos
(cherry picked from commit 2348f8e2a8f2203e8ce4058cb23135579556be53)
2016-06-06 16:20:53 +03:00
Péter Szilágyi
efa2b3da7e [release/1.4.6] cmd/geth: use text/templates in the tester, not html
(cherry picked from commit 284f1d6beb589d240a18e9b63560266041fa9798)
2016-06-06 16:20:51 +03:00
Péter Szilágyi
e3b3c298df [release/1.4.6] cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner
(cherry picked from commit bc6fdad786706019fc5aeb9605f1d23b3c5b7522)
2016-06-06 16:20:48 +03:00
Péter Szilágyi
3752507a11 [release/1.4.6] travis: run CI builds against multiple Go versions
(cherry picked from commit bc3b406bffc9c6f38420f1504cb7eba0b92cad3b)
2016-06-06 16:20:18 +03:00