Gav Wood
d455ac4a40
Merge remote-tracking branch 'origin/master' into dapps-accounts-rpc
2016-12-15 17:12:18 +01:00
Gav Wood
db2e1dd01a
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-15 17:11:22 +01:00
Gav Wood
817a58cf64
Merge pull request #3844 from ethcore/trace-macros
...
Converting traces API to AutoArgs
2016-12-15 15:21:35 +01:00
Jaco Greeff
054a6a9daf
Merge branch 'master' into check-updates
...
# Conflicts:
# .gitlab-ci.yml
# js/webpack/dev.server.js
2016-12-15 13:52:28 +01:00
Gav Wood
db73b0d66f
Merge remote-tracking branch 'origin/master' into dapps-accounts-rpc
2016-12-15 13:28:37 +01:00
Tomasz Drwięga
6e51b23e30
Adding traces tests
2016-12-14 20:07:33 +01:00
Tomasz Drwięga
7eb9112613
Merge branch 'master' into rotating-key
...
Conflicts:
rpc/src/v1/traits/signer.rs
2016-12-14 14:10:44 +01:00
Gav Wood
ab4d666681
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-12 16:35:11 +01:00
Gav Wood
7975d475e1
Flesh out RPC tests.
2016-12-12 04:29:55 +01:00
Gav Wood
2844a4e85e
Merge pull request #3800 from ethcore/eth-sign
...
eth_sign RPC now hashes given data instead of getting the hash
2016-12-12 04:12:27 +01:00
Gav Wood
4c9ea55e49
Add an Updater mockup and provide a test for it.
2016-12-12 03:49:50 +01:00
Gav Wood
58b72c521d
Rename ethcore -> parity in licenses.
2016-12-11 19:31:31 +01:00
Gav Wood
10b0898bdf
Crate tidyups.
...
- Move Updater into its own crate.
- Change ethcore -> parity in authors, homepages and licenses.
2016-12-11 19:14:42 +01:00
Tomasz Drwięga
627b8a8414
Changing default policy
2016-12-11 17:56:12 +01:00
Tomasz Drwięga
08a47ea2d4
Allow modifications of gas when confirming in signer ( #3798 )
2016-12-10 20:18:42 +01:00
Tomasz Drwięga
9b5fd93290
removing println [ci:skip]
2016-12-10 20:07:12 +01:00
Tomasz Drwięga
76a93d4eff
eth_sign RPC now hashes given data
2016-12-10 20:01:04 +01:00
Tomasz Drwięga
27503e8e8c
Merge branch 'master' into rotating-key
...
Conflicts:
ethstore/src/ethstore.rs
ethstore/src/secret_store.rs
2016-12-10 15:13:58 +01:00
Tomasz Drwięga
4696d7f606
Additional RPCs for dapps accounts management
2016-12-10 12:36:04 +01:00
Gav Wood
5f1fcf95e0
Make *ID names consistent with std Rust (Id)
2016-12-09 23:01:43 +01:00
Tomasz Drwięga
93230dd4c2
Merge branch 'master' into rotating-key
...
Conflicts:
ethcore/src/account_provider/mod.rs
rpc/src/v1/types/mod.rs.in
2016-12-09 07:37:34 +00:00
Gav Wood
2d6656fc43
Merge pull request #3725 from ethcore/engine-password
...
Make engine hold AccountProvider
2016-12-08 20:52:12 +01:00
Jaco Greeff
dba8cf3a3b
Add test for RPC side
2016-12-07 17:58:22 +01:00
keorn
0a2ec319ac
rename to engine_signer
2016-12-05 21:31:38 +00:00
keorn
46dd2543e5
rename rpc to match cli
2016-12-05 19:27:24 +00:00
Gav Wood
5e1fdc4b11
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-12-05 10:44:19 -08:00
keorn
529a7fc33c
add password and AccountProvider
2016-12-05 17:08:16 +00:00
Gav Wood
1dd13372b6
Merge remote-tracking branch 'origin/master' into rpc-middleware
2016-12-01 19:43:31 -08:00
Gav Wood
d3e684698a
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-11-30 17:15:05 -08:00
Gav Wood
c630fc5c1c
Merge pull request #3642 from ethcore/confirmation
...
Splitting serialization of signTransaction and sendTransaction confirmation requests
2016-12-01 01:09:07 +00:00
Tomasz Drwięga
dcb7e1e638
Implementing RPC
2016-11-30 17:08:45 +01:00
Tomasz Drwięga
c028f106b1
RPC for confirming with token
2016-11-30 16:11:41 +01:00
Gav Wood
63c28253d8
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-11-29 15:37:49 +01:00
Gav Wood
436016ef02
Introduce to_hex() utility in bigint. Fix tests.
2016-11-29 13:46:06 +01:00
Tomasz Drwięga
424638f89d
Unlock expecting quantity
2016-11-28 17:15:40 +01:00
Tomasz Drwięga
3e69ff0b88
Separating serialization of send and signTransaction
2016-11-28 11:41:46 +01:00
Gav Wood
0cf8db58b8
Fix tests.
2016-11-27 14:49:30 +01:00
Tomasz Drwięga
a9028ca986
Merge branch 'master' into rpc-middleware
...
Conflicts:
Cargo.lock
rpc/src/v1/tests/mocked/parity_accounts.rs
2016-11-25 21:18:02 +01:00
Tomasz Drwięga
789d6608cf
Bumping jsonrpc
2016-11-25 16:16:24 +01:00
Gav Wood
6c686023e0
Use tester.accounts
2016-11-23 20:37:35 +01:00
Tomasz Drwięga
cd6f565f69
RPC Middleware & Get/Set dapp-specific accounts
2016-11-23 16:27:05 +01:00
Gav Wood
2d9369e5ba
Introduce test.
2016-11-21 11:03:18 +01:00
Gav Wood
0848a9ec3c
Merge branch 'master' into transactions-propagate
2016-11-20 13:24:08 +01:00
Gav Wood
c4f2b71f1b
Merge pull request #3503 from ethcore/signTransaction-format
...
Correct format of eth_signTransaction
2016-11-19 02:58:53 +08:00
Tomasz Drwięga
5897e01dbd
Correct format of eth_signTransaction
2016-11-18 11:03:29 +01:00
Gav Wood
e02d4d9205
Fix test.
2016-11-17 23:39:48 +08:00
Tomasz Drwięga
2cd2b10327
Local transactions RPC
2016-11-16 17:54:54 +01:00
Tomasz Drwięga
78b5c743f6
Stats RPC
2016-11-16 13:54:58 +01:00
Tomasz Drwięga
2f98169539
In-browser signing support ( #3231 )
...
* Signer RAW confirmations
* Returning address book as eth_accounts
* UI support for in-browser signing
* Post review fixes
* Adding new methods to jsonrpc
* Fixing eth_accounts
* Deterministic accounts ordering
2016-11-10 11:27:05 +01:00
Tomasz Drwięga
88c9cea04d
Dapps interface RPC ( #3311 )
...
* Dapps Interface RPC
* Adding JS apis
* Support for signer interface in proxypac and embeds
* Fixing tests
* fixing tests again
2016-11-09 19:41:47 +01:00
Tomasz Drwięga
b33b237f76
Refactoring Signer to auto_args + eth_signTransaction ( #3261 )
...
* Sign transaction initial
* Refactoring signer to auto_args
2016-11-09 13:13:35 +01:00
Tomasz Drwięga
9c4979681c
Cleaning up polluted namespaces ( #3143 )
...
* Renaming ethcore_ to parity_
* Renaming files
* Renaming poluted EthSigning
* Tidy up the namespaces
* Renaming files to match new structure
* Splitting EthSigning into separate traits
* jsapi move ethcore.* -> parity.*
* Move jsonrpc parity definitions
* Update UI API calls for parity interfaces
* Move jsapi signer interfaces from personal to signer
* Update UI to use signer.* where applicable
* Updsate jsapi subscriptions for signer
* Fix dodgy merge.
* Update README.
* Fix some tests.
* Move parity-only personal.* to parity.*
* Update UI for personal -> parity API moves
* Update subscription APIs after personal -> parity move
* personal. generateAuthorizationToken -> parity. generateAuthorizationToken (UI)
* enode, dappsPort & signerPort (UI)
* Update subscription tests (accountsInfo)
* subscription update
* personal -> parity
* Additional error logging on method failures
* move postTransaction to parity
* Additional debug info with method failures
* Fix personal tests.
* Console wrning shows parameters, error object does not
* Include parity_ signing methods.
* Console log http transport info
* Fix failing tests
* Add RPC stubs for parity_accounts.
* Allow some secure built-in dapps
* Use parity_accounts in place of accountsInfo
* Improve error reporting
* Cleanup GHH error handling
2016-11-06 12:51:53 +01:00
Tomasz Drwięga
501b2cdd18
Add error for sendRawTransaction and estimateGas ( #3194 )
...
* sendRawTransaction invalid RLP error
* Returning proper error for estimate_gas
2016-11-04 18:33:10 +01:00
Tomasz Drwięga
2e47842d66
Exposing state root and logsBloom in RPC receipts ( #3174 )
2016-11-04 12:33:13 +01:00
Tomasz Drwięga
7ff73a9533
Exposing v,r,s from transaction signature in RPC ( #3172 )
2016-11-04 12:05:10 +01:00
Gav Wood
d3de475205
EIPs 155, 160, 161 ( #2976 )
...
* The front-end for each hard-fork, also EIP-160.
* Address EIP161 a/c
* Include EIP-161b
* EIP-161 part d.
* Fix test build.
* Fix one test, add another.
* Fix use of bloom & renaming.
* Initial groundwork for EIP-155
* Fix minor bug.
* Fix all tests finally.
* Rest of EIP-155.
* Add tests for EIP-155 algorithm.
Update transaction tests validation.
* Minor reformat.
* Address grumbles.
* Remove unused code.
* Fix SUICIDE gas mechanism and add consensus tests.
* Remove commented code.
* Set Frontier hardfork block number
* Fix warning.
* Transaction tests,
2016-11-03 22:22:25 +01:00
Robert Habermeier
8599a11a0b
Snapshot sync and block gap info in eth_syncing
( #2948 )
...
* provide snapshot sync info in eth_syncing
* specify block gap in eth_syncing
* Extend eth_syncing with warp, format the output properly
* adjust serialization tests for sync info
* whitespace
2016-10-31 17:32:53 +01:00
Tomasz Drwięga
ff90fac125
Moving personal_ to autoargs ( #3000 )
2016-10-31 17:11:56 +01:00
Tomasz Drwięga
07fca24b44
Next nonce RPC ( #2917 )
2016-10-27 19:29:55 +02:00
Jaco Greeff
8dff4012a6
Personal split ( #2879 )
...
* Split personal namespace into Safe and Unsafe part
* Re-add api.personal.accountsInfo() calls to dapps
* Removing listGethAccounts from safe personal
2016-10-27 19:26:34 +02:00
Tomasz Drwięga
e5f86c62ad
Dapps port RPC ( #2819 )
2016-10-24 12:21:15 +02:00
keorn
aa52b04e31
Unify major syncing detection ( #2699 )
...
* simplify major sync detection
* fix typos
* fix merge
* more realistic EthTester
* add new synced state
2016-10-19 18:35:39 +02:00
Tomasz Drwięga
03c1559ead
Support for decryption in Signer ( #2421 )
...
* Adding some tests
* Implementing decrypt in queue
* Removing code duplication.
* Printing public key in ethstore
* Bump UI
* Normalizing dapps format for signer.
* Fixing tests compilation
* fix whitespace
[ci:skip]
2016-10-15 14:44:08 +02:00
Svyatoslav Nikolsky
c9ce25c8f3
Added peers details to ethcore_netPeers RPC ( #2580 )
...
* added peers details to ethcore_netPeers RPC
* fixed build (traits autoimplemented)
* - documentation fixes
- spaces -> tabs
- Rust-way Option's handling
* prepare for new protocols in ethcore_netPeers
* commas & documentation
2016-10-12 20:18:59 +02:00
Robert Habermeier
b7814fa65c
Port a couple more RPC APIs to the new auto args ( #2325 )
...
* 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
* port ethcore module to new rpc macro
* port ethcore_set to auto_args
* port net RPC to auto_args
* port rpc meta api to new
* skeleton for async RPC auto_args
* macro implementations for strongly-typed async RPC wrapper
* clarify docs
* reflect new required Rust version in README
[ci skip]
2016-10-04 19:05:46 +02:00
Tomasz Drwięga
d7bbc5cc3f
Hash Content RPC method ( #2355 )
...
* Moving file fetching to separate crate.
* ethcore_hashContent
* Tests running on mocked fetch.
* Limiting size of downloadable assets
2016-09-27 16:27:06 +02:00
Tomusdrw
4acd6cbe3b
Fixing tests
2016-09-26 12:24:52 +02:00
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
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
8c111da70b
Limit for logs filter. ( #2180 )
...
* Limit for logs filter.
* Moving limit inside the filter object
* Fixing tests
2016-09-21 11:51:10 +01: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
9ed9857fba
Logs limit & log_index bug ( #2073 )
...
* Limiting number of logs
* Test for logs
* Fixing logs ordering and indexing
* Fixing sort
* unwrap -> expect
* Revert "unwrap -> expect"
This reverts commit e99e6e77f37692fe568448e768aa72775de8d0cd.
2016-09-14 12:02:30 +02:00
Robert Habermeier
e0feaa9d4d
Merge pull request #2034 from ethcore/rlp-crate
...
rlp as separate crate
2016-09-02 13:48:09 +02:00
Tomasz Drwięga
e2e6b11dc7
Fixing uint serialization ( #2037 )
2016-09-02 11:38:15 +02:00
Robert Habermeier
bb6243c550
merge with master
2016-09-01 15:07:06 +02:00
Robert Habermeier
d763664d16
port network, sync, rpc
2016-09-01 14:49:12 +02: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
Nipunn Koorapati
3dd1bdda50
Improve eth_getWork timeout test rpc_get_work_should_timeout ( #1992 )
2016-08-24 13:20:15 +02:00
Nipunn Koorapati
2a550c2adf
Add timeout for eth_getWork call ( #1975 )
2016-08-23 17:07:00 +02:00
Marek Kotewicz
c39761c042
ethkey and ethstore use hash structures from bigint ( #1851 )
...
* Address renamed to H160 at bigint library level
* moved uint specific test from util to bigint library
* naming
* unifing hashes in progress
* unifing hashes
* cleanup redundant unwraps in tests
* fixed compiling
2016-08-15 15:09:00 +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
debris
88c5f555a9
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-06 00:03:07 +02:00
Arkadiy Paronyan
2f52425387
Unlock account with timeout for geth compatibility ( #1854 )
...
* Unlock account with timeout for geth compatibility
* Fixed test
2016-08-05 23:33:14 +02:00
debris
316c9093db
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-05 10:53:34 +02:00
Arkadiy Paronyan
05bfdc508e
Split IO and network crates ( #1828 )
...
* Abort on panic
* Split IO and network crates
* Restore panic handler
* Fixed doc tests
2016-08-05 10:32:04 +02:00
debris
1ed2de1d9b
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-05 09:30:01 +02:00
Tomasz Drwięga
25aabe6e52
Supporting blockid in eth_call and trace_call/trace_raw ( #1837 )
...
* Supporting blockid in eth_call and trace_call/trace_raw
* Nicer state diff handling
* Purging deref.deref
2016-08-04 18:17:21 +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
debris
e8c451ac82
cleaning up hash reexports
2016-08-03 18:05:17 +02:00
Tomasz Drwięga
c5ffb5af79
No block number in get work while in geth-compat mode. ( #1821 )
2016-08-03 15:31:00 +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
9de579366a
Miner tweaks ( #1797 )
...
* Mining fixes.
- Use queue to determine whether we're mining
- Kick stale hash rates
Fixes #1794
Fixes #1641
* Fix tests.
* Address grumbles.
2016-08-02 17:53:32 +01:00
debris
489722b83f
dynamic keys pickup
2016-07-31 10:46:28 +02:00
Gav Wood
b29329c3c5
Return storage as H256 from RPC. ( #1774 )
...
* Return storage as H256 from RPC.
* Fix test.
2016-07-30 14:42:52 -07:00
arkpar
8c47240248
Min and Max peers setting
2016-07-29 17:30:02 +02:00
Marek Kotewicz
9746b944f1
Stackoverflow fix ( #1742 )
...
* executive tracer builds flat traces without intermediate struct
* temporarilt commented out tests for traces
* fixed new way of building trace address
* fixed new way of building trace address
* updating state tests with flat tracing in progress
* fixed flat tracing tests
* fixed compiling ethcore-rpc with new flat traces
* removed warnings from ethcore module
* remove unused data structures
2016-07-28 20:31:29 +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
Tomasz Drwięga
46b5801730
Fixing hash deserialisation ( #1674 )
2016-07-20 12:42:12 +02:00
Tomasz Drwięga
9c7395a6be
Fixing errors returned by sendTransaction* method family ( #1665 )
2016-07-20 12:37:49 +02:00