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
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
keorn
1f7fb1591d
Add reseal max period ( #4903 )
...
* add reseal max period
* fix rpc
2017-03-15 14:04:42 +01:00
Tomasz Drwięga
2dca24cc28
Traces error handling ( #4849 )
2017-03-14 13:04:32 +01:00
Tomasz Drwięga
b51d7e9f6a
Merge branch 'master' into new-jsonrpc
2017-03-14 11:48:09 +01:00
Tomasz Drwięga
8bf5be0cc4
New version of jsonrpc.
2017-03-13 15:49:52 +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
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
62b340f2b9
Save pending local transactions in the database ( #4566 )
...
* Create new column family for local node info
* remove DBTransaction::new reliance on DB
* KeyValueDB trait
* InMemory KeyValueDB implementation
* journaldb generic over KVDB
* make most of `ethcore` generic over KVDB
* fix json tests compilation
* get all tests compiling
* implement local store (just for transactions)
* finish local store API, test
* put everything into place
* better test for skipping bad transactions
* fix warning
* update local store every 15 minutes
* remove superfluous `{}`s
2017-02-20 17:21:55 +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
Arkadiy Paronyan
0aad8a87ae
Added pending transaction info to eth_getTransactionByHash ( #4570 )
...
* Return condition info for pending transactions
* Fixed warnings
2017-02-20 16:19:43 +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
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
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
Nikolay Volf
78917d728d
Bump JSON RPC crates versions ( #4530 )
...
* json rpc bump
* some error message deviations
2017-02-13 21:34:16 +03:00
Tomasz Drwięga
f1e99ea2e4
Serde 0.9 ( #4508 )
...
* Porting json
* Dapps
* Rpc & Ethstore
* New ethabi
* Last bunch of fixes
* Fixing last test
* Removing build script
* Adding ethcore-ipc-tests back
* Fixing grumbles
* Fixing blockchain tests (inference regression?)
2017-02-13 18:38:47 +03: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
Svyatoslav Nikolsky
1534bbb7cb
Fix key.meta.vault for root dir keys && read vault.meta without vault key ( #4482 )
...
* fix vault for root && read vault meta without key
* support for old vaults (wthout meta field)
2017-02-09 10:47:22 -05:00
Robert Habermeier
0246d5c734
Merge branch 'master' into lightrpc
2017-02-08 19:20:35 +01:00
Robert Habermeier
3669d17390
fix tests with loop hack
2017-02-08 17:57:18 +01:00
Svyatoslav Nikolsky
a92bf65181
parity_getVaultMeta && parity_setVaultMeta ( #4475 )
2017-02-08 07:53:39 -05:00
Gav Wood
810ec3558a
Make signing compatible with geth. ( #4468 )
2017-02-07 22:09:59 +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
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
Gav Wood
4553f517ce
Fix eth_sign/parity_postSign ( #4432 )
...
* Fix dispatch for signing.
* Remove console log
* Fix signing & tests.
2017-02-04 16:00:28 +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
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
Arkadiy Paronyan
c012dfc3ef
EIP-98: Optional transaction state root ( #4296 )
...
* EIP98: Optional receipt state root
* Use if-else
* Fixing tests
2017-01-25 20:22:48 +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
Svyatoslav Nikolsky
092e24b9f2
Integration with zgp whitelist contract ( #4215 )
...
* zgp-transactions checker
* polishing
* rename + refactor
* refuse-service-transactions cl option
* fixed tests compilation
2017-01-22 16:15:22 +01:00
Robert Habermeier
3ff9324ec0
LES Peer Info ( #4195 )
...
* connected peers function for network service
* get LES peer info in sync API
* new peer info in RPC
2017-01-20 12:41:49 +01:00
keorn
73b80869f5
Remove unnecessary Engine method ( #4184 )
...
* remove register_account_provider
* build rpc module
* new dummy client
2017-01-18 18:49:50 +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
Gav Wood
311730ea95
Improvements and optimisations to estimate_gas ( #4142 )
...
* 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.
* Improvements and optimisations to estimate_gas.
- Introduce proper error type
- Avoid building costly traces
* Fix tests.
* Actually fix testsActually fix tests
2017-01-12 11:06:12 +01: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
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
Tomasz Drwięga
b24fc97cb6
Correct log index in transaction receipt ( #3995 )
...
* Moving logs to separate, testable function
* Adding test
* Fixing log index
* Adding transaction log index
* Fixing rpc tests
* Making interface of a bit cleaner.
2016-12-29 18:48:28 +00:00
Tomasz Drwięga
bc3dacc952
Fetch tests (first batch) ( #3977 )
...
* Customizable fetch
* Some basic Fetch tests
2016-12-27 15:38:55 +00: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
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
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
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
c0a2d5c8f5
Merge pull request #3796 from ethcore/tx-broadcast
...
Avoid broadcasting transactions to peers that send them
2016-12-12 04:13:56 +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
b56f12adc6
Merge branch 'master' into tx-broadcast
...
Conflicts:
ethcore/light/src/net/context.rs
ethcore/light/src/net/tests/mod.rs
2016-12-11 17:31:56 +01:00
Tomasz Drwięga
19ca9ad460
Prevent broadcasting transactions to peer that send them.
2016-12-10 21:22:19 +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
e66157f922
fixing test
2016-12-10 16:40:32 +01:00
Tomasz Drwięga
704054ef40
Merge branch 'master' into tx-broadcast
...
Conflicts:
ethcore/src/client/traits.rs
2016-12-10 15:23:53 +01:00
Tomasz Drwięga
e1ade5b375
Maintaining a list of transactions propagated from other peers
2016-12-10 15:18:44 +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
43ec3d8f79
network_id -> u64
2016-12-05 06:54:31 -08: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
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
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
Tomasz Drwięga
07fca24b44
Next nonce RPC ( #2917 )
2016-10-27 19:29:55 +02:00
Tomasz Drwięga
152a551e8b
Transaction Queue banning ( #2524 )
...
* Blacklisting transaction queue
* Using blacklisting queue in miner
* Restoring todo [ci:skip]
* Blacklisting recipients and code
* Renaming blacklisting->banning
* CLI option for banning.
* Fixing submodule commit [ci:skip]
* Fixing RPC tests
* Additional logging when dropping transactions
* whitespace
[ci:skip]
* Configurable ban duration
* Reverting fix for pruning history from config file
2016-10-27 19:28:34 +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
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
cceca916a1
[frontport] CLI to specify queue ordering strategy ( #2494 ) ( #2623 )
...
* CLI to specify queue ordering strategy (#2494 )
* Alter gas priorities to include gas_price also
* CLI options and tests
* Adding ordering by gas
* whitespace
Conflicts:
ethcore/src/miner/miner.rs
ethcore/src/miner/mod.rs
ethcore/src/miner/transaction_queue.rs
parity/cli/usage.txt
parity/configuration.rs
* fix build
2016-10-15 14:46:33 +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
Gav Wood
85eeb3ea6e
EIP150.1c ( #2591 )
...
* EIP150.1b first part.
* Add documentation.
[ci:skip]
* Tweak comment
* Fix some tests.
* Fix create
* Add the new EIP150 test. (#2563 )
* Fix create some more.
* Another fix for create.
* Final fixes.
* Enable EIP150 test.
* Revert the costly suicides to respect EIP150.1b.
* Fixups for EIP150.1c
* Update tests.
* Updating tests
* Adding state tests
* Updating tests
* Updating HF block
* Removing flushln [ci:skip]
* Commenting out suicide test
* New tests.
* Switch to EIP tests.
* Rename some stuff, combine transition tests.
* Fix U256 overflows.
* Name cleanups and an effort to fix tests.
* Rename back for clarity.
* Fix non-EIP-150 OOG CALLs
* New transition block number & additional EIP150 tests
* Morden transition block set; Tests updated
* Added missing test
2016-10-15 14:39:15 +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
Arkadiy Paronyan
26d7712d30
TX queue gas limit config and allow local transactions over the gas limit ( #2553 )
...
* Gas limit config; Allow local transactions over the limit
* Fix typo
[ci:skip]
2016-10-10 23:04:43 +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
Arkadiy Paronyan
0dcdaa7a2a
Jumptable cache ( #2427 )
...
* Jumptable cache
* Updated registrar address
2016-10-02 18:45:36 +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
57d5c35bb6
Use proper database configuration in snapshots. ( #2052 )
...
* use proper database config in snapshot service
* add snapshot path to parity directories struct
* fix RPC tests
2016-09-07 15:27:28 +02:00
debris
61d3d74934
fixed compiling rpc tests
2016-09-07 10:36:18 +02:00