Robert Habermeier
daf1495c4e
Filters and block RPCs for the light client ( #5320 )
...
* block_hash method for LightChainClient
* abstraction and futures-based eth_filter
* log fetching for light client
* add eth-filter delegate
* eth_block fetching RPCs
* return default accounts from on_demand
* fix early exit
* BlockNumber -> BlockId
* early exit for no known block number.
2017-04-12 12:07:54 +02:00
Robert Habermeier
bbe0eb96f4
Merge branch 'master' into on-demand-priority
2017-04-10 19:53:53 +02:00
Robert Habermeier
cc6cf8d7ce
address grumble
2017-04-10 18:06:36 +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
5793bb8fac
typestrong API
2017-04-06 20:01:09 +02:00
Robert Habermeier
cf75a19e8d
Merge branch 'block_header_rpc' into on-demand-priority
2017-04-06 17:59:55 +02:00
Robert Habermeier
528dbf909a
fix RPC fallout
2017-04-06 17:44:31 +02:00
Robert Habermeier
4f843ada3c
Merge github.com:paritytech/parity into block_header_rpc
2017-04-05 16:27:32 +02:00
Robert Habermeier
60ce0aee1a
Merge branch 'lightcli' into light-filters
2017-04-03 12:55:31 +02:00
Robert Habermeier
394040e22c
Merge branch 'master' into lightcli
2017-04-03 12:44:52 +02:00
Robert Habermeier
6aa9005785
parity_getBlockHeaderByNumber and LightFetch
2017-04-03 11:37:07 +02:00
Tomasz Drwięga
2df4532d50
Dapps and RPC server merge ( #5365 )
...
* Dapps server as a middleware.
* Dapps RPC - Work in Progress
* Merging Dapps and RPC server.
* Fast HTTP server configuration.
* Bump jsonrpc
* Fixing test target
* Re-implementing commented-out tests.
2017-04-03 10:27:37 +02:00
Robert Habermeier
8c715e025a
Merge branch 'lightcli' into light-filters
2017-04-03 09:03:12 +02:00
Robert Habermeier
3eece20967
Merge branch 'master' into lightcli
2017-04-03 08:58:20 +02:00
maciejhirsz
6b0b8078e9
fix rpc tests
2017-03-29 20:44:08 +02:00
maciejhirsz
9bd3f10f41
Squashed: Public Node
2017-03-29 17:07:58 +02:00
Tomasz Drwięga
d2394d3ac3
Updating paths to repos. ( #5330 )
...
* Updating paths to repos.
* Updating rotor and libusb
* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Tomasz Drwięga
d4684d6302
Separate status for canceled local transactions. ( #5319 )
2017-03-29 14:43:55 +02:00
Marek Kotewicz
64c098627e
updating dependencies ( #5028 )
...
* updated docopt, env_logger, semver and regex crates
* updated parking_lot to 0.4
* fixed compiling on linux
* updated igd to 0.6
* updated jsonrpc
* fixed regex related compiler error on linux
2017-03-28 19:06:08 +02:00
Robert Habermeier
1b0a369889
return default accounts from on_demand
2017-03-28 18:55:23 +02:00
Robert Habermeier
73fa0cdc31
eth_block fetching RPCs
2017-03-28 17:15:36 +02:00
Robert Habermeier
f409168126
log fetching for light client
2017-03-28 15:42:23 +02:00
Robert Habermeier
a6b6c312b8
abstraction and futures-based eth_filter
2017-03-28 14:19:21 +02:00
Robert Habermeier
62158601fb
node kind RPC ( #5025 )
...
* node kind RPC
* JS interface for parity_nodeKind
2017-03-27 17:30:19 +02:00
Robert Habermeier
3708b3be63
fix RPC tests
2017-03-23 20:49:17 +01:00
Robert Habermeier
5700f4ac81
fix block response decoding
2017-03-23 18:31:16 +01:00
Robert Habermeier
da837fa9d8
Merge branch 'master' into lightcli
2017-03-23 14:12:42 +01:00
Tomasz Drwięga
bb1bbebfd6
Export account RPC ( #4967 )
...
* Export account RPC
* Removing GethDirectory and ParityDirectory
* Updating ethstore-cli help.
2017-03-23 13:23:03 +01:00
Robert Habermeier
64cec5ff7d
Implement PIP messages, request builder, and handlers ( #4945 )
...
* 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
* initial request definitions
* RLP encoding and decoding for requests
* proofs of non-existance in ProvingBlockChainClient
* new requests in provider.
* encode and decode responses
* complete initial request changes
* handle request packet in LightProtocol
* handle response packets
* implement requesting from
* re-do cost table
* get tests compiling
* fix cost table RLP encoding
* roundtrip tests for request types
* request builder tests
* move request_builder -> request::builder
* get network tests working
* return only complete headers responses
* request builder improvements
* New version of jsonrpc.
* split request filling into fill,complete
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* use PIP messages in on_demand, old API
* migrate oneshot::complete to send in on_demand
* get on_demand tests to compile
* port ethsync to PIP messages
* adjust to minor on_demand API changes in RPC
* Using dedicated branch for jsonrpc
* Bump
2017-03-23 13:17:05 +01:00
Robert Habermeier
b96eb45877
eth_syncing RPC for light client
2017-03-23 03:23:53 +01:00
Robert Habermeier
0abbd7ac97
Merge branch 'pip-msg' into lightcli
2017-03-22 22:08:39 +01:00
Robert Habermeier
73b2dd7a59
light client RPC dependencies
2017-03-22 21:09:43 +01:00
Robert Habermeier
a9d75e2223
CLI options for light client
2017-03-22 16:45:50 +01:00
Robert Habermeier
a0619fc101
Merge branch 'master' into pip-msg
2017-03-22 15:56:09 +01:00
Marek Kotewicz
044d070667
rlp deserialization refactor, 30% faster ( #4901 )
...
* fixed naming of rlp modules
* RlpStream cleanup
* appending short rlp lists (0...55 bytes) is 25% faster
* RlpStream does not use bytes module, nor trait Stream
* removed unused code from rlp module
* compiling ethcore-util with new rlp serialization
* compiling parity with new rlp serialization
* fixed compiling ethcore-light with new rlp serialization
* fixed compiling ethsync with new rlp serialization
* moved rlp benches and rlp tests
* rlp deserialization refactor, 30% faster
* removed redundant comment, print
* fixed compiling parity with new rlp deserialization
* removed redundant double-space
* fixed failing test
* updated rlp docs, removed unused traits
* fixed rlp benchmarks
* replace usage of WriteBytesExt with ByteOrder
* removed unused, commented out code
* fixed merge conflict
2017-03-22 14:41:46 +01:00
Robert Habermeier
219eddf33e
Merge branch 'master' into pip-msg
2017-03-22 13:14:28 +01:00
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
Marek Kotewicz
a555686bcd
rlp serialization refactor ( #4873 )
...
* fixed naming of rlp modules
* RlpStream cleanup
* appending short rlp lists (0...55 bytes) is 25% faster
* RlpStream does not use bytes module, nor trait Stream
* removed unused code from rlp module
* compiling ethcore-util with new rlp serialization
* compiling parity with new rlp serialization
* fixed compiling ethcore-light with new rlp serialization
* fixed compiling ethsync with new rlp serialization
* removed redundant comment, print
* removed redundant double-space
* replace usage of WriteBytesExt with ByteOrder
2017-03-20 19:14:29 +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
Tomasz Drwięga
c13f01c4f9
Using dedicated branch for jsonrpc
2017-03-17 10:13:47 +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
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
NikVolf
429e1c7a27
bind to branch
2017-03-11 17:44:39 +03: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
Arkadiy Paronyan
ae3f85bd5b
v1.7 ( #4730 )
2017-03-07 17:29:27 +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
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
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
3b023c82b7
fetch gas price corpus from network when needed
2017-02-17 17:08:46 +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
Robert Habermeier
2b91c922c1
get signing network ID for light client
2017-02-16 16:08:58 +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
Nikolay Volf
78917d728d
Bump JSON RPC crates versions ( #4530 )
...
* json rpc bump
* some error message deviations
2017-02-13 21:34:16 +03:00
Robert Habermeier
4f1afccf97
best_block_header function
2017-02-13 16:51:40 +01: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
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
5e65081d4f
remove accidental gap in next nonce
2017-02-09 22:37:56 +01: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
7be2c145de
LightDispatcher definition
2017-02-09 20:22:31 +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
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
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
bcf0e23a4b
take_weakf
2017-02-09 13:24:03 +01:00
Robert Habermeier
49f49194c5
use Dispatcher when starting RPCs
2017-02-08 20:44:40 +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
Gav Wood
810ec3558a
Make signing compatible with geth. ( #4468 )
2017-02-07 22:09:59 +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
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
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
Maciej Hirsz
ed09a76c91
Full JSON-RPC docs + sync tests. ( #4335 )
...
* Extended Markdown generator
* Synced and extended all JSON-RPC interfaces
* Fix linter errors
* Format `parity_listAccounts` output in API
* typo
* Check if interfaces are synced in JS spec tests
* Fixing missing interface errors
* Better #[rpc] attribute parsing
* Fixed RPC JS spec tests
* More examples
* Refactored how dummy data appears in examples
* Complete trace docs!
* fix typo
* Less copy-paste
* All the docs!
* Fix differences between CallRequest and TransactionRequest
* Fix differences between CallRequest and TransactionRequest
* Missing examples
* Grumble fixes
2017-02-01 10:58:09 +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
Nikolay Volf
1acc8031ce
Stratum up ( #4233 )
...
* flush work
* flush work
* flush work
* flush work
* generalized notifiers
* general setup with modules
* general setup with modules
* all binded
* catch up with master
* all dependencies injected
* stratum another up
* tcp update
* submitwork routine
* finalize & fix warnings
* merge bugs, review fixes
* merge bugs, review fixes
* new cli mess cleanup
* usage.txt swap
* flush work
* cli adopt
* compilation with new cli sorted
* subid space in json
* serialization issues
* grumbles addressed
* more grumbles
* remove last_work note for now
* fix compilation
* fix tests
* merge bugs
* no obliged ipc
* moving notifiers
* no optional feature now
* refactored again
* working on tests
* refactor to new tcp/ip
* stratum lib ok
* ethcore crate ok
* wip on tests
* final test working
* fix warnings, \n-terminated response
* new compatibility
* re-pushing work once anybody submitted
* various review and general fixes
* reviewe fixes
* remove redundant notifier
* one symbol -> huge bug
* ensure write lock isn't held when calling handlers
* extern declarations moved
* options to stratum mod, SocketAddr strongly-typed instantiation
* Minor style fix.
* Whitespace and phrasing
* Whitespace
2017-01-25 11:03:36 +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
fa02b3ae54
Additional logs for own transactions ( #4278 )
2017-01-24 19:18:52 +00: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
Arkadiy Paronyan
d608ad2011
jsonr rpc bump for IPC fix ( #4200 )
2017-01-18 12:54:35 +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
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
Arkadiy Paronyan
148ea37687
v1.6 in master ( #4113 )
2017-01-10 15:41:59 +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
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
Tomasz Drwięga
bc3dacc952
Fetch tests (first batch) ( #3977 )
...
* Customizable fetch
* Some basic Fetch tests
2016-12-27 15:38:55 +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
a9f89b09e0
Merge pull request #3899 from ethcore/warp-sync-rpcs
...
parity_chainStatus RPC for block gap info
2016-12-21 15:09:45 +01:00
Robert Habermeier
5b6cd2183b
Fix grammar ("you try" -> "you tried" + article)
2016-12-19 16:27:03 +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
4a2b418fc2
Configurable update tracks to help testing.
2016-12-15 18:51:59 +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
4d6b4d9d72
Merge pull request #3792 from ethcore/dapps-accounts-rpc
...
Additional RPCs for dapps accounts management
2016-12-15 18:09:40 +01:00
Gav Wood
943f58487c
Merge remote-tracking branch 'origin/master' into cli-rpc
2016-12-15 17:13:51 +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
Gav Wood
0da564a4c2
Merge branch 'master' into cli-rpc
2016-12-15 14:45:15 +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
6e51b23e30
Adding traces tests
2016-12-14 20:07:33 +01:00
Tomasz Drwięga
1d80725f66
Merge branch 'master' into cli-rpc
2016-12-14 14:12:27 +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
65d62ccf04
Altering the order [ci:skip]
2016-12-13 14:59:19 +01:00
Tomasz Drwięga
f47be50843
Using jsonrpc-macros
2016-12-13 14:40:35 +01:00
Tomasz Drwięga
5affefc763
Fixing CLI signer
2016-12-13 12:17:01 +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
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
94f5501c61
authors & homepage => Parity
2016-12-11 19:43:58 +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
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
arkpar
a49ff3fb32
Merge branch 'master' of github.com:ethcore/parity into cli-rpc
2016-12-11 13:30:48 +01:00
arkpar
2c653d2c2e
Merge w master
2016-12-11 13:11:08 +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
Kristoffer Ström
0e516162c3
Rebased on master
2016-12-09 22:27:32 +01:00
Kristoffer Ström
1d0ccb1c30
Move format_ether into transaction_request.rs
2016-12-09 22:26:08 +01:00
Kristoffer Ström
68df68ca1d
Use Signer mock from the signer crate
2016-12-09 22:26:08 +01:00
Kristoffer Ström
7a176094d5
* Use try!/map_err instead of match
...
* Use jsonrpc_core for serializing/deserializing rpc messages
* Factor out unwraps
* Remove mem::replace
* Add nicer formating of ConfirmationRequests
2016-12-09 22:26:07 +01:00
Kristoffer Ström
4e3f8bab10
Add Ws Json rpc client and command line utils
2016-12-09 22:26:05 +01:00
Tomasz Drwięga
3ccdb7c143
Fixing unused imports
2016-12-09 10:52:42 +00: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
Arkadiy Paronyan
15ec63750e
Enable Panic=abort ( #3423 )
...
* Enable panic=abort
* Update remaining crate versions to 1.5
* Run tests in release mode
* Enable panic=abort for release profile only
* Added travis_wait
* Travis timeout set to 40
2016-12-08 11:31:57 +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
46dd2543e5
rename rpc to match cli
2016-12-05 19:27:24 +00:00
Gav Wood
ff7b918d82
Fix build.
2016-12-05 10:55:53 -08: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
022ccb5bce
Fixing tests
2016-11-30 16:33:42 +01:00
Tomasz Drwięga
c028f106b1
RPC for confirming with token
2016-11-30 16:11:41 +01:00
Gav Wood
d525a6d7f0
Merge pull request #3654 from ethcore/clippy-bump
...
Bumping clippy
2016-11-29 18:00:13 +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
Gav Wood
63c28253d8
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-11-29 15:37:49 +01:00
Gav Wood
0e0bdc8ae9
Deduplicate code.
2016-11-29 13:48:28 +01:00
Gav Wood
436016ef02
Introduce to_hex() utility in bigint. Fix tests.
2016-11-29 13:46:06 +01:00
Gav Wood
1166013c2b
Merge pull request #3662 from ethcore/strict-rpc
...
Strict deserialization
2016-11-29 12:10:31 +01:00
Tomasz Drwięga
44314c5d02
Merge branch 'master' into clippy-bump
...
Conflicts:
rpc/src/v1/types/filter.rs
2016-11-29 11:56:55 +01:00
Tomasz Drwięga
24f72716b9
Strict deserialization
2016-11-28 17:55:46 +01:00
Tomasz Drwięga
424638f89d
Unlock expecting quantity
2016-11-28 17:15:40 +01:00
Tomasz Drwięga
2b3d100de2
Fixing some clippy warnings
2016-11-28 15:54:22 +01:00
Tomasz Drwięga
e1e7886918
Bumping clippy
2016-11-28 12:23:06 +01:00
Tomasz Drwięga
3e69ff0b88
Separating serialization of send and signTransaction
2016-11-28 11:41:46 +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
Gav Wood
0cf8db58b8
Fix tests.
2016-11-27 14:49:30 +01:00
Gav Wood
3b6d886860
Fix up the transaction JSON serialisation for RPC.
2016-11-27 14:11:37 +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