Tomasz Drwięga
7e87e9e8ad
Updating JSON-RPC crates ( #4934 )
...
* New version of jsonrpc.
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* Using dedicated branch for jsonrpc
* Bump
2017-03-22 07:02:14 +01:00
Marek Kotewicz
d530cc86f3
splitting part of util into smaller crates ( #4956 )
...
* split path module from util
* moved RotatingLogger from util to logger crate
* fix tests
* fix tests
* use only one version of ansi_term crate
2017-03-22 06:23:40 +01:00
Robert Habermeier
7ad36ee36c
Merge remote-tracking branch 'upstream/new-jsonrpc' into pip-msg
2017-03-21 21:15:06 +01:00
Robert Habermeier
fe52e969b6
Merge branch 'master' into pip-msg
2017-03-21 15:24:47 +01:00
Tomasz Drwięga
958a8f66a0
Merge branch 'master' into new-jsonrpc
2017-03-21 09:35:50 +01:00
Tomasz Drwięga
badb3729c9
Changing Mutex into RwLock for transaction queue ( #4951 )
...
* Changing Mutex into RwLock for transaction queue
* Fixing merge
* little fix
2017-03-20 19:15:02 +01:00
Tomasz Drwięga
6fa9393a25
Merge branch 'master' into new-jsonrpc
2017-03-20 10:30:53 +01:00
Tomasz Drwięga
34d28189ea
Remove transaction RPC ( #4949 )
2017-03-19 08:46:51 +01:00
Robert Habermeier
8be41ad946
Merge branch 'master' into pip-msg
2017-03-17 14:13:10 +01:00
Robert Habermeier
2ee3a7282b
adjust to minor on_demand API changes in RPC
2017-03-17 00:14:29 +01:00
Tomasz Drwięga
44052e7d8d
Merge branch 'master' into new-jsonrpc
2017-03-16 16:04:30 +01:00
Tomasz Drwięga
579cff478d
Fixing deprecated methods of tokio_core
2017-03-16 15:48:08 +01:00
Tomasz Drwięga
930c8b63db
Don't remove confirmed requests to early.
2017-03-16 13:15:56 +01:00
Tomasz Drwięga
491eeb9878
Better invalid encoding messages
2017-03-16 12:48:51 +01:00
Tomasz Drwięga
2dca24cc28
Traces error handling ( #4849 )
2017-03-14 13:04:32 +01:00
Gav Wood
3041c95408
Chain-selection from UI ( #4859 )
...
* First little bits for chain-selection.
* Provide RPCs and get settings through to user defaults.
* Hasty stash.
* Fix updater accidentally redownloading.
* Finish up.
* Add JS tests.
* Hypervisor should never run a binary modified before itself.
* Style.
* Help tweak.
* Fix test compile.
* Fix JS test
* Build fix for tests.
* Revert default chain name
* Another test
* Use spec name via client.
* Fix mock up.
* whitespace
[ci:skip]
* whitespace
[ci:skip]
* remove exit/restart endpoints.
2017-03-13 12:10:53 +01:00
Marek Kotewicz
3fe3353696
removed redundant FixedHash trait, fixes #4029 ( #4866 )
2017-03-11 22:58:15 +04:00
Tomasz Drwięga
0ab0cb1173
Fix RPC errors. Implement geth-compatibility option to return correct pending nonce. ( #4837 )
2017-03-10 10:25:13 +01:00
Robert Habermeier
8a3b5c6332
Remote transaction execution ( #4684 )
...
* return errors on database corruption
* fix tests, json tests
* fix remainder of build
* buffer flow -> request credits
* proving state backend
* generate transaction proofs from provider
* network messages for transaction proof
* transaction proof test
* test for transaction proof message
* fix call bug
* request transaction proofs from on_demand
* most of proved_execution rpc
* proved execution future
2017-03-08 14:39:44 +01:00
Robert Habermeier
31302e057f
provide uncle size where available ( #4713 )
2017-03-02 12:29:18 +01:00
Robert Habermeier
1bf2b27708
Propagate trie errors upwards from State ( #4655 )
...
* state backend trait mirroring state_db API
* minimal state backend trait
make state module public
* fix json tests
* return errors on database corruption
* fix tests, json tests
* fix remainder of build
* add Backend bound on state
2017-02-26 13:10:50 +01:00
Robert Habermeier
d8b1cfe082
Merge branch 'master' into lightrpc
2017-02-20 18:01:29 +01:00
Tomasz Drwięga
72998d3ce3
Proper default accounts RPCs ( #4580 )
...
* Default accounts setting - account provider
* RPC support for default accounts
* Updating JS code
* Rename whitelist to addresses
2017-02-20 16:33:12 +01:00
Robert Habermeier
4de208786d
trace API stubs
2017-02-17 22:21:43 +01:00
Robert Habermeier
9e761ba2ea
ParitySet stubs
2017-02-17 21:45:06 +01:00
Robert Habermeier
9316eb4ad3
(most of) parity RPC for light client
2017-02-17 21:38:43 +01:00
Robert Habermeier
7a857a24ae
use new histogram/corpus
2017-02-17 16:18:31 +01:00
Robert Habermeier
54c48d14ec
Deprecate eth_compile* RPCs ( #4577 )
...
* Deprecate eth_compile* RPCs
* Add deprecation doc comments
2017-02-17 12:00:33 +01:00
Robert Habermeier
48cf591e66
integrate cache in on-demand
2017-02-16 20:46:59 +01:00
Tomasz Drwięga
895298fc49
Alias for personal_sendTransaction ( #4554 )
2017-02-15 16:57:27 +01:00
Nikolay Volf
494a0de1e2
Key derivation in ethstore & rpc ( #4515 )
...
* initial in secret store
* generation
* test
* refactor of the derivation
* signing
* account provider
* tests for account provider
* rpc types
* rpc types converts
* rpc tests
* fix warnings
* some extra docs
* derivate -> derive
* secret() -> as_raw()
* secret() -> as_raw() in rpc
* fix merge bug
* align with new serde changes
2017-02-15 16:56:15 +01:00
Robert Habermeier
36ea5550ba
Merge pull request #4501 from ethcore/light-txq
...
Light Client transaction queue, initial LightDispatcher
2017-02-15 14:06:31 +01:00
Tomasz Drwięga
5369a129ae
Signer provenance ( #4477 )
...
* Signer - Tracking Request Provenance
* Basic UI
* Changing messages
* VecDeque::from
* Fix dapps tests
* Addressing UI grumbles
2017-02-14 22:45:43 +01:00
Robert Habermeier
4f1afccf97
best_block_header function
2017-02-13 16:51:40 +01:00
Robert Habermeier
2c43b02e13
Merge branch 'lightrpc' into light-txq
2017-02-10 14:31:17 +01:00
Robert Habermeier
6bf97de9d8
Merge branch 'master' into lightrpc
2017-02-10 02:44:12 +01:00
Arkadiy Paronyan
a7e6d8727a
Ledger wallet support ( #4486 )
...
* Ledger devices support
* structs for RPC types
2017-02-09 19:07:06 -05:00
Robert Habermeier
e53d023a8a
implement light dispatcher
2017-02-09 21:12:28 +01:00
Robert Habermeier
53774d4792
Merge branch 'lightrpc' into light-txq
2017-02-09 20:41:42 +01:00
Robert Habermeier
0d09a473a7
remove let inner pattern with take_weakf and try_bf
2017-02-09 20:38:47 +01:00
Robert Habermeier
325c6aaf6a
verify raw transactions against Engine
2017-02-09 19:58:29 +01:00
Robert Habermeier
a559dfe9a1
implement send_raw_transaction
2017-02-09 19:17:37 +01:00
Robert Habermeier
c83d27420c
address grumbles
2017-02-09 15:10:14 +01:00
Robert Habermeier
bce6bf92d9
simplify code
2017-02-09 15:01:15 +01:00
Robert Habermeier
028dbe5fe2
rename get_header to block_header by convention
2017-02-08 20:22:41 +01:00
Robert Habermeier
0246d5c734
Merge branch 'master' into lightrpc
2017-02-08 19:20:35 +01:00
Robert Habermeier
dd9e3f21ad
silence errors temporarily
2017-02-08 19:09:52 +01:00
Robert Habermeier
3669d17390
fix tests with loop hack
2017-02-08 17:57:18 +01:00
Robert Habermeier
2ca61151ac
squash some warnings
2017-02-08 16:59:04 +01:00
Robert Habermeier
5223e25aa6
use generic dispatcher everywhere, squash errors
2017-02-08 16:55:06 +01:00
Robert Habermeier
e73ea80954
dispatcher abstraction, port most things to it
2017-02-08 15:36:53 +01:00
Svyatoslav Nikolsky
a92bf65181
parity_getVaultMeta && parity_setVaultMeta ( #4475 )
2017-02-08 07:53:39 -05:00
Robert Habermeier
4bb45c4f64
use new error-less on_demand
2017-02-07 23:25:17 +01:00
Robert Habermeier
1fa5b07321
Merge branch 'master' into lightrpc
2017-02-07 17:13:18 +01:00
Robert Habermeier
d253a9c864
uncle and tx count RPCs
2017-02-07 14:45:48 +01:00
Robert Habermeier
b32cb7a97d
make total difficulty field optional
2017-02-06 15:28:16 +01:00
Svyatoslav Nikolsky
2f340a547a
Vaults RPCs ( #4366 )
...
* vaults RPCs
* vault.password != vault_account.password
* moved vault RPCs to parityAccounts NS
* parity_listVaults + parity_listOpenedVaults
2017-02-05 10:17:56 -05:00
Robert Habermeier
def47b4042
make light module public
2017-02-05 15:22:15 +01:00
Robert Habermeier
7c9064c856
Merge branch 'master' into lightrpc
2017-02-04 22:30:20 +01:00
Robert Habermeier
1e123f1b4d
handle TD info in RPC layer
2017-02-04 22:22:57 +01:00
Tomasz Drwięga
248cd5e036
RPC middleware: Informant & Client.keep_alive ( #4384 )
...
* Adding RPC informant structs
* RPC informant
* Middleware counting RPC requests
* Moving client keep_alive to middleware
2017-02-04 22:18:19 +01:00
Robert Habermeier
484b93abdc
Merge branch 'cht-td' into lightrpc
2017-02-04 17:14:47 +01:00
Arkadiy Paronyan
312aa72747
Transaction timestamp condition ( #4419 )
...
* Transaction timestamp condtiion
* Updated docs
* Updated docs
* Check agains last block timestamp
2017-02-03 19:32:10 +01:00
Robert Habermeier
e460421deb
generic basic account fetcher, nonce RPC
2017-02-03 17:53:48 +01:00
Robert Habermeier
024e69138a
get it compiling
2017-02-03 17:41:25 +01:00
Robert Habermeier
9328067eac
start eth RPC API for light client
2017-02-03 16:20:43 +01:00
Tomasz Drwięga
853aae2b92
Validate dapps accounts with address book ( #4407 )
...
* Parametrize address book
* Improving types in account_provider
* Filtering dapps_accounts
* Fixing RPC tests
2017-02-03 13:56:47 +01:00
Tomasz Drwięga
9fb2be8f2b
Optional from field in Transaction Requests ( #4332 )
...
* Infering default account when sending transactions if not provided
* Fixing test
* Fixing tests code
* Fixes.
* More fixes.
* Final fix.
2017-01-30 21:08:36 +01:00
Gav Wood
ca196d683e
Fix postsign ( #4347 )
...
* Fix whitespace.
* Fix post sign.
* Fix message.
* Fix tests.
* Rest of the problems.
* All hail the linter and its omniscience.
* ...and its divine omniscience.
* Grumbles and wording.
2017-01-30 15:08:02 +01:00
Tomasz Drwięga
3fb445e198
Renaming signAndSendTransaction to sendTransaction ( #4351 )
2017-01-30 12:49:08 +01:00
Tomasz Drwięga
bf1e7ecfcb
Returning default account as coinbase + allow altering sender in signer ( #4323 )
...
* Returning first address as coinbase
* Allowing sender alteration in signer
* Adding default account RPC
2017-01-30 11:10:58 +01:00
Tomasz Drwięga
cf348dae60
Persistent tracking of dapps ( #4302 )
...
* Tests for RPC
* Extracting dapp_id from Origin and x-parity-origin
* Separate type for DappId
* Persistent tracking of recent dapps
* Fixing tests
* Exposing dapp timestamps
* Fixing import to work on stable
* Fixing test again
2017-01-30 10:59:46 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
keorn
c460aec646
Dont decode seal fields ( #4263 )
...
* dont decode seal
* add get_block test
2017-01-24 21:57:29 +01:00
Tomasz Drwięga
e11353f94c
UnverifiedTransaction type ( #4134 )
...
* Introducing ValidSignedTransaction
* Verifiying transactions in engines
* Widening use of VerifiedSignedTransaction
* Renaming Transactions
* Uncommenting banning queue & Fixing tests
* Fixing json tests
* Fixing pre-homestead test
* Fixing imports
* Addressing grumbles
* Fixing test
2017-01-13 08:51:36 +00:00
Tomasz Drwięga
41da1a0a79
New jsonrpc-core with futures and metadata support ( #3859 )
...
* Bumping serde & serde_json
* Super-initial usage of new jsonrpc
* Single event loop for jsonrpc
* Metadata
* Supporting metadata extraction for eth_accounts
* Fixing Cargo.lock
* Removing uneccessary clones
* Fixing unused import
* Unused import
* Fixing test
2017-01-11 20:02:27 +01:00
Gav Wood
56c546f465
Another minor estimation fix ( #4133 )
...
* Return 0 instead of error with out of gas on estimate_gas
* Fix stuff up.
* Another estimate gas fix.
* Alter balance to maximum possible rather than GP=0.
* Only increase to amount strictly necessary.
2017-01-11 17:51:48 +01:00
Tomasz Drwięga
21006da125
Get rid of unsafe code in ethkey, propagate incorrect Secret errors. ( #4119 )
...
* Implementing secret
* Fixing tests
2017-01-11 12:16:47 +01:00
Gav Wood
23feb7998f
Use binary chop to estimate gas accurately ( #4100 )
...
* Initial sketch.
* Building.
* Fix a few things.
* Fix issue, add tracing.
* Address grumbles
* Raise upper limit if needed
* Fix test.
2017-01-10 18:56:41 +01:00
Robert Habermeier
fe1f542c4f
Owning views of blockchain data ( #3982 )
...
* owning views of blockchain data
* port blockchain and client traits to owning views
* fix ethcore tests
* use strong headers and bodies in ethcore_light
* port ethsync to use owning views
* port rpc to owning views
* port parity informant and blockchain export
2016-12-28 12:44:51 +00:00
Robert Habermeier
8125b5690c
Port try
macro to new ?
operator. ( #3962 )
...
* initial untry sweep
* restore try in ipc codegen, fix inference
* change a few missed try instances
2016-12-27 12:53:56 +01:00
Tomasz Drwięga
c7c309d152
Web Based Dapps ( #3956 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
* Serving web content and injecting scripts
* Don't wait for old content, start a new download
* Supporting timeouts and query
* Simple GUI for the browser
* Proxy tokens validation
* Recovering from invalid web-based requests
* Remember last visisted URL
* Removing unused variables
* Addressing review comments
* Setting default account in web3
* Adding WebBrowser dapp to the list
* Actually prune old entries when generating new token
2016-12-27 10:15:02 +00:00
Tomasz Drwięga
27ba0e6922
Limiting accounts returned by parity_accountInfo ( #3931 )
...
* Limiting accountNames returned by parity_accountNames
* Fixing middleware
* Change RPC interface
* Enhance tests for RPC layer
* UI uses parity_allAccountsInfo
* Update dapps to use parity_accountsInfo
* Don't filter by uuid (deprecated)
* Consistency in calls
* Fix js tests (missed stub call)
2016-12-23 18:52:02 +01:00
Robert Habermeier
546246c56b
Unknown block error for RPC ( #3965 )
2016-12-23 18:46:17 +01:00
Tomasz Drwięga
f0387c33c6
Global Fetch Service ( #3915 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
2016-12-22 18:26:39 +01:00
Robert Habermeier
e1adc9606f
parity_chainStatus RPC for block gap info
2016-12-19 15:27:17 +01:00
arkpar
65f07e5aa7
Renamed some functions
2016-12-16 14:54:26 +01:00
arkpar
6c9de9e6f8
Merge branch 'master' of github.com:ethcore/parity into tx-block
2016-12-16 13:36:07 +01:00
arkpar
e1dd986c41
Hex-encoded block numbers
2016-12-15 21:16:32 +01:00
arkpar
f8961484c1
Merge branch 'master' of github.com:ethcore/parity into tx-block
2016-12-15 19:10:33 +01:00
Gav Wood
c12702fc51
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-15 18:23:02 +01:00
arkpar
2952ea1b85
Delayed transactions
2016-12-15 18:19:19 +01:00
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
d2b9bc5bd8
Traces to AutoArgs
2016-12-14 20:09:14 +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
c6281fc1c7
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-13 17:26:09 +01:00
Tomasz Drwięga
f47be50843
Using jsonrpc-macros
2016-12-13 14:40:35 +01:00
Gav Wood
ab4d666681
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-12 16:35:11 +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
758744449f
Expose all other RPCs.
2016-12-12 02:57:19 +01:00
Gav Wood
2d0d4682ad
Add first Updater RPC.
2016-12-11 23:36:38 +01:00
Gav Wood
d81d9d77b2
Wire-in Updater to parity RPC
2016-12-11 23:15:52 +01:00
Gav Wood
58b72c521d
Rename ethcore -> parity in licenses.
2016-12-11 19:31:31 +01:00
Gav Wood
17cc2be4b5
Rename ethcore -> parity in license.
2016-12-11 19:30:54 +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
08a47ea2d4
Allow modifications of gas when confirming in signer ( #3798 )
2016-12-10 20:18:42 +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
Robert Habermeier
de4715bc67
Merge pull request #3732 from ethcore/jg-duplicate-accounts
...
Give accounts precedence over address_book entries
2016-12-08 12:27:26 +01:00
Jaco Greeff
dba8cf3a3b
Add test for RPC side
2016-12-07 17:58:22 +01:00
Jaco Greeff
46840d36c9
Add parity_removeAddress RPC
2016-12-07 16:53:46 +01:00
Jaco Greeff
21a3cf7b65
Swap order of addressbook & acocunts merge
2016-12-07 11:44:45 +01:00
keorn
0a2ec319ac
rename to engine_signer
2016-12-05 21:31:38 +00: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
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
9115214cea
Merge pull request #3636 from ethcore/fatdb
...
Return of the Fat DB
2016-11-29 16:47:09 +01:00
Tomasz Drwięga
424638f89d
Unlock expecting quantity
2016-11-28 17:15:40 +01:00
arkpar
fa45413a90
Extened API
2016-11-28 01:37:25 +01:00
arkpar
b0555fbe7c
State export
2016-11-28 01:37:24 +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
Gav Wood
9f3a042f55
Update message
2016-11-23 20:16:33 +01:00
Tomasz Drwięga
cd6f565f69
RPC Middleware & Get/Set dapp-specific accounts
2016-11-23 16:27:05 +01:00
Gav Wood
2b8bed434c
RPC for deleting accounts.
2016-11-20 16:17:57 +01:00
Gav Wood
0848a9ec3c
Merge branch 'master' into transactions-propagate
2016-11-20 13:24:08 +01:00
Tomasz Drwięga
5897e01dbd
Correct format of eth_signTransaction
2016-11-18 11:03:29 +01: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
Gav Wood
744501c454
Mode improvements for UI ( #3109 )
...
* `--mode=off` now works.
* Add Mode::Off as a persistent CLI option.
* "last" not "auto" as default.
* Commit accidentally unsaved file.
* Whitespace
[ci:skip]
* Mode CLI parse fix
* or offline
* Save mode when it gets changed.
* Fix Offline mode
* Fix up mode operations.
* Make passive default, but not overriding.
* Fix test
* Maybe not everyone wants to run an archive node...
2016-11-05 10:38:00 +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
f31d42d0c5
Exposing engine extra info in block RPC ( #3169 )
...
* Exposing extra info in RPC
* Proper serialization and client trait API
2016-11-04 17:35:02 +01:00
Tomasz Drwięga
145e766db2
Fixing possible race condition in ethcore_hashContent ( #3191 )
2016-11-04 16:59:42 +01:00
keorn
36d17d5c28
Add RPC enode lookup ( #3096 )
...
* add enode rpc
* spaces -> tabs
2016-11-02 19:43:21 +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
Gav Wood
547871f933
RPCs for mode change ( #3002 )
...
* Allow warnings.
* Add RPCs to allow ad-hoc mode changes.
* Add the JSAPI interfaces
* Add missing file.
2016-10-31 16:58:35 +01:00
keorn
7af20a5db0
Modify gas price statistics ( #2947 )
...
* gas price distribution + median + tests
* put histogram in util
* use the util histogram
* remove the default gas price implementation
* histogram rpc
* fix empty corpus
* Add JS ethcore_gasPriceHistogram
* Fix typo (s/types/type/) & subsequent failing test
* Fix return type & formatting
* bucketBounds
* Add jsapi e2e test verification
2016-10-31 12:57:48 +01:00
Jaco Greeff
8d66fc50e2
Add import of raw private key RPCs ( #2942 )
...
* Importing an account from raw secret
* Add jsapi & jsonrpc for personal_newAccountFromSecret
2016-10-28 16:46:25 +02: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
Gav Wood
37a2ee98de
Additional RPCs for password management ( #2779 )
...
* Add personal_testPassword and stub for personal_changePassword
* Add change-password functionality.
* Address grumble.
* Update tests.
* Update build.
2016-10-22 14:24:02 +01:00
keorn
866ab9c7a3
Check queue to determine major importing ( #2763 )
...
* simplify major sync detection
* fix typos
* fix merge
* more realistic EthTester
* add new synced state
* remove Blocks synced state
* move is_major_importing to rpc crate and check queue
* add tests
2016-10-20 23:36:18 +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
Arkadiy Paronyan
487dfb0208
Snapshot sync part 2 ( #2098 )
...
* Split block downloader into a module
* Snapshot sync progress
* Warp sync CLI option
* Increased snapshot chunk and ping timeouts
* Fixed an issue with delayed writes
* Updated bootnodes
* Don't run pending IO tasks on shutdown
* Optional first_block; removed insert_snapshot_block
* Fixing expect calls
* Fixed stalled sync
* style and docs
* Update block_sync.rs
[ci:skip]
2016-10-18 18:16:00 +02:00
Tomasz Drwięga
709f00ceb7
Fixing compilation without default features ( #2638 )
...
* Fixing compilation without default features
* Removing unused import
2016-10-16 00:20:11 +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
keorn
271bcf4d5d
Return errors from eth_call RPC ( #2498 )
...
* propagate call errors
* add error code for execution error
2016-10-09 11:45:12 +02:00
Tomasz Drwięga
4655fd04a5
Using pending block only if not old ( #2514 )
2016-10-07 11:13:15 +01: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
Marek Kotewicz
06fe768ac2
Polishing Actually enable fat db pr ( #1974 ) ( #2048 )
...
* Actually enable fat db, and do RPCs for it.
* Implement HashDB traits for AccountDB.
* user defaults
* finished user defaults
* user defaults are network-dependent
* added tests for newly added functions, logger is initialized first
* dir cleanup in progress
* user_file is placed next to snapshots
* fixing requested change
2016-10-03 11:13:10 +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
Gav Wood
3fb3f1f54e
Reorder transaction_by_hash to favour canon search ( #2332 )
...
* Reorder transaction_by_hash to favour canon search
* Fix build.
* Slightly cleaner function.
* Fix test.
2016-09-27 12:17:02 +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
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
Tomasz Drwięga
368aca521b
Fails when deserializing non-hex uints ( #2247 )
2016-09-22 18:02:47 +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
Arkadiy Paronyan
5c5d9c8ccd
Snapshot sync ( #2047 )
...
* PV64 sync
* Tests
* Client DB restore
* Snapshot restoration over IPC
* Upating test
* Minor tweaks
* Upating test
2016-09-06 15:31:13 +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
4389742ca3
Make the block header struct's internals private ( #2000 )
...
* Make the block header struct's internals private
Currently, this involves a lot of explicit cloning, but we
could migrate the return types of the get_* functions to
be copies rather than references since they are mostly copy
types anyway.
I opted to eliminate the constructor in favor of using
Default::default() plus calling a bunch of setters. This
is similar to the model that a Google Protobuf client uses
and I think it looks fine.
* Drop some unnecessary cloning by comparing references
* Fix compiler errors from callsites in tests.
2016-08-29 11:35:23 +02:00
Marek Kotewicz
b0d462c6c9
Signature cleanup ( #1921 )
...
* 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
* Removing util/crypto in progress.
* fixed compiling
* signature cleanup in progress
* new module - ethcrypto used by ethstore and ethcore-network
* fixed compiling
* fixed compiling
* fixed merge
2016-08-24 18:35:21 +02:00
Nipunn Koorapati
2a550c2adf
Add timeout for eth_getWork call ( #1975 )
2016-08-23 17:07: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
a427208f79
Purging .derefs, fixing clippy warnings. ( #1890 )
...
* Fixing clippy warnings
* Purging derefs
* Simplifying engine derefs
* Simplifying more engine derefs
2016-08-10 16:29:40 +02:00
debris
974d537849
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-09 09:58:18 +02:00
Tomasz Drwięga
59b0f8c7a3
RPC errors & logs ( #1845 )
...
* Refactoring errors in RPC
* Updating jsonrpc-core
* Fixing code_at
* Avoid mentioning obvious segments in proof
[ci:skip]
2016-08-08 17:25:15 +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
4051524462
improved naming
2016-08-04 08:52:31 +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
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
Tomasz Drwięga
aafb014d01
Returning error when transaction is rejected (for consistency) ( #1667 )
2016-07-22 14:48:05 +02:00
Tomasz Drwięga
9c7395a6be
Fixing errors returned by sendTransaction* method family ( #1665 )
2016-07-20 12:37:49 +02:00
gregg dourgarian
d67369a01c
fix typos ( #1644 )
2016-07-19 20:42:23 +02:00
Gav Wood
861c8d0701
Size for blocks ( #1668 )
...
* Add size field for blocks.
* Ignore invalid test.
2016-07-19 20:40:18 +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
NikVolf
028d6f6853
Merge branch 'master' into sync-svc
2016-07-18 15:20:57 +02:00
Gav Wood
0d2f516ad7
Multi-mode logging. ( #1643 )
...
* Multi-mode logging.
Better for miners (they get immediate notification of new block).
Better for general use (less superfluous information shown).
* Remove comment.
[ci:skip]
* Minor string change
[ci:skip]
* Minor message tweak.
* Minor tweaks and indentation fix.
2016-07-17 23:00:57 +02:00
Arkadiy Paronyan
5dba43178b
Removed DAO soft fork traces ( #1639 )
2016-07-16 19:49:52 +02:00
NikVolf
be25e930e5
Merge branch 'master' into sync-svc
2016-07-16 15:57:30 +02:00
NikVolf
4cb1c906b0
rpc dependencies relayout
2016-07-16 15:51:06 +02:00
Gav Wood
2b193f00d4
Allow RPC to use solc to compile solidity ( #1607 )
...
* Allow use to use solc to compile solidity.
* Remove unneeded commemt.
[si:skip]
* Address grumble and disable incorrect tests.
2016-07-14 14:25:44 +02:00
Nikolay Volf
44bc8a08fb
Sync IPC interface ( #1584 )
...
* 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
* basic library re-layout
* missing files to relayout
* duplicating network config on sync level
* binary serializers for config
* ipc endpoint for manage
* ipc endpoint for sync
* handshake sorting out
* sorting out the multi-interface dispatch scenario
* fixing tests
* fix doctest
2016-07-14 12:07:33 +02:00
Robert Habermeier
36d3d0d7d7
replace synchronization primitives with those from parking_lot ( #1593 )
...
* parking_lot in cargo.toml
* replace all lock invocations with parking_lot ones
* use parking_lot synchronization primitives
2016-07-13 19:59:59 +02:00
Robert Habermeier
7200cfcbc9
expunge &Vec<T> pattern ( #1579 )
...
* expunge &Vec<T> pattern
* fix travis
2016-07-12 10:28:35 +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
Tomasz Drwięga
d7caae2241
Fixing clippy warnings ( #1568 )
...
* Fixing clippy warnings
* Fixing more warnings
2016-07-10 13:18:33 +02:00
Gav Wood
9f43526c88
Merge branch 'master' into kill_unwraps
2016-07-07 09:40:12 +02:00
Nikolay Volf
8282c7dd50
Client IPC Interface ( #1493 )
...
* btree map serializer
* serde tests
* state diff serialization
* basic layout
* more missing serializaers
* uncle returns rlp
* block queue info
* sorting with transaction result
* sorting out util imports
* transaction import result sorting also
* sorting filters & ranges
* error sorting out
* deriving ipc service compiling
* rpc & sync recompile
* sorting rpc using uncles
* fix compilation
* fix merging bugs
* fix unused imports
* fix all warnings
* tests stub
* some merge bugs
* ethcore compilation
* fix rpc compilation
* deriving attribute
* tests (and fixes)
* rpc test working
* fix warnings again
* rs.in -> rs
* missing attribute
* refactored tree changes
* paste reformat mess fix
* pub mod actually
* intendation fix
2016-07-07 09:39:32 +02:00
Gav Wood
456ad9e21b
Remove .lock().unwrap() idiom into locked().
2016-07-06 19:52:34 +02:00
Nipunn Koorapati
4a9b9dc305
Update sealing just once when externally importing many blocks ( #1541 )
...
Fixes Issue #1372
2016-07-06 17:15:59 +02:00
Marek Kotewicz
bcb63bce12
serde is no longer util dependency ( #1534 )
...
* removed old json-tests
* simplify folds in triehash.rs
* removed unused json_aid
* removed unused squeeze.rs
* json branching tests for trie
* removing todos from util
* separated UsingQueue and Table
* further cleanup, removing unused code
* serde serialization of hash moved to rpc module
* uint wrapper for rpc in progress
* serialization of uint moved to rpc module
* updated eth-secp256k1
* updated igd, serde is no longer dependency of util
* loading trie consensus tests
* renamed aliases in rpc imports
2016-07-06 11:23:29 +02:00
Gav Wood
c26cfc1c5a
Silent running operating modes ( #1477 )
...
* Command=line options.
* Keep alive for the eth protocol.
* Wire up final pieces.
* No network when dark.
* Passive and dark mode work.
* Ensure all RPCs keep alive.
* Fix tests.
* Fix minor bug.
* Minor whitespace.
* Split out some of the sleep-state.
* Fix help text.
2016-07-05 17:50:46 +02:00
Nikolay Volf
8102fb9306
Client api cleaning - uncles are returned as rlp ( #1516 )
...
* uncle as rlp in the api
* uncle rlp in block view
* fix warning
2016-07-01 19:37:17 +01:00
Gav Wood
dc24448900
Include number in eth_getWork.
2016-06-29 20:09:13 +02:00
Gav Wood
c096c087df
Ensure we don't reject our own transactions for gasprice. ( #1485 )
...
* Ensure we don't reject our own transactions for gasprice.
* Add test.
2016-06-29 15:23:41 +02:00
Gav Wood
a3758161ac
Ensure we always get the latest work when mining on submitted. ( #1469 )
...
* Ensure we always get the latest work when mining on submitted.
* Build fix.
* Smaller timeslices for the wait.
2016-06-28 18:46:09 +02:00
Arkadiy Paronyan
39307b2bea
Merge pull request #1460 from ethcore/miner-improvements
...
Allow configuration of when to reseal blocks.
2016-06-28 13:11:24 +02:00
Tomasz Drwięga
6895a56099
Adding default for value ( #1465 )
2016-06-28 11:10:39 +02:00
Gav Wood
31de739122
U256 instead of Option<U256>. Fix up tests.
2016-06-28 10:21:29 +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
516b015325
Don't mine without --author ( #1436 )
...
Requires --author to be set before mining is allowed to happen.
2016-06-26 22:02:17 +02:00
Gav Wood
8fcec20398
Gas limit ceiling option.
2016-06-23 14:29:16 +02:00
Tomasz Drwięga
9a1e1b7c89
Signer with Unlocked Account ( #1398 )
2016-06-22 21:32:26 +02:00
Robert Habermeier
f947a9cb71
Optional gas price in transactions come from statistics ( #1388 )
...
* use gas price statistics for default transaction gas price
* create new signing queue client properly
* replace one more usage of sensible_gas_price
* fill_optional_fields as a free function
* keep test client alive
2016-06-22 15:55:07 +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
Robert Habermeier
7a6fa97d98
Revert "Revert "Reserved peers, reserved-only flag""
2016-06-20 14:13:33 +02:00
Robert Habermeier
3d3041d418
Revert "Reserved peers, reserved-only flag"
2016-06-20 14:09:41 +02:00
Marek Kotewicz
a6713467a7
Merge pull request #1347 from rphmeier/reserved-peers
...
Reserved peers, reserved-only flag
2016-06-20 14:03:47 +02:00
Robert Habermeier
06a3557e3e
reserved_only CLI flag
2016-06-20 12:17:06 +02:00
Marek Kotewicz
6b074e8fb2
secret store separated from util ( #1304 )
...
* bump rust-crypto
* initial version of account provider utilizing secret store
* update lazy_static to latest version
* AccountProvider accounts method
* new AccountProvider tests in progress
* basic tests for new AccountProvider
* ethcore compiles with new account provider and secret store
* ethcore-rpc build now compiling with new AccountProvider
* most rpc tests passing with new accounts_provider
* fixed basic_authority tests
* fixed eth_transaction_count rpc test
* fixed mocked/eth.rs tests
* fixed personal tests
* fixed personal signer rpc tests
* removed warnings
* parity compiling fine with new sstore
* fixed import direction
* do not unlock temporarily when we have the password
* removed TODO in account import
* display warning on auto account import failure
* fixed compiling of ethstore on windows
* ethstore as a part of parity repo
* added ethkey
2016-06-20 00:10:34 +02:00
Gav Wood
08522eec37
--geth prevent getTransactionReceipt from using pending. ( #1325 )
...
This mimics the fucntionality of Geth and the current unratified
JSONRPC spec (but not the functionality of eth and the ratified
spec).
2016-06-19 14:51:51 +02:00