Jeffrey Wilcke
6cace73bea
core/vm/runtime: simplified runtime calling mechanism
...
Implemented `runtime.Call` which uses - unlike Execute - the given state
for the execution and the address of the contract you wish to execute.
Unlike `Execute`, `Call` requires a config.
2016-02-11 10:17:16 +01:00
Jeffrey Wilcke
ecc876cec0
accounts/abi: fixed return tuple and string, bytes return type parsing
...
Removed old unmarshalling of return types: `abi.Call(...).([]byte)`.
This is now replaced by a new syntax:
```
var a []byte
err := abi.Call(&a, ...)
```
It also addresses a few issues with Bytes and Strings and can also
handle both fixed and arbitrary sized byte slices, including strings.
2016-02-11 10:16:38 +01:00
Péter Szilágyi
537774e049
Merge pull request #2195 from obscuren/gpo-rpc
...
eth: Added GPO to suggest default gas prices
2016-02-11 10:36:37 +02:00
Péter Szilágyi
1cc4bd76db
Merge pull request #2193 from karalabe/sync-state-reports
...
eth, eth/downloader, jsre: surface state sync progress through the API
2016-02-10 20:20:59 +02:00
Jeffrey Wilcke
725f2a4cf7
eth: Added GPO to suggest default gas prices
...
This PR fixes a regression of the RPC where the default gas price that
was being used for transaction wasn't properly using the GPO. This PR
adds the GPO back to suggest gas prices rather than the hardcoded
default of 10000000000000.
Closes #2194
2016-02-10 16:50:50 +01:00
Péter Szilágyi
59cd60b266
eth, eth/downloader, jsre: surface state sync progress through the API
2016-02-10 14:30:41 +02:00
Péter Szilágyi
be79b4aacb
Merge pull request #2189 from karalabe/fix-nil-miner
...
eth, miner: move the public miner api into eth to access etherbase
2016-02-09 16:38:00 +02:00
Péter Szilágyi
dda5af0e6c
eth, miner: move the public miner api into eth to access etherbase
2016-02-09 16:03:04 +02:00
Péter Szilágyi
df75dbfd68
cmd, node, rpc: readd inproc RPC client, expose via node
2016-02-09 14:10:40 +02:00
Péter Szilágyi
900e124bee
cmd, common, node, rpc: rework naming convention to canonical one
2016-02-09 13:24:42 +02:00
Péter Szilágyi
8b5b635db7
Merge pull request #2184 from karalabe/fix-fastsync-state-serializer-bug
...
eth/downloader: raise pending state limit that prevented concurrency
2016-02-09 12:14:48 +02:00
Péter Szilágyi
f1ec226d80
eth/downloader: raise pending state limit that prevented concurrency
2016-02-08 14:57:02 +02:00
Péter Szilágyi
856b9e9c50
Merge pull request #2183 from bas-vk/issue2180
...
eth_sendTransaction, error not reported
2016-02-08 12:41:39 +02:00
Bas van Kervel
5fb68f4b39
eth: sendTransaction would not report the error when tx could not be added to tx pool
2016-02-08 11:11:07 +01:00
Jeffrey Wilcke
707ac67bab
Merge pull request #2106 from obscuren/out-of-bound-logs
...
eth/filters: added notifications for out of bound log events
2016-02-06 01:11:42 +01:00
Jeffrey Wilcke
68dda34905
eth/filters: added notifications for out of bound log events
...
Out of Bound log events are events that were removed due to a fork. When
logs are received the filtering mechanism should check for the `removed`
field on the json structure.
2016-02-05 16:55:27 +01:00
Péter Szilágyi
7486904b92
cmd, node, rpc: move websockets into node, break singleton
2016-02-05 16:53:47 +02:00
Jeffrey Wilcke
7d2d141b34
Merge pull request #2178 from isghe/fix_typo
...
cmd/utils: fix jspath flag typo
2016-02-05 15:37:42 +01:00
Isidoro Ghezzi
cf47ef12d3
cmd/utils: fix jspath flag typo
2016-02-05 15:32:00 +01:00
Péter Szilágyi
a13bc9d7a1
cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspect
2016-02-05 13:45:36 +02:00
Péter Szilágyi
ba7c125153
Merge pull request #2168 from karalabe/move-rpc-into-node
...
cmd, common, node, rpc: move IPC into the node itself
2016-02-05 11:33:24 +02:00
Péter Szilágyi
2128289631
Merge pull request #2171 from karalabe/rpc-modules-fix
...
rpc: add jsonrpc version to module request, use json types
2016-02-05 11:33:10 +02:00
Péter Szilágyi
6b939fbeaa
rpc: add jsonrpc version to module request, use json types
2016-02-04 16:55:50 +02:00
Péter Szilágyi
188ab928c3
cmd, common, node, rpc: move IPC into the node itself
2016-02-04 11:23:15 +02:00
Jeffrey Wilcke
3274db19c7
Merge pull request #2169 from karalabe/fix-http-rpc-method
...
rpc: allow RPC requests on GET too
2016-02-03 23:34:36 +01:00
Péter Szilágyi
a50bccc642
Merge pull request #2134 from karalabe/save-state-writes
...
core/state, trie: don't leak database writes before commit
2016-02-03 10:56:21 +02:00
Péter Szilágyi
fbbedb4c03
Merge pull request #2154 from karalabe/rpc-fixes
...
cmd, eth, rpc: fix some RPC issues with pending blocks
2016-02-03 10:50:34 +02:00
Péter Szilágyi
5da7ec7c18
cmd, eth, rpc: fix some RPC issues with pending blocks
2016-02-03 10:35:59 +02:00
Péter Szilágyi
a8fd0de0d3
Merge pull request #2156 from ppratscher/add_replay_tx
...
core/vm, rpc/api: added debug_replayTransaction RPC call
2016-02-03 10:34:52 +02:00
Péter Szilágyi
2e2f093ec2
Merge pull request #2167 from obscuren/abi-event-fixes
...
account/abi: implements event parsing
2016-02-03 10:34:27 +02:00
Péter Szilágyi
da645f007b
Merge pull request #2166 from obscuren/contrib
...
CONTRIBUTING: Added a feature section
2016-02-03 10:34:16 +02:00
Péter Szilágyi
72c255caef
rpc: allow RPC requests on GET too
2016-02-03 00:50:02 +02:00
Péter Szilágyi
db056eeafe
Merge pull request #2170 from karalabe/fix-miner-registration
...
miner: register newly created remote agent in the API
2016-02-03 00:09:20 +02:00
Péter Szilágyi
9aa7158057
miner: register newly created remote agent in the API
2016-02-02 20:22:21 +02:00
Jeffrey Wilcke
1894c9239f
CONTRIBUTING: Added a feature section
2016-02-02 15:44:27 +01:00
Jeffrey Wilcke
bddf8f76c8
account/abi: implements event parsing
...
Implementation of basic event parsing and its input types. This
separates methods and events and fixes an issue with go type parsing and
validation.
2016-02-02 15:28:59 +01:00
Peter Pratscher
15780ead07
core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, integrated feedback
...
Integrated code review suggestions
Integrated last review comments
2016-02-02 15:20:18 +01:00
Jeffrey Wilcke
6005dcef5b
Merge pull request #2098 from karalabe/rpc-txpool-queue-inspection
...
core, eth, rpc/api: rpc method to inspect the txpool queue
2016-02-02 10:53:23 +01:00
Péter Szilágyi
d3642b0715
core, eth, rpc/api: rpc method to inspect the txpool queue
2016-02-01 14:58:14 +02:00
Jeffrey Wilcke
f85212aa86
Merge pull request #2146 from fjl/discover-win32-large-packets
...
p2p/discover: fix Windows-specific issue for larger-than-buffer packets
2016-02-01 11:36:31 +01:00
Péter Szilágyi
d951ff300e
Merge pull request #2165 from karalabe/gmp-dep-master-alpine
...
containers/docker/master-alpine: add the legacy gmp lib back for now
2016-01-31 16:23:47 +02:00
Péter Szilágyi
0781fd7aa0
containers/docker/master-alpine: add the legacy gmp lib back for now
2016-01-31 16:19:55 +02:00
Péter Szilágyi
aed25640a4
Merge pull request #2164 from karalabe/add-alpine-images
...
containers: regroup and add Alpine images (31 MB)
2016-01-31 15:08:52 +02:00
Péter Szilágyi
f9b2fd79e8
containers: regroup and add Alpine images (31 MB)
2016-01-30 20:55:44 +02:00
Jeffrey Wilcke
528dcc3814
Merge pull request #2151 from fjl/debug-api
...
internal/debug: APIs for profiling and tracing
2016-01-28 16:11:24 +01:00
Jeffrey Wilcke
ae1a137ce7
Merge pull request #2143 from karalabe/fix-transaction-sort-2
...
core, core/types, miner: fix transaction nonce-price combo sort
2016-01-28 16:11:14 +01:00
Felix Lange
3750d835a1
internal/debug: APIs for profiling and tracing
...
The debug package provides an RPC wrapper for glog settings and the
debugging facilities of the Go runtime. They can be triggered through
both command line flags and the IPC listener.
2016-01-28 13:36:11 +01:00
Felix Lange
e287b56b69
logger/glog: clean up flag getters
2016-01-27 00:51:14 +01:00
Felix Lange
a411fe7e6e
logger/glog: fix TraceLocation.Set("")
2016-01-27 00:51:14 +01:00
Felix Lange
5728dd381d
rpc: fix success response encoding for null return value
...
The "result" field of JSON-RPC 2.0 responses was omitted
if the result was nil, causing exceptions in web3.js.
2016-01-27 00:06:37 +01:00