Felix Lange
fdb936ee95
crypto/ecies: make authenticated shared data work
...
The s2 parameter was not actually written to the MAC.
9 years ago
Jeffrey Wilcke
b05e472c07
Merge pull request #2192 from obscuren/runtime-abi-fixes
...
account/abi, vm/runtime: abi fixes & simplified runtime calling mechanism
9 years ago
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.
9 years ago
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.
9 years ago
Péter Szilágyi
537774e049
Merge pull request #2195 from obscuren/gpo-rpc
...
eth: Added GPO to suggest default gas prices
9 years ago
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
9 years ago
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
9 years ago
Péter Szilágyi
59cd60b266
eth, eth/downloader, jsre: surface state sync progress through the API
9 years ago
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
9 years ago
Péter Szilágyi
dda5af0e6c
eth, miner: move the public miner api into eth to access etherbase
9 years ago
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
9 years ago
Péter Szilágyi
f1ec226d80
eth/downloader: raise pending state limit that prevented concurrency
9 years ago
Péter Szilágyi
856b9e9c50
Merge pull request #2183 from bas-vk/issue2180
...
eth_sendTransaction, error not reported
9 years ago
Bas van Kervel
5fb68f4b39
eth: sendTransaction would not report the error when tx could not be added to tx pool
9 years ago
Jeffrey Wilcke
707ac67bab
Merge pull request #2106 from obscuren/out-of-bound-logs
...
eth/filters: added notifications for out of bound log events
9 years ago
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.
9 years ago
Jeffrey Wilcke
7d2d141b34
Merge pull request #2178 from isghe/fix_typo
...
cmd/utils: fix jspath flag typo
9 years ago
Isidoro Ghezzi
cf47ef12d3
cmd/utils: fix jspath flag typo
9 years ago
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
9 years ago
Péter Szilágyi
2128289631
Merge pull request #2171 from karalabe/rpc-modules-fix
...
rpc: add jsonrpc version to module request, use json types
9 years ago
Péter Szilágyi
6b939fbeaa
rpc: add jsonrpc version to module request, use json types
9 years ago
Péter Szilágyi
188ab928c3
cmd, common, node, rpc: move IPC into the node itself
9 years ago
Jeffrey Wilcke
3274db19c7
Merge pull request #2169 from karalabe/fix-http-rpc-method
...
rpc: allow RPC requests on GET too
9 years ago
Péter Szilágyi
a50bccc642
Merge pull request #2134 from karalabe/save-state-writes
...
core/state, trie: don't leak database writes before commit
9 years ago
Péter Szilágyi
fbbedb4c03
Merge pull request #2154 from karalabe/rpc-fixes
...
cmd, eth, rpc: fix some RPC issues with pending blocks
9 years ago
Péter Szilágyi
5da7ec7c18
cmd, eth, rpc: fix some RPC issues with pending blocks
9 years ago
Péter Szilágyi
a8fd0de0d3
Merge pull request #2156 from ppratscher/add_replay_tx
...
core/vm, rpc/api: added debug_replayTransaction RPC call
9 years ago
Péter Szilágyi
2e2f093ec2
Merge pull request #2167 from obscuren/abi-event-fixes
...
account/abi: implements event parsing
9 years ago
Péter Szilágyi
da645f007b
Merge pull request #2166 from obscuren/contrib
...
CONTRIBUTING: Added a feature section
9 years ago
Péter Szilágyi
72c255caef
rpc: allow RPC requests on GET too
9 years ago
Péter Szilágyi
db056eeafe
Merge pull request #2170 from karalabe/fix-miner-registration
...
miner: register newly created remote agent in the API
9 years ago
Péter Szilágyi
9aa7158057
miner: register newly created remote agent in the API
9 years ago
Jeffrey Wilcke
1894c9239f
CONTRIBUTING: Added a feature section
9 years ago
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.
9 years ago
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
9 years ago
Jeffrey Wilcke
6005dcef5b
Merge pull request #2098 from karalabe/rpc-txpool-queue-inspection
...
core, eth, rpc/api: rpc method to inspect the txpool queue
9 years ago
Péter Szilágyi
d3642b0715
core, eth, rpc/api: rpc method to inspect the txpool queue
9 years ago
Jeffrey Wilcke
f85212aa86
Merge pull request #2146 from fjl/discover-win32-large-packets
...
p2p/discover: fix Windows-specific issue for larger-than-buffer packets
9 years ago
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
9 years ago
Péter Szilágyi
0781fd7aa0
containers/docker/master-alpine: add the legacy gmp lib back for now
9 years ago
Péter Szilágyi
aed25640a4
Merge pull request #2164 from karalabe/add-alpine-images
...
containers: regroup and add Alpine images (31 MB)
9 years ago
Péter Szilágyi
f9b2fd79e8
containers: regroup and add Alpine images (31 MB)
9 years ago
Jeffrey Wilcke
528dcc3814
Merge pull request #2151 from fjl/debug-api
...
internal/debug: APIs for profiling and tracing
9 years ago
Jeffrey Wilcke
ae1a137ce7
Merge pull request #2143 from karalabe/fix-transaction-sort-2
...
core, core/types, miner: fix transaction nonce-price combo sort
9 years ago
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.
9 years ago
Felix Lange
e287b56b69
logger/glog: clean up flag getters
9 years ago
Felix Lange
a411fe7e6e
logger/glog: fix TraceLocation.Set("")
9 years ago
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.
9 years ago
Jeffrey Wilcke
63e76482ac
Merge pull request #2140 from obscuren/rpc2-console
...
Rpc2 console
9 years ago
Bas van Kervel
19b2640e89
rpc: migrated the RPC insterface to a new reflection based RPC layer
9 years ago