Tomasz Drwięga
3e474216ac
Peek transaction queue via RPC ( #2270 )
...
* Handle RLP to string UTF-8 decoding errors (#2217 )
* pending transactions
Conflicts:
rpc/src/v1/impls/ethcore.rs
rpc/src/v1/traits/ethcore.rs
2016-09-23 20:53:21 +02:00
Robert Habermeier
ff0be9f361
Separate RPC serialization from implementation ( #2072 )
...
* add auto-args deserialization for RPC
* make block param member public
* change BlockParam to a more generic Trailing<T> mechanism
* define work type
* build_rpc_trait macro, implement eth protocol
* fix up tests
* move eth_filter API to new macro
2016-09-23 19:42:33 +02:00
Gav Wood
07b5e9a5c7
Encryption, decryption and public key RPCs. ( #1946 )
...
* Fix up pending receipts details.
* Add support for additional params and registry over RPC.
* Fix tests.
* Add test, additional fix.
Fixes #1932 .
* Fix up tests.
* Fix test.
* Fix test.
* Remove unused use.
* Add encryption, decryption and public-key RPCs.
* Remove &
2016-09-22 14:48:22 +02:00
Tomasz Drwięga
b7e2afd5c0
New signer token RPC & Initial signer connection without token. ( #2096 )
...
* Allowing signer to use initial token
* Generating new tokens via RPC
* Fixing RPC tests
* Fixing signer doctest
* whitespace
[ci:skip]
* whitespace
[ci:skip]
2016-09-21 11:44:49 +01:00
Tomasz Drwięga
b4f3c4bd7a
Asynchronous RPC support ( #2017 )
...
* Async RPC
* Limiting number of transactions in queue
* Fixing tests
* Bumping serde and jsonrpc-core
* serde updated to 0.8
* fixed failing tests
* Bumping ipc server
* Fixing API for endpoints
* Experimenting with tests without --release mode
2016-09-01 12:00:00 +02:00
Gav Wood
ccdf80f4dc
Fix several RPCs ( #1926 )
...
* Fix up pending receipts details.
* Add support for additional params and registry over RPC.
* Fix tests.
* Add test, additional fix.
Fixes #1932 .
* Fix up tests.
* Fix test.
* Fix test.
2016-08-17 19:25:02 +02:00
Gav Wood
ca54b8e493
RPC for importing geth keys ( #1916 )
...
* Address book for local addresses.
* Simple disk-backed address book.
* Add test and keep file with keys.
* View and import Geth keys.
* Fix test.
* Fix up author info.
[ci:skip]
2016-08-11 18:31:28 +02:00
Tomasz Drwięga
f114a933a3
Peers RPC + UI displaying active/connected/max peers ( #1915 )
...
* Peers API
* Bumping Parity-UI
* Fixing tests
2016-08-11 17:19:20 +02:00
Gav Wood
6ab78a0091
RPC for deriving address from phrase.
...
Fixed #1911
2016-08-10 21:23:17 +02:00
Gav Wood
286b67d54b
Wallet rpcs ( #1898 )
...
* Add wallet RPCs.
* Add wordlist file.
* Add standard brain wallet tests.
* Allow import of JSON wallets.
* Address grumble.
2016-08-10 17:57:40 +02:00
Tomasz Drwięga
979f4e0617
eth_checkTransaction renamed to eth_checkRequest ( #1817 )
...
* Making ConfirmationsQueue a bit more generic [WiP]
* Generalizing cofirmations
* New confirmations types - tests
* Separating transaction type in queue. Closes #1310
* Handling sign requests
* Speeding up tests
* Renaming methods
* eth_postSign
* Bumping ui
* Renaming checkRequest methods, adding tests
* Removing duplicate method [ci skip]
* Remove `_posted`
[ci:skip]
* Remove `_posted`
2016-08-04 16:42:29 +02:00
Tomasz Drwięga
9fb5623569
Supporting eth_sign in Signer ( #1787 )
...
* Making ConfirmationsQueue a bit more generic [WiP]
* Generalizing cofirmations
* New confirmations types - tests
* Separating transaction type in queue. Closes #1310
* Handling sign requests
* Speeding up tests
* Renaming methods
* eth_postSign
* Bumping ui
2016-08-03 10:36:54 +02:00
Gav Wood
eaa41ea568
Add RPC & client call to replay a transaction. ( #1734 )
...
* Add RPC & client call to replay a transaction.
* Address grumbles
2016-07-27 21:34:32 +02:00
Gav Wood
7cf807d1b4
Various improvements to tracing & diagnostics. ( #1707 )
...
* Various improvements to tracing & diagnostics.
- Manage possibility of `Account` not having code for `PodAccount`
- New RPC: `trace_sendRawTransaction`
- See raw transaction dump when inspecting over RPC
* Fix test
* Remove one of the dupe error messages
* Remove unneeded `&`s
* Reformat and extremely minor optimisation
* Minor optimisation
* Remove unneeded let
* Fix tests.
* Additional fix.
* Minor rename.
[ci:skip]
* Bowing to the pressure.
2016-07-26 16:48:50 +02:00
Gav Wood
3f841cc578
Name and meta in accounts ( #1695 )
...
* Introduce persistent name() and meta() in SecretStore.
* Quick stash.
* Fix build.
* Add ethcore_set methods.
* Bug fixes for default values.
* Move to personal to ensure set API exposed.
* Add UUID to accounts info.
* Add tests.
2016-07-24 17:38:21 +02:00
gregg dourgarian
d67369a01c
fix typos ( #1644 )
2016-07-19 20:42:23 +02:00
Gav Wood
3ba3dd3805
Asynchronous transactions (polling based for now). ( #1652 )
...
* Asynchronous transactions (polling based for now).
- Alter eth_sendTransaction to be async, returning one of:
- Transaction hash (signed and submitted).
- Transaction promise ID (< 32 bytes).
- Zero hash (will never be signed).
- Introduce new JSONRPC eth_checkTransaction.
The new API call takes a single argument - a promise ID. It returns
either:
- Transaction hash (signed and submitted).
- null (still pending, call again later),
- Zero hash (will never be signed).
* New RPC eth_postTransaction
- Restore previous semantics of sendTransaction.
- Introduce eth_postTransaction.
- Some refactoring.
* Fix minor lockup.
* Use TransientHashMap to prevent leak.
2016-07-19 09:19:58 +02:00
Nikolay Volf
d3695d0b72
Major sync <-> client interactions refactoring ( #1572 )
...
* chain notify trait
* replaced network service with io service
* fix ethcore crate warnings
* refactored network service without generic
* ethcore fix
* ethsync refactoring
* proper linking of notify
* manage network interface
* rpc crate rebinding
* full rewire
* sync internal io service
* fix deadlock
* fix warnings and removed async io
* sync imported message propagation
* fix rpc warnings
* binart warnings
* test fixes
* rpc mocks and tests
* fix util doctest
* fix message name and removed empty notifier
* pointers mess & dark mode fixed
* fixed sync doctest
* added few warnings
* fix review
* new convention match
* fix error unwraps
* doctest fix
2016-07-11 17:02:42 +02:00
Gav Wood
10aa32b0f5
Include RPC configurability for max tx gas limit.
...
Also Move the gas limit into the transaction queue from the miner.
2016-06-27 20:19:01 +02:00
Gav Wood
8fcec20398
Gas limit ceiling option.
2016-06-23 14:29:16 +02:00
Tomasz Drwięga
a8bc86151e
Merge branch 'master' into txcount-rpc
...
Conflicts:
rpc/src/v1/tests/mocked/ethcore.rs
2016-06-21 15:13:41 +02:00
Tomasz Drwięga
7cfb9a2b0b
RPC for number of unconfirmed transactions
2016-06-21 14:57:35 +02:00
Robert Habermeier
951512f9c9
Reserved peers rpc API ( #1360 )
...
* reserved peers: lock them, use a hashset, and provide to networkcontext
* adding and removing reserved peer service API
* add NonReservedPeerMode, and setters in host
* setting non reserved mode, restriction accepted connections
* implement RPC apis
* fix deadlock
* fix rpc tests
2016-06-21 13:56:33 +02:00
Arkadiy Paronyan
591fa9625d
Merge pull request #1313 from ethcore/net
...
Network start/stop
2016-06-18 11:04:24 +02:00
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
Tomasz Drwięga
be435cde99
Splitting RPC Apis into more fine-grained sets ( #1234 )
2016-06-07 13:52:48 -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
Gav Wood
7dc05f1bcc
Unify tracing interface into a single call.
2016-06-02 16:30:28 +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
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
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +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
Gav Wood
34edecd59d
State diffing, exposed through JSONRPC.
2016-05-31 21:03:44 +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
Robert Habermeier
7cea3eb5ed
move rpc_unimplemented into impls module
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
c1ed520de0
RPC endpoint for VM tracing and ser/de types ready.
2016-05-28 16:52:33 +02:00
Robert Habermeier
db2efe8485
move signAndSendTransaction to Personal trait.
2016-05-27 16:45:26 +02:00
Tomasz Drwięga
5579582a52
Sign and send transaction
2016-05-23 11:30:11 +02:00
Tomasz Drwięga
c3f33aefdd
Fixing RPC modules compatibility
2016-05-04 14:03:29 +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
Tomasz Drwięga
0458a3378c
Additional RPC methods for settings
2016-04-21 19:24:10 +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
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
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
Marek Kotewicz
fed853593b
fixed eth_getLogs ( #915 )
...
* fixed eth_getLogs
* removed empty lines
2016-04-10 11:42:03 -07:00
debris
d1d3d847ab
fixed #895
2016-04-07 00:33:55 +02:00
NikVolf
3d94670f1f
web3_sha3
2016-03-26 03:00:05 +03:00
debris
9b241faf01
uncle method mock
2016-03-14 17:01:29 +01:00
debris
29c85e16cd
added eth_sign and eth_sendRawTransaction to eth interface
2016-03-13 14:57:26 +01:00
debris
00820c342a
fixed eth_getCode and added tests for it
2016-03-13 14:45:39 +01:00
debris
c2b3ba533b
fixed eth_getTransactionCount**, and eth_getUncleCount** rpc methods, added tests for them
2016-03-13 14:37:33 +01:00
debris
e09de6ea3d
added missing eth_getBalance rpc method and tests for it
2016-03-12 19:51:24 +01:00
Tomasz Drwięga
67f2bc40e6
Merge remote-tracking branch 'origin/tx_queue_integration' into tx_queue_rpc
2016-03-05 16:49:13 +01:00
Nikolay Volf
6a57e83509
json rpc personal service
2016-03-04 14:46:54 +03:00
Tomasz Drwięga
c889d9b3eb
Exposing transaction queue pending in RPC
2016-03-01 23:06:51 +01:00
debris
4fe86a4419
eth_getBlockByNumber
2016-02-10 22:54:12 +01:00
debris
bceae29fca
small clenaup
2016-02-10 10:12:56 +01:00
debris
c50eb78ca1
jsonrpc optionals
2016-02-09 13:17:55 +01:00
debris
9c3317620d
Merge branch 'master' into jsonrpc
2016-02-05 14:16:39 +01:00
debris
c90d64662a
added license in every *.rs file
2016-02-05 13:40:41 +01:00
debris
432c0d59c4
few additional rpc eth methods
2016-02-05 13:21:34 +01:00
debris
f8568e10b7
missing net_ methods
2016-01-27 19:03:12 +01:00
debris
b13d68c7e9
missing eth filter interface
2016-01-27 19:00:42 +01:00
debris
09b9001c65
stub for rpc eth methods
2016-01-27 18:17:20 +01:00
debris
856c348e3e
moved old rpc implementation to v1/ dir
2016-01-27 17:14:41 +01:00