Gav Wood
649767b911
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-31 12:05:23 +02:00
Gav Wood
5766354c19
Tests for VM tracing.
2016-05-31 12:04:53 +02:00
Robert Habermeier
b036f1de98
stop eth_syncing from returning true forever ( #1181 )
2016-05-31 10:31:36 +02:00
Gav Wood
8082fdb3ff
Fix max-value calls and add "creates" field to getTransaction.
2016-05-30 22:27:28 +02:00
Gav Wood
79503e4f14
Added VM trace information for post-execution stuff.
2016-05-30 17:19:15 +02:00
Robert Habermeier
ea26deaab1
mocked test for eth_syncing
2016-05-30 12:33:49 +02:00
Gav Wood
11f4e8cb73
Fix mock tests.
2016-05-30 11:53:20 +02:00
Robert Habermeier
bbe6a287f8
add mocked test for eth_coinbase
2016-05-29 17:18:37 +02:00
Robert Habermeier
89659606dd
add mocked test for eth_sendRawTransaction
2016-05-29 17:07:39 +02:00
Robert Habermeier
be1ec93271
implement eth_sign
2016-05-29 15:46:57 +02:00
Robert Habermeier
7cea3eb5ed
move rpc_unimplemented into impls module
2016-05-29 15:21:23 +02:00
Robert Habermeier
191bae5cd4
add stubs for missing eth_* rpc methods
2016-05-29 15:21:23 +02:00
Robert Habermeier
fb2ea765d5
remove default implementations using rpc_unimplemented!()
2016-05-29 15:21:23 +02:00
Gav Wood
a5808833b1
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-29 11:13:48 +02:00
Gav Wood
cd16828fef
Integrated VM tracing into JSONRPC.
2016-05-29 00:58:52 +02:00
Arkadiy Paronyan
b9f7ed9185
Merge pull request #1141 from rphmeier/rpc-tests
...
Framework for improved RPC unit tests
2016-05-29 00:50:19 +02:00
Tomasz Drwięga
87d0f09a44
Base for Signer Websockets server ( #1158 )
...
* Basic signing queue
* Adding docs
* WebSockets server for signer
* Removing TODO
* Shortening the syntax
* Exposing types from RPC
* Fixing indentation
* Update main.rs
2016-05-28 19:30:31 +02:00
Gav Wood
d4a06b27ed
Create VMTracer trait.
2016-05-28 17:50:20 +02:00
Gav Wood
c1ed520de0
RPC endpoint for VM tracing and ser/de types ready.
2016-05-28 16:52:33 +02:00
Robert Habermeier
5197ca87ee
merge with master
2016-05-27 18:55:01 +02:00
Robert Habermeier
c021ecd13b
move "integration" tests out into main module
2016-05-27 18:40:48 +02:00
Robert Habermeier
9d4cd7b73e
assert the transaction is being signed correctly
2016-05-27 18:21:27 +02:00
Robert Habermeier
e7791c220a
rebase fixes and address style concern
2016-05-27 18:21:26 +02:00
Robert Habermeier
4c55e4968e
add eth_blockNumber, eth_TransactionCount integration tests.
...
also adds an EthTester struct for more test flexibility.
2016-05-27 18:18:44 +02:00
Robert Habermeier
f67486e31f
have miner service update the pending nonces on transaction import
2016-05-27 18:18:42 +02:00
Robert Habermeier
d370a86b43
More flexible chain extraction, get_balance test
2016-05-27 18:13:53 +02:00
Robert Habermeier
152bb6f21b
create integration test harness for eth RPC API
2016-05-27 18:13:49 +02:00
Robert Habermeier
56b020987e
refine tests for call deserialization
2016-05-27 18:09:32 +02:00
Robert Habermeier
b28a8411a4
refactor dispatch_transaction and sign_and_dispatch into impls module
...
this has the added benefit of allowing the removal of redundant upgrades.
2016-05-27 16:50:25 +02:00
Robert Habermeier
194ca19720
move tests to personal
2016-05-27 16:45:26 +02:00
Robert Habermeier
c9efb56e19
move sign_and_send_transaction implementation to personal
2016-05-27 16:45:26 +02:00
Robert Habermeier
db2efe8485
move signAndSendTransaction to Personal trait.
2016-05-27 16:45:26 +02:00
Robert Habermeier
a272f8570c
correct indentation
2016-05-27 16:35:42 +02:00
Robert Habermeier
3f89362630
rename x_latest to latest_x in BlockChainClient
2016-05-27 16:35:42 +02:00
Robert Habermeier
30eee76767
use new nonce function in eth_TransactionCount
2016-05-27 16:35:42 +02:00
Robert Habermeier
86eab79d9d
consolidate [balance/storage]_at and _at_id functionality
2016-05-27 16:35:41 +02:00
Robert Habermeier
3405f3eab1
implement storage_at_id
2016-05-27 16:35:41 +02:00
Robert Habermeier
2b7fae8fa6
add state_at_id and balance_at_id, integrate with RPC
2016-05-27 16:35:41 +02:00
Robert Habermeier
e0e722784c
move existing rpc tests into mocked module
2016-05-26 20:37:08 +02:00
debris
6fd9780e60
do not clone pending transaction hashes
2016-05-26 12:44:17 +02:00
debris
f811fdc2cd
fixed pending transactions
2016-05-26 11:42:27 +02:00
Marek Kotewicz
ebd0cdbc7a
Fixpending ( #1074 )
...
* Fix --geth IPC for MacOS.
* fix pending_* methods in MinerService, add pending_receipts
* pending logs
* include pending logs when polling
* fixed returning pending logs multiple timees
* log type
* transactionHash is supplied to pending logs
* miner returns receipts together with hashes
* bring back miners all_transactions used by sync module
2016-05-24 21:56:32 +02:00
Tomasz Drwięga
5579582a52
Sign and send transaction
2016-05-23 11:30:11 +02:00
Gav Wood
0c4cd00c1f
Fix styling - don't mix spaces with tabs!!!
2016-05-22 12:42:22 +02:00
Gav Wood
c8d2237f0a
Fix is_syncing so it's false as long as the update is trivial. ( #1122 )
2016-05-22 11:47:17 +02:00
Gav Wood
b53d0050dd
Relock unlocked accounts after first use ( #1120 )
...
* Add `SecretStore::unlock_account_temp` function.
* Test for relocking accounts.
2016-05-21 22:23:16 +02:00
Marek Kotewicz
852155959d
Merge pull request #1098 from ethcore/trace_err
...
pretty print trace error
2016-05-19 18:00:39 +02:00
arkpar
ca6c91f591
New sync algorithm
2016-05-19 16:16:11 +02:00
debris
5ec096d57e
Fixed ethcore-rpc compilation errors.
2016-05-19 15:48:40 +02:00
debris
95365670e4
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 14:15:05 +02:00
debris
634679966e
Make Id/ID and db/Db/DB usage consistent
2016-05-19 11:00:32 +02:00
debris
55ebab2392
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 01:03:55 +02:00
Gav Wood
46f3b5f913
Fix up the seal fields in RPC output. ( #1096 )
...
Make Ethash::extra_info() work.
Seal fields now decode the RLP.
2016-05-19 00:41:41 +02:00
debris
14b6b389f2
propagate trace error to the top
2016-05-18 11:34:15 +02:00
Gav Wood
56c705968b
Fix typo.
2016-05-16 13:33:29 +02:00
Gav Wood
f4d5c7b48e
Fix uncle getter
...
Uncle blocks don't necessarily have BlockDetails, so can't get total
difficulty directly.
Closes #1057
2016-05-16 12:46:09 +02:00
Nikolay Volf
354ac7d6e5
Limiting result of the execution to execution-specific errors ( #1071 )
...
* execution error/result limiting
* missing trailing comma
* fix executive tests
* adding original error as string to the generic transaction error
* 'mallformed'-s all around
2016-05-14 13:28:44 +01:00
Marek Kotewicz
9b91444638
comma delimeting multiple cors headers ( #1078 )
2016-05-14 12:29:26 +01:00
Tomasz Drwięga
49cc40708d
Fixing formatter for defaultExtraData ( #1060 )
2016-05-08 21:34:15 +01:00
Arkadiy Paronyan
0b1442faa2
Merge pull request #1041 from ethcore/rpc_modules
...
Fixing RPC modules compatibility
2016-05-04 15:48:07 +02:00
Nikolay Volf
c449bf5663
JSON-RPC over IPC ( #1039 )
...
* moving namespaces for http/rpc
* cli options for ipc
* jsonrpc exposed fully
* updating json-ipc-server & removing non-standart traces api from defaults
* spelling & format
2016-05-04 15:37:09 +02:00
Tomasz Drwięga
c3f33aefdd
Fixing RPC modules compatibility
2016-05-04 14:03:29 +02:00
Gav Wood
ac73b2628a
Basic Authority ( #991 )
...
* Firt commit.
* First non-functional but correct implementation of BasicAuthority.
Still needs:
- Sealing infrastructure.
* Punch a hole to give miner access to key store.
* Fix test built.
* Basic version of synchronous mining.
This will seal a block whenever a new transaction comes through.
To be made better we need a timer which will wait for one second after the
last block before sealing a new one - better still would be to cooperatively
interleave blocks with other sealing nodes.
* Add tests.
* Fix minor issues from repotting.
* Address grumbles.
2016-05-03 17:23:53 +02:00
Tomasz Drwięga
2ac438a82d
Exposing default extra data
2016-05-02 16:12:01 +02:00
Marek Kotewicz
7c2adc4137
Tracedb interface && cli ( #997 )
...
* traces cli and jsonrpc api
* missing if in docs
* adding traces to modules
2016-05-02 12:17:30 +02:00
Tomasz Drwięga
e942f86bd7
Modules RPC ( #1019 )
2016-04-29 19:52:08 +01:00
Arkadiy Paronyan
8f7624f5cb
Support 'pending' block in RPC ( #1007 )
...
* Support `pending` block in RPC
* Forward calls from miner to client in case no pending block is available
2016-04-28 20:47:44 +01:00
Tomasz Drwięga
ea669ac6b6
Enable pending block when there is local transaction pending. ( #1005 )
...
* Enabling sealing while importing own transaction
* Fixing import transaction deadlock
* Checking if there are local transactions in queue
* Updating hyper-mio
* Switching to rust-url#1.0.0
2016-04-28 16:36:53 +01:00
Nikolay Volf
a86c39f7fa
IPC JSON RPC (for external interface) ( #1009 )
...
* initial
* rpc file
* compiling nano part
* remove from rpc lib so far
* drop & stop improved
* ok(0)
2016-04-28 15:58:18 +01:00
debris
d4a0ad0a60
make jsonrpc api engine agnostic
2016-04-25 16:06:08 +02:00
Tomasz Drwięga
8b84b4f128
Merge branch 'master' into rpc-shared-miner
...
Conflicts:
parity/main.rs
2016-04-22 12:16:15 +02:00
Tomasz Drwięga
0458a3378c
Additional RPC methods for settings
2016-04-21 19:24:10 +02:00
Tomasz Drwięga
ef9b49f0b2
Merge branch 'main-refactor' into rpc-shared-miner
2016-04-21 17:38:21 +02:00
Tomasz Drwięga
f5c2bea134
Shared instance of ExternalMiner
2016-04-21 17:32:53 +02:00
Tomasz Drwięga
c47d08e308
Fixing warnings
2016-04-21 16:06:54 +02:00
Tomasz Drwięga
f2a08d57e4
Merge branch 'master' into rpc-logs
...
Conflicts:
rpc/src/v1/tests/ethcore.rs
rpc/src/v1/traits/ethcore.rs
2016-04-19 19:59:50 +02:00
Tomasz Drwięga
407ab30503
Using ArrayVec to store logs
2016-04-19 19:22:14 +02:00
Tomasz Drwięga
a21f2a0998
Exposing loggin via RPC
2016-04-19 18:27:12 +02:00
Tomasz Drwięga
98b3962412
RPC methods to set the limits
2016-04-18 23:13:38 +02:00
Tomasz Drwięga
d093c5755e
Moving own transaction tracing to miner create
2016-04-17 20:36:37 +02:00
Tomasz Drwięga
8389f771e9
Tracing whole transaction
2016-04-17 18:36:07 +02:00
Tomasz Drwięga
5086880093
Additional logging for transactions
2016-04-17 18:26:15 +02:00
Arkadiy Paronyan
9b2f545391
Merge pull request #956 from ethcore/cors-option
...
Changing cors header to be optional
2016-04-14 21:16:57 +02:00
Gav Wood
d909bc05c4
Sensible gas limits for eth_sendTransaction ( #953 )
...
* Sensible gas limits for eth_sendTransaction
Fixes #859
* Compile fix.
* Remove !.
2016-04-14 12:01:12 -07:00
Tomasz Drwięga
5b2d726a02
Changing cors header to be optional
2016-04-14 14:38:07 +02:00
debris
fd2d55934b
default filter from block should be Latest, not Earliest
2016-04-13 11:32:28 +02:00
Tomasz Drwięga
fbc28ce493
Additional methods for ethcore-specific rpc. Altering miner parameters ( #934 )
2016-04-12 15:04:40 -07:00
Tomasz Drwięga
3fe21f5931
Ethcore-specific RPC methods ( #923 )
...
* Ethcore-specific rpc methods
* Initializing ethcore-rpc
2016-04-11 12:06:32 -07:00
Gav Wood
c48374dbc6
Parameter to allow user to force the sealing mechanism ( #918 )
...
* Allow block sealing mechanism to be forced, even when not mining.
* Fix deadlock in dispatch_transaction. Fix tests.
* Horrible workaround for transaction importing.
* Reduce tracing. Cleanups.
* Remove logging.
* Remove broken code inherited from dodgy implementation.
* pre-query tx queue nonce also if any
* remove outside nonce queries
* remove queue nonces
2016-04-11 11:52:33 -07:00
debris
dc6ade4ae3
fixed transaction deadlock
2016-04-11 12:44:57 +02:00
Gav Wood
6c35c5e604
--unlock is comma-delimited. ( #916 )
2016-04-10 14:01:41 -07:00
Marek Kotewicz
fed853593b
fixed eth_getLogs ( #915 )
...
* fixed eth_getLogs
* removed empty lines
2016-04-10 11:42:03 -07:00
Gav Wood
215973c7ab
Merge pull request #898 from ethcore/fixed_895
...
fixed #895
2016-04-08 17:41:54 -07:00
Arkadiy Paronyan
46a25b31ab
Merge pull request #894 from ethcore/send-transactions
...
Propagate transaction queue
2016-04-07 15:36:01 +02:00
arkpar
8074fee28c
Use new json RPC server
2016-04-07 14:32:44 +02:00
Tomasz Drwięga
12d1dcddeb
Updating rpc comments
2016-04-07 10:31:42 +02:00
debris
d1d3d847ab
fixed #895
2016-04-07 00:33:55 +02:00
arkpar
3438cda432
Propagate transaction queue
2016-04-06 23:03:07 +02:00
Tomasz Drwięga
a52043d5b3
Removing additional thread from JSON-RPC
2016-04-06 19:14:05 +02:00
Tomasz Drwięga
1f9eb97d0a
Merge branch 'master' into closing
2016-04-06 19:07:56 +02:00