Axel Chalon
59e87b6a51
Clean up function naming in RPC error module
2017-07-04 17:01:06 +02:00
Arkadiy Paronyan
ad6ea4fa49
Bump mio ( #5763 )
...
* Bump mio
* Fixed warnings
* Update mio to crates.
2017-06-05 20:40:40 +02:00
Tomasz Drwięga
cbcc369a2d
UI server refactoring ( #5580 )
...
* Full API in Authenticated WS server.
* Replacing UI server with Hyper.
* Solving CLI, RPCs and tests.
* Porting signer tests.
* Fixing origin recognition for dapps/rpc.
* Fixing tests. Adding parity-rpc-client to test.
* Dapps exposed as RPC method.
* JS code to support new connection scheme.
* Fixing dapps tests.
* Updating allowed origins/hosts to support web3.site.
* Fixing tests, fixing UI.
* Fixing tests.
* Removing invalid tests.
* Fixing merge.
* 404 fallback for UI
* Improve ContentFetcher constructor readability.
* Naming.
* Update .gitlab-ci.yml
fix CI lint error
* Fixing tests and linting issues.
* Fixing new tests.
* UI hosts.
* Submodules fix.
2017-05-24 12:24:07 +02:00
Robert Habermeier
5b65f10828
Merge branch 'master' into block_header_rpc
2017-04-10 18:06:28 +02:00
keorn
20d4e7139f
Add CIDv0 RPC ( #5414 )
...
* add cid rpc
* add light
* clean up
2017-04-08 13:35:23 +02:00
Robert Habermeier
6aa9005785
parity_getBlockHeaderByNumber and LightFetch
2017-04-03 11:37:07 +02:00
maciejhirsz
9bd3f10f41
Squashed: Public Node
2017-03-29 17:07:58 +02:00
Tomasz Drwięga
2dca24cc28
Traces error handling ( #4849 )
2017-03-14 13:04:32 +01: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
d8b1cfe082
Merge branch 'master' into lightrpc
2017-02-20 18:01:29 +01:00
Robert Habermeier
9316eb4ad3
(most of) parity RPC for light client
2017-02-17 21:38: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
Robert Habermeier
e53d023a8a
implement light dispatcher
2017-02-09 21:12:28 +01:00
Robert Habermeier
2ca61151ac
squash some warnings
2017-02-08 16:59:04 +01:00
Robert Habermeier
4bb45c4f64
use new error-less on_demand
2017-02-07 23:25:17 +01:00
Robert Habermeier
024e69138a
get it compiling
2017-02-03 17:41:25 +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
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01: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
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
5b6cd2183b
Fix grammar ("you try" -> "you tried" + article)
2016-12-19 16:27:03 +01:00
Gav Wood
58b72c521d
Rename ethcore -> parity in licenses.
2016-12-11 19:31:31 +01:00
Tomasz Drwięga
2cd2b10327
Local transactions RPC
2016-11-16 17:54:54 +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
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
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
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
0f0334275e
Validating minimal required gas for a transaction ( #2937 )
...
* Validating minimal required gas for a transaction
* Adding RPC case and note
* Fixing whitespace [ci skip]
2016-10-28 16:42:24 +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
Tomasz Drwięga
e5f86c62ad
Dapps port RPC ( #2819 )
2016-10-24 12:21:15 +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
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
0c7a28779d
Fixing error message for transactions ( #2496 )
2016-10-06 20:35:31 +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
Tomasz Drwięga
b7e2afd5c0
New signer token RPC & Initial signer connection without token. ( #2096 )
...
* Allowing signer to use initial token
* Generating new tokens via RPC
* Fixing RPC tests
* Fixing signer doctest
* whitespace
[ci:skip]
* whitespace
[ci:skip]
2016-09-21 11:44:49 +01:00
Tomasz Drwięga
b4f3c4bd7a
Asynchronous RPC support ( #2017 )
...
* Async RPC
* Limiting number of transactions in queue
* Fixing tests
* Bumping serde and jsonrpc-core
* serde updated to 0.8
* fixed failing tests
* Bumping ipc server
* Fixing API for endpoints
* Experimenting with tests without --release mode
2016-09-01 12:00:00 +02:00
Nipunn Koorapati
2a550c2adf
Add timeout for eth_getWork call ( #1975 )
2016-08-23 17:07:00 +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