Gav Wood
335bce85e8
Gas price statistics. ( #1291 )
...
* Gas price statistics.
Affects eth_gasPrice.
Added ethcore_gasPriceStatistics.
Closes #1265
* Fix a bug in eth_gasPrice
* Fix tests.
* Revert minor alteration.
* Tests for gas_price_statistics.
- Tests;
- Additional infrastructure for generating test blocks with
transactions.
2016-06-18 10:52:50 +02:00
arkpar
3f77f7ce1f
Removed RPC methods
2016-06-18 09:50:05 +02:00
arkpar
b38488dd07
Network shutdown
2016-06-17 12:58:28 +02:00
Gav Wood
be6c572449
Update eth.rs
2016-06-15 01:26:58 +02:00
debris
dac387fac1
changed rpc error message to Still Syncing, when mining is not ready
2016-06-15 01:12:46 +02:00
debris
7610d308e8
fixed #1255
2016-06-14 15:17:17 +02:00
Arkadiy Paronyan
b33482ce74
Merge pull request #1259 from ethcore/clippy-bump
...
Clippy bump
2016-06-13 11:57:07 +02:00
Arkadiy Paronyan
7064624b6f
Merge pull request #1252 from ethcore/dapps-bump
...
Signer port returned from RPC + Topbar showing count of unconfirmed transactions.
2016-06-12 12:02:48 +02:00
Tomasz Drwięga
fca22e92ce
Bumping clippy
2016-06-12 11:26:07 +02:00
Tomasz Drwięga
e5e238746b
Bumping sysui & topbar. personal_signerEnabled returns port
2016-06-10 15:39:34 +02:00
Arkadiy Paronyan
e633cd2f75
Merge pull request #1247 from ethcore/rpc-cors-fix
...
Fixing CORS settings for special values: * & null.
2016-06-10 14:09:10 +02:00
Tomasz Drwięga
d54d3a2c60
Fixing match
2016-06-09 15:19:48 +02:00
Tomasz Drwięga
2e52c99042
Fixing CORS settings
2016-06-09 10:02:52 +02:00
Gav Wood
2e56fbad2c
Use nicer strings for tests.
2016-06-08 12:41:29 -07:00
Gav Wood
293d9f15d5
Tests for JSON serialisation of statediff/vmtrace ( #1241 )
...
* Splitting RPC Apis into more fine-grained sets
* Remove old code/comment.
* Add test for VMTrace ser.
* Add StateDiff ser test.
2016-06-08 12:40:55 -07:00
Tomasz Drwięga
be435cde99
Splitting RPC Apis into more fine-grained sets ( #1234 )
2016-06-07 13:52:48 -07:00
Gav Wood
c5d8f5e136
Add StateDiff ser test.
2016-06-07 12:44:57 -07:00
Gav Wood
446c9096f4
Add test for VMTrace ser.
2016-06-07 12:30:44 -07:00
Gav Wood
2abe8cc5dd
Merge branch 'master' into apis-split
2016-06-07 10:42:09 -07:00
Tomasz Drwięga
fdc22db3f4
Signer RPC method to check if signer is enabled ( #1238 )
...
* API to check if signer is enabled
* Fixing compilation warnings
2016-06-07 10:33:32 -07:00
Tomasz Drwięga
bf9173e673
Fixing signer behaviour when confirming transaction with wrong password. ( #1237 )
...
* Avoid removing transactions when trying to confirm and the password is invalid
* Fix order
2016-06-07 08:25:01 -07:00
Tomasz Drwięga
f61ee1a5f1
SystemUIs authorization ( #1233 )
...
* Initial implementation of AuthCodeStore for SystemUIs
* SystemUIs authorization
* Renaming SystemUI -> SignerUI
* Fixing clippy warnings
* Lowering time threshold
* Bumping sysui
* Fixing test
2016-06-07 08:21:19 -07:00
Tomasz Drwięga
62e37aef8f
Splitting RPC Apis into more fine-grained sets
2016-06-07 13:01:37 +02:00
Gav Wood
3db2328f52
Merge branch 'txtracingforcall' into serdestatediff
2016-06-06 19:24:07 -07:00
Gav Wood
4efd658577
Merge branch 'master' into txtracingforcall
2016-06-06 19:19:32 -07:00
Gav Wood
0cb1affd48
Use serialize framework for VMTrace JSON.
2016-06-06 15:18:38 -07:00
Tomasz Drwięga
18ffd94674
Fixing warnings
2016-06-06 12:18:17 +02:00
Arkadiy Paronyan
98d9752097
Merge pull request #1219 from ethcore/clippy-bump
...
Clippy bump & fixing warnings
2016-06-06 11:46:59 +02:00
Marek Kotewicz
b93c83b8a0
Merge pull request #1216 from ethcore/serde-bump
...
Bumping serde & syntex
2016-06-06 11:32:13 +02:00
Tomasz Drwięga
a7de430193
Merge branch 'master' into clippy-bump
...
Conflicts:
dapps/Cargo.toml
2016-06-06 10:13:42 +02:00
Tomasz Drwięga
a063a63ac7
Merge branch 'master' into serde-bump
...
Conflicts:
ethcore/src/types/state_diff.rs
2016-06-06 10:10:06 +02:00
Gav Wood
1fa8f108d9
StateDiff uses serde preprocessor.
2016-06-06 00:24:21 +02:00
Gav Wood
bbd024d646
Merge branch 'master' into switchrpcns
2016-06-05 21:37:56 +02:00
Marek Kotewicz
c8c47ebe32
Merge pull request #1206 from ethcore/diffing
...
Integrate state diffing into the ethcore JSONRPC
2016-06-05 21:35:36 +02:00
Gav Wood
4dc9aedfb5
Merge branch 'master' into txtracingforcall
2016-06-03 12:06:39 +02:00
Tomasz Drwięga
ae2deaaf72
Bumping clippy version
2016-06-03 11:15:38 +02:00
Tomasz Drwięga
18dac64abb
Simple WebSockets notification about new request ( #1202 )
...
* Splitting methods requiring signing into separate trait
* Single place where RPC apis are created.
* Separating eth_filter
* Separating eth_signing
* Stubs for Personal Signer methods
* Test for EthSigningQueueClient
* TransactionConfirmation API
* Exposing PersonalSigner API
* Defining ApiSets dependent on context
* Removing types
* Supporting sending notification to WS connected SystemUIs
* Sending a notification on every new messages
* Adding logs to signing queue
* Shutting down broadcaster
* Refactoring the signing queue
* Fixing wait loop in case of spurious wake-ups.
2016-06-02 17:05:13 +02:00
Gav Wood
f357274ced
Merge branch 'master' into txtracingforcall
2016-06-02 16:44:11 +02:00
Gav Wood
7dc05f1bcc
Unify tracing interface into a single call.
2016-06-02 16:30:28 +02:00
Nikolay Volf
c3404c9b59
Merge pull request #1205 from ethcore/fixed_1204
...
fixed #1204
2016-06-02 14:06:08 +02:00
Gav Wood
a132fefcc7
Transaction tracing for eth_call.
2016-06-02 13:50:50 +02:00
Gav Wood
c202abe09d
Switch RPC namespace form ethcore_ to trace_
2016-06-02 13:14:49 +02:00
debris
9a626c84bc
fixed #1204
2016-06-02 12:44:05 +02:00
Gav Wood
b17581d7de
VM tracing and JSON RPC endpoint for it. ( #1169 )
...
* Groundwork for basic VM tracing.
* RPC endpoint for VM tracing and ser/de types ready.
* Create VMTracer trait.
* Rearchitected VM tracing to reflect existing tracing.
Should more or less work now.
* Integrated VM tracing into JSONRPC.
* Fix ethcore module tests.
* Add tests for VM tracing.
* Fix consensus test code.
* Fix mock tests.
* Added VM trace information for post-execution stuff.
* Fix max-value calls and add "creates" field to getTransaction.
* Tests for VM tracing.
* Don't implement the trait with unimplemented.
* Remove invlaid comment.
* Fix tests.
2016-06-02 12:40:31 +02:00
Gav Wood
b9ec87548d
Minor renaming diff -> state_diff
2016-06-02 12:39:25 +02:00
Gav Wood
bc5c3da2af
Merge branch 'vmtracing' into diffing
2016-06-02 12:28:09 +02:00
Gav Wood
d40a038f37
Fix tests.
2016-06-02 11:49:27 +02:00
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Tomasz Drwięga
5f68b81f68
Updating jsonrpc-core
2016-06-01 20:32:16 +02:00
Nikolay Volf
c370bcaded
merge fixes
2016-06-01 19:57:34 +02:00
Nikolay Volf
6676c6cf7e
Merge branch 'master' into client-refact
2016-06-01 19:42:32 +02:00
Tomasz Drwięga
99e26b8480
Simple signing queue, confirmation APIs exposed in signer WebSockets. ( #1182 )
...
* Splitting methods requiring signing into separate trait
* Single place where RPC apis are created.
* Separating eth_filter
* Separating eth_signing
* Stubs for Personal Signer methods
* Test for EthSigningQueueClient
* TransactionConfirmation API
* Exposing PersonalSigner API
* Defining ApiSets dependent on context
* Removing types
* Fixing default impl
* Fixing un-mocked tests
* Update signing_queue.rs
[ci skip]
* Removing unused import [ci skip]
2016-06-01 19:37:34 +02:00
Tomasz Drwięga
a7a2b55362
Using ethcore http server
2016-06-01 19:32:05 +02:00
Tomasz Drwięga
1fd9110829
Serde bump
2016-06-01 17:59:21 +02:00
Nikolay Volf
985d412c48
fix merges again
2016-06-01 13:03:26 +02:00
Nikolay Volf
c00b84e10b
merge fixes
2016-06-01 12:54:47 +02:00
Nikolay Volf
d45a676dc0
all tests fixed
2016-05-31 22:24:32 +02:00
Robert Habermeier
5fd4b9d7bd
formatting fix
2016-05-31 21:50:25 +02:00
Nikolay Volf
77cef76518
rpc bindings resolved
2016-05-31 21:31:42 +02:00
Gav Wood
34edecd59d
State diffing, exposed through JSONRPC.
2016-05-31 21:03:44 +02:00
Nikolay Volf
f5ed31792f
fixed sync with client only
2016-05-31 20:54:02 +02:00
Robert Habermeier
c81e4e24b3
add ability to have heavy tests
2016-05-31 19:51:24 +02:00
Robert Habermeier
4ccaabde40
add transaction count verifier tests
2016-05-31 19:30:40 +02:00
Robert Habermeier
5cb58c4269
use Miner in rpc tests, remove chain_harness
2016-05-31 15:25:14 +02:00
Gav Wood
12547ecd37
Remove invlaid comment.
2016-05-31 12:58:47 +02:00
Gav Wood
1fdb1de218
Don't implement the trait with unimplemented.
2016-05-31 12:58:10 +02:00
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
7ee23240f0
fix travis test build
2016-05-27 18:19:18 +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
Tomasz Drwięga
fa6b35ec8d
Bumping clippy. Fixing warnings ( #1139 )
...
* Bumping clippy. Fixing warnings
* Removing unused import
* Fixing complexity and arguments warning on two functions
2016-05-25 17:03:58 +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
Tomasz Drwięga
9b9ea93ff7
Bumping clippy & crossbeam
2016-05-17 09:33:01 +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
Nikolay Volf
d9acbbb027
finalizing deps rearrange
2016-05-06 16:40:24 +04:00
Nikolay Volf
c16a46dca7
all to ethcore
2016-05-06 14:58:37 +04:00
Nikolay Volf
2cb085db91
fixing issues with syntax
2016-05-06 02:25:58 +04:00
Nikolay Volf
aa6db4e69d
placing right versions
2016-05-06 01:54:15 +04: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
Arkadiy Paronyan
8f56b21ca9
Merge pull request #1030 from ethcore/master-version
...
Version 1.2
2016-05-03 10:05:28 +02:00
Tomasz Drwięga
2ac438a82d
Exposing default extra data
2016-05-02 16:12:01 +02:00
arkpar
008d009e3e
Version 1.2
2016-05-02 15:02:26 +02:00
Tomasz Drwięga
e2465b1eab
Bumping clippy & fixing warnings ( #1024 )
...
* Bumping clippy
* Fixing warnings found by clippy
2016-05-02 13:13:12 +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
e22e4b9b8b
Switching to geth-attach supporting version of rpc core and server ( #1022 )
2016-04-30 19:41:56 +01: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
Tomusdrw
2f52699c9b
Merge branch 'master' into rpc-exception-handling
2016-04-26 11:30:37 +02:00
Tomusdrw
36104edc63
Merge branch 'master' into rpc-exception-handling
2016-04-25 17:37:55 +02:00
debris
d4a0ad0a60
make jsonrpc api engine agnostic
2016-04-25 16:06:08 +02:00
Tomasz Drwięga
8956d7e02b
Exception handling in RPC & WebApps
2016-04-23 12:29:12 +02:00