Felix Lange
130bccc763
cmd/utils: flush trace and CPU profile data when force-qutting
...
Also reduce log messages a little bit.
2016-05-06 11:16:47 +02:00
Felix Lange
ae9ed5c420
internal/debug: also rename debug_startTrace to debug_startGoTrace
...
This was missing from the previous change.
2016-05-06 11:15:05 +02:00
Jeffrey Wilcke
a1c201a5ac
Merge pull request #2517 from fjl/debug-go-trace
...
internal/debug: rename debug_trace to debug_goTrace
2016-05-06 11:09:15 +02:00
Felix Lange
844e911129
internal/debug: rename debug_trace to debug_goTrace
...
Reduces confusion with EVM execution tracing methods.
2016-05-06 10:27:24 +02:00
Jeffrey Wilcke
4b9de75623
Merge branch 'develop' into release/1.4
2016-05-03 14:05:30 +02:00
Jeffrey Wilcke
2d7d7ef2fe
Merge pull request #2511 from obscuren/ver-fix
...
cmd/geth: fixed to use proper version string for output
2016-05-03 14:04:53 +02:00
Jeffrey Wilcke
14d5033c9d
cmd/geth: fixed to use proper version string for output
2016-05-03 14:01:37 +02:00
Jeffrey Wilcke
d52a693f80
Merge branch 'develop' into release/1.4
...
Conflicts:
cmd/geth/main.go
2016-05-03 13:52:58 +02:00
Jeffrey Wilcke
258cc73ea9
Merge pull request #2510 from fjl/p2p-fixups
...
p2p/discover: prevent bonding self
2016-05-03 13:30:51 +02:00
Jeffrey Wilcke
79b7b5eeaa
Merge pull request #2505 from karalabe/make-readme-suck-less
...
Make the README suck less :P
2016-05-03 13:30:42 +02:00
Péter Szilágyi
b4fbcd5060
README: Polish up exec section, rewrite contrib and add license.
2016-05-03 14:26:55 +03:00
Jeffrey Wilcke
488528e9e4
Merge pull request #2497 from karalabe/version-contract-3
...
Geth release oracle
2016-05-03 13:19:05 +02:00
Felix Lange
8110671960
p2p/discover: prevent bonding self
2016-05-02 18:50:16 +02:00
Felix Lange
32bb280179
p2p: improve readability of dial task scheduling code
2016-05-02 18:50:15 +02:00
Péter Szilágyi
4536b993ff
cmd/geth, release: polish and deploy live release contract
2016-05-02 16:20:58 +03:00
Péter Szilágyi
586eddfd09
release, all: integrate the release service into geth
2016-05-02 16:20:21 +03:00
Péter Szilágyi
d46da273c6
common/releases: rewrite release version contract + use native dapps
2016-05-02 16:20:04 +03:00
Gustav Simonsson
ecd7199c43
common/versions, cmd/utils: add geth version contract
2016-05-02 10:31:54 +03:00
Felix Lange
1c20313a6a
Merge pull request #2493 from almindor/develop
...
eth: add personal_importRawKey
2016-04-29 23:09:37 +02:00
Péter Szilágyi
cfa999f006
Merge pull request #2504 from Arachnid/public-vmconfig
...
Provide a public accessor for ChainConfig
2016-04-29 14:50:10 +03:00
Nicholas Johnson
c74a575725
core: Provide a public accessor for ChainConfig
...
This is necessary for external users of the go-ethereum code who want to, for instance, build a custom node that plays back transactions, as core.ApplyTransaction requires a ChainConfig as a parameter.
2016-04-29 12:42:03 +01:00
Péter Szilágyi
9672a62a38
Merge pull request #2485 from karalabe/fakepow
...
cmd: add a `--fakepow` flag to help benchmarking database changes
2016-04-29 14:19:38 +03:00
Ales Katona
572da73d4d
eth: add personal_importRawKey for runtime private key import
2016-04-28 09:11:40 -06:00
Péter Szilágyi
0f722df2d9
Merge pull request #2435 from obscuren/abi-array-fixes
...
accounts/abi: refactored ABI package
2016-04-28 15:23:07 +03:00
Jeffrey Wilcke
1b77d5090d
Merge pull request #2499 from bas-vk/reorg-logs
...
eth/filters: ignore logs that don't match filter criteria on chain reorg
2016-04-28 12:59:07 +02:00
Jeffrey Wilcke
e62c2aeb1b
Merge pull request #2491 from obscuren/genesis-config-fix
...
core, eth: added json tag field for proper unmarshalling
2016-04-28 12:58:56 +02:00
Jeffrey Wilcke
4880868c88
accounts/abi: fixed string and fixed size bytes packing
2016-04-28 12:41:47 +02:00
Jeffrey Wilcke
c3d5250473
accounts/abi: added unpacking "anything" in to interface{}
2016-04-28 12:41:42 +02:00
Jeffrey Wilcke
e0dc45fce2
accounts/abi: fixed strict go-like unpacking
2016-04-28 12:41:37 +02:00
Bas van Kervel
48cc36ce83
eth/filters: ignore logs that don't match filter criteria on chain reorg
2016-04-28 12:33:42 +02:00
Péter Szilágyi
123aa659e4
Merge pull request #2496 from karalabe/abibind-missing-contract-error
...
accounts/abi/bind, eth: add contract non-existent error
2016-04-27 17:31:12 +03:00
Péter Szilágyi
cdcbb2f160
accounts/abi/bind, eth: add contract non-existent error
2016-04-27 17:15:23 +03:00
Péter Szilágyi
db62979514
Merge pull request #2492 from fjl/accounts-arm64
...
accounts: disable file system watch on linux/arm64
2016-04-26 16:15:18 +03:00
Péter Szilágyi
5137c04ccf
Merge pull request #2484 from pcasaretto/address-test-coverage
...
Improve Address test coverage
2016-04-26 16:13:49 +03:00
Paulo L F Casaretto
a20d3fc362
common: Add tests for Address#UnmarshalJSON
2016-04-26 09:12:36 -03:00
Felix Lange
3d6d828caf
Merge pull request #2478 from fjl/geth-js-tweak
...
cmd/geth, jsre: improve the js command
2016-04-26 10:39:19 +02:00
Felix Lange
6a543607ef
accounts: disable file system watch on linux/arm64
2016-04-25 13:30:28 +02:00
Jeffrey Wilcke
c1a4dcfc87
core, eth: added json tag field for proper unmarshalling
...
According to our own instructions the genesis config attribute should be
"config". The genesis definition in the go code, however, has a field
called `ChainConfig`. This field now has a `json:"config"` struct tag so
that the json is properly unmarshalled.
This fixes #2482
2016-04-25 12:48:31 +02:00
Felix Lange
70b8b54cd2
Merge pull request #2481 from fjl/bootnode-fixup
...
cmd/bootnode: fix -genkey, add logging options
2016-04-25 12:42:28 +02:00
Felix Lange
c88c89fd9e
cmd/bootnode: fix -genkey, add logging options
2016-04-22 13:35:40 +02:00
Péter Szilágyi
b06f44ecc2
cmd: add a `--fakepow` flag to help benchmarking database changes
2016-04-21 12:14:57 +03:00
Felix Lange
87ae0df476
cmd/geth, jsre: improve the js command
...
geth js stopped the JS runtime after running the first input file
and blocked for pending callbacks. This commit makes it process
all files and enables quitting with Ctrl-C regardless of callbacks.
Error reporting is also improved. If a script fails to load, the error
is printed and includes the backtrace. package jsre now ensures that
otto is aware of the filename, the backtrace will contain them.
Before:
$ geth js bad.js; echo "exit $?"
... log messages ...
exit 0
After:
$ geth js bad.js; echo "exit $?"
... log messages ...
Fatal: JavaScript Error: Invalid number of input parameters
at web3.js:3109:20
at web3.js:4917:15
at web3.js:4960:5
at web3.js:4984:23
at checkWork (bad.js:11:9)
at bad.js:19:1
exit 1
2016-04-20 23:33:43 +02:00
Jeffrey Wilcke
5127ec10cb
accouns/abi: refactored ABI package
...
Refactored the abi package parsing and type handling. Relying mostly on
package reflect as opposed to most of our own type reflection. Our own
type reflection is still used however for cases such as Bytes and
FixedBytes (abi: bytes•).
This also inclused several fixes for slice handling of arbitrary and
fixed size for all supported types.
This also further removes implicit type casting such as assigning,
for example `[2]T{} = []T{1}` will fail, however `[2]T{} == []T{1, 2}`
(notice assigning *slice* to fixed size *array*). Assigning arrays to
slices will always succeed if they are of the same element type.
Incidentally also fixes #2379
2016-04-20 16:43:57 +02:00
Jeffrey Wilcke
18580e152c
VERSION, cmd/geth: bumped version
2016-04-19 18:17:44 +02:00
Jeffrey Wilcke
8241fa5227
VERSION, cmd/geth: bumped version
2016-04-19 18:15:04 +02:00
Péter Szilágyi
a6ca8fd268
Merge pull request #2463 from fjl/rpc-context-key
...
rpc: remove NotifierContextKey
2016-04-19 10:22:48 +03:00
Felix Lange
27116bd46c
Merge pull request #2462 from fjl/rpc-remove-js
...
rpc: move web3.js extensions to internal/web3ext
2016-04-15 18:13:24 +02:00
Felix Lange
a40e61b4ac
rpc: remove NotifierContextKey
...
Context keys must have a unique type in order to prevent
any unintented clashes. The code used int(1) as key.
Fix it by implementing the pattern recommended by package context.
2016-04-15 18:10:52 +02:00
Péter Szilágyi
16d10aae0c
Merge pull request #2461 from karalabe/fix-simulator-estimates
...
accounts/abi/bind/backends: estimate needed gas, not used
2016-04-15 18:50:50 +03:00
Felix Lange
e728aaca72
rpc: move web3.js extensions to internal/web3ext
2016-04-15 17:36:01 +02:00