Jeffrey Wilcke
ae37a8013d
Merge pull request #1917 from obscuren/validator-interface
...
core, eth, rpc: split out block validator and state processor
9 years ago
Jeffrey Wilcke
23f42d9463
Merge pull request #1964 from obscuren/evm-runtime
...
core/vm/runtime: added simple execution runtime
9 years ago
Jeffrey Wilcke
1372b991c3
core/vm/runtime: added simple execution runtime
...
The runtime environment can be used for simple basic execution of
contract code without the requirement of setting up a full stack and
operates fully in memory.
9 years ago
Jeffrey Wilcke
a1d9ef48c5
core, eth, rpc: split out block validator and state processor
...
This removes the burden on a single object to take care of all
validation and state processing. Now instead the validation is done by
the `core.BlockValidator` (`types.Validator`) that takes care of both
header and uncle validation through the `ValidateBlock` method and state
validation through the `ValidateState` method. The state processing is
done by a new object `core.StateProcessor` (`types.Processor`) and
accepts a new state as input and uses that to process the given block's
transactions (and uncles for rewords) to calculate the state root for
the next block (P_n + 1).
9 years ago
Felix Lange
4a938406dc
Merge pull request #1990 from karalabe/fix-whisper-autocomplete
...
rpc/api: fix #1986 , newIdentity autocomplete
9 years ago
Péter Szilágyi
53f28e71dc
rpc/api: fix #1986 , newIdentity autocomplete
9 years ago
Jeffrey Wilcke
10475f444c
Merge pull request #1984 from fjl/secp256k1-recover-id-verify
...
crypto/secp256k1: verify recovery ID before calling libsecp256k1
9 years ago
Jeffrey Wilcke
6ea05f5a54
rpc/api, xeth: added signTransaction method
...
SignTransaction creates a transaction but does submit it to the
network. SignTransaction returns a structure which includes the
transaction object details as well as the RLP encoded transaction that
could possibly be submitted by the SendRawTransaction method.
9 years ago
Felix Lange
e344e1d490
crypto/secp256k1: drop pkgsrc paths from CFLAGS
...
They cause compiler warnings for people who don't have these
directories. People with pkgsrc can add the directory through CGO_CFLAGS
instead.
9 years ago
Felix Lange
5159f8f649
crypto/secp256k1: raise internal errors as recoverable Go panic
9 years ago
Felix Lange
1b29aed128
crypto/secp256k1: verify recovery ID before calling libsecp256k1
...
The C library treats the recovery ID as trusted input and crashes
the process for invalid values, so it needs to be verified before
calling into C. This will inhibit the crash in #1983 .
Also remove VerifySignature because we don't use it.
9 years ago
Jeffrey Wilcke
9422eec554
Merge pull request #1976 from karalabe/enable-light-kdf
...
cmd/geth, cmd/utils: surface the light KDF flag to the CLI
9 years ago
Péter Szilágyi
9aa77a3769
cmd/geth, cmd/utils: surface the light KDF flag to the CLI
9 years ago
Jeffrey Wilcke
da6696862e
Merge pull request #1974 from karalabe/fix-rpc-regression
...
rpc/api: fix #1972 api regression (nil eth panic) in attach
9 years ago
Péter Szilágyi
6e5349880e
rpc/api: fix #1972 api regression (nil eth panic) in attach
9 years ago
Jeffrey Wilcke
6d09468cab
Merge pull request #1967 from karalabe/fix-filter-test-datarace
...
event/filter: fix data race in the test
9 years ago
Jeffrey Wilcke
2334ee97d0
Merge pull request #1963 from karalabe/fix-database-regression
...
eth: fix error casting regression during database open
9 years ago
Péter Szilágyi
5d89bbdda1
eth: fix error casting regression during database open
9 years ago
Péter Szilágyi
8e2bf42c46
event/filter: fix data race in the test
9 years ago
Felix Lange
76390ef892
Merge pull request #1966 from karalabe/fix-recover-noparam-panic
...
cmd/geth: fix recover command crash if no param is supplied
9 years ago
Felix Lange
636f67f232
Merge pull request #1969 from karalabe/fix-whisper-tests-datarace
...
whisper: fix datarace in expiration test
9 years ago
Felix Lange
eb11c0e597
Merge pull request #1965 from karalabe/fix-natto-test
...
jsre: fix #1876 , sleep too short on a slow test server
9 years ago
Felix Lange
ca4f6d0fdd
Merge pull request #1968 from karalabe/fix-json-tests-datarace
...
tests: fix data race in bad-block-report disabling during tests
9 years ago
Péter Szilágyi
60e0abb595
whisper: fix datarace in expiration test
9 years ago
Péter Szilágyi
9dc5de51a2
tests: fix data race in bad-block-report disabling during tests
9 years ago
Péter Szilágyi
90655736ed
cmd/geth: fix recover command crash if no param is supplied
9 years ago
Péter Szilágyi
bddb13d436
jsre: fix #1876 , sleep too short on a slow test server
9 years ago
Jeffrey Wilcke
e3f36d9728
Merge pull request #1960 from karalabe/fix-peer-ignore-list
...
eth/downloader: fix dysfunctional ignore list hidden by generic set
9 years ago
Péter Szilágyi
b658a73ed5
eth/downloader: fix dysfunctional ignore list hidden by generic set
9 years ago
Jeffrey Wilcke
e165c2d23c
Merge pull request #1934 from karalabe/polish-protocol-infos
...
eth, p2p, rpc/api: polish protocol info gathering
9 years ago
Jeffrey Wilcke
dda3bf3ce7
Merge pull request #1943 from obscuren/abi-fixes
...
accounts/abi: ABI fixes & added types
9 years ago
Jeffrey Wilcke
6dfbbc3e11
Merge pull request #1948 from bas-vk/rpcfix
...
Infinite loop in filters
9 years ago
Jeffrey Wilcke
5ff0814b1f
VERSION, cmd/geth: bumped version 1.4.0
9 years ago
Felix Lange
001684fb11
Merge pull request #1958 from fjl/secp256k1-pkgsrc
...
crypto/secp256k1: add C compiler flags for pkgsrc
9 years ago
Felix Lange
16b0bc7c3b
crypto/secp256k1: add C compiler flags for pkgsrc
...
pkgsrc is a cross-platform package manager that also
supports OS X.
9 years ago
Jeffrey Wilcke
c841e39476
Merge pull request #1954 from obscuren/regression-miner
...
miner: synchronise start / stop
9 years ago
Jeffrey Wilcke
8c38f8d815
miner: synchronise start / stop
...
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.
9 years ago
Jeffrey Wilcke
016ad3e962
Merge pull request #1952 from obscuren/testnet-peers
...
eth: added new testnet peers
9 years ago
Jeffrey Wilcke
98b036ddb6
Merge pull request #1949 from karalabe/update-command-usage
...
cmd/geth, cmd/utils, eth: group CLI flags by purpose
9 years ago
Péter Szilágyi
3c6e285d3b
cmd/geth, cmd/utils, eth: group CLI flags by purpose
9 years ago
Jeffrey Wilcke
1bc789553a
eth: added new testnet peers
9 years ago
Jeffrey Wilcke
1abbe05e93
Merge pull request #1951 from fjl/godeps-upgrade-goupnp
...
Godeps: upgrade github.com/huin/goupnp
9 years ago
Felix Lange
f570b68ed1
p2p/nat: add docs for discover
9 years ago
Felix Lange
bf11a47f22
Godeps: upgrade github.com/huin/goupnp to 90f71cb5
9 years ago
Jeffrey Wilcke
1f72952f04
accounts/abi: ABI fixes & added types
...
Changed field `input` to new `inputs`. Addad Hash and Address as input
types.
Added bytes[N] and N validation
9 years ago
Jeffrey Wilcke
fc46cf337a
Merge pull request #1946 from fjl/xeth-oom
...
Fix for xeth OOM issue
9 years ago
Bas van Kervel
76410df6a2
rpc: return an unsupported error when "pending" was used to create a filter
9 years ago
Felix Lange
fbdb44dcc1
cmd/utils, rpc/comms: stop XEth when IPC connection ends
...
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 #1930 . I ran the shell loop there for a few minutes and didn't see
any changes in the memory profile.
9 years ago
Jeffrey Wilcke
fd27f074fe
Merge pull request #1945 from bas-vk/rpcparsing
...
Argument parsing can lead to panic in rpc channel
9 years ago
Jeffrey Wilcke
8202bae070
Merge pull request #1939 from karalabe/fix-blocked-sync-goroutines
...
eth: don't block sync goroutines that short circuit
9 years ago