keorn
e5f8044cad
Merge branch 'master' into auth-bft
2016-12-10 11:01:23 +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
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
273d7c00c3
Pass cli tests, remove compiler warnings
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
Gav Wood
46af3d18da
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-09 20:45:15 +01:00
Gav Wood
c2b6be95c8
Fetch and place in updates path.
2016-12-09 19:02:42 +01:00
keorn
fb71caffbd
remove double registration
2016-12-09 11:05:44 +01:00
Robert Habermeier
eec1929658
Merge branch 'master' into lightserv
2016-12-09 01:29:46 +01:00
Robert Habermeier
6f5f1f5e26
light: integrate with sync + serve_light CLI
2016-12-08 23:21:47 +01:00
keorn
9ecb07434f
fix informant
2016-12-08 21:13:32 +01:00
Gav Wood
2d6656fc43
Merge pull request #3725 from ethcore/engine-password
...
Make engine hold AccountProvider
2016-12-08 20:52:12 +01:00
Gav Wood
8903384840
Merge branch 'master' into check-updates
2016-12-07 19:19:44 +01:00
keorn
aa9caac750
revert cli default
2016-12-07 15:36:20 +01:00
keorn
e9743a3a75
Merge branch 'master' into auth-bft
2016-12-07 14:50:17 +01:00
keorn
5c333fce31
Merge branch 'engine-password' into auth-bft
2016-12-07 10:35:52 +01:00
keorn
71a96588b0
add the methods to engines
2016-12-07 10:34:06 +01:00
Robert Habermeier
398b94e6e2
Merge branch 'master' into opt-in-verifier-scaling
2016-12-06 15:37:10 +01:00
keorn
8f641e67f3
Merge branch 'engine-password' into auth-bft
2016-12-06 13:13:02 +00:00
keorn
b089aa7a6b
fix password loading
2016-12-06 08:38:41 +00:00
keorn
0a2ec319ac
rename to engine_signer
2016-12-05 21:31:38 +00:00
keorn
5e7c21ad4a
add a cli flag
2016-12-05 19:23:03 +00:00
keorn
81a756394a
Merge branch 'master' into engine-password
2016-12-05 17:08:57 +00:00
keorn
529a7fc33c
add password and AccountProvider
2016-12-05 17:08:16 +00:00
keorn
6fc943ca6d
Merge branch 'master' into auth-bft
2016-12-05 16:37:35 +00:00
Gav Wood
43ec3d8f79
network_id -> u64
2016-12-05 06:54:31 -08:00
Robert Habermeier
767d486014
fix config test
2016-12-05 14:12:40 +01:00
keorn
c946ffebf3
Merge branch 'master' into auth-bft
2016-12-05 11:30:11 +00:00
Gav Wood
2911c549e3
Encode networkid as a u64.
2016-12-04 10:48:26 -08:00
Gav Wood
b8c492644b
Fix more build.
2016-12-04 10:47:05 -08:00
Gav Wood
356aca2db5
Fix build.
2016-12-04 09:13:23 -08:00
Gav Wood
90a20a217f
Merge branch 'master' into check-updates
2016-12-04 09:01:50 -08:00
Robert Habermeier
80f98bc8b7
fix tests
2016-12-02 18:52:02 +01:00
Robert Habermeier
cd5b6fdf59
queue: CLI for auto-scaling and num verifiers
2016-12-02 18:21:54 +01:00
Gav Wood
1dd13372b6
Merge remote-tracking branch 'origin/master' into rpc-middleware
2016-12-01 19:43:31 -08:00
keorn
155da50fcd
Merge branch 'master' into auth-bft
2016-11-30 13:06:21 +00:00
keorn
4ef5badcea
fix parity tests merge
2016-11-30 12:58:45 +00: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
Tomasz Drwięga
c97c59f62f
returning errors with extra fields in config file ( #3663 )
2016-11-29 13:23:28 +01:00
Tomasz Drwięga
2b3d100de2
Fixing some clippy warnings
2016-11-28 15:54:22 +01:00
arkpar
dfd17949ef
Added a test
2016-11-28 12:08:12 +01:00
keorn
5c0e89ae9a
Merge branch 'master' into auth-bft
2016-11-28 09:50:22 +00:00
arkpar
fa45413a90
Extened API
2016-11-28 01:37:25 +01:00
arkpar
c7b359fcee
Style
2016-11-28 01:37:25 +01:00
arkpar
d0c80a6903
Updated tests
2016-11-28 01:37:25 +01:00
arkpar
3aceac60de
Use sha3 for fat key
2016-11-28 01:37:24 +01:00
arkpar
e91f7977fb
Storage export
2016-11-28 01:37:24 +01:00
arkpar
b0555fbe7c
State export
2016-11-28 01:37:24 +01:00
Gav Wood
ce3f4911a2
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-27 15:01:17 +01:00
Tomasz Drwięga
3b595a01ad
Merge branch 'master' into rpc-middleware
2016-11-25 21:46:35 +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
arkpar
ffa123c949
Set default tx price to 0.0025 USD
2016-11-25 15:13:51 +01:00
Tomasz Drwięga
9b9bdaa1b1
Appending logs by default ( #3609 )
2016-11-25 13:04:02 +01:00
keorn
a143da2cb8
fix complete build
2016-11-25 11:36:25 +00:00
keorn
1692c07ba6
Merge branch 'master' into auth-bft
2016-11-25 10:51:06 +00:00
Gav Wood
735df6c30f
More work.
2016-11-24 17:19:48 +01:00
Gav Wood
03ef95ba50
Compiles.
2016-11-23 20:35:21 +01:00
Gav Wood
5d62cfdf6f
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-23 18:15:21 +01:00
Gav Wood
9d3b2352cc
More work.
2016-11-23 16:29:15 +01:00
Tomasz Drwięga
cd6f565f69
RPC Middleware & Get/Set dapp-specific accounts
2016-11-23 16:27:05 +01:00
arkpar
7da8f019d5
--no-ancient-blocks
2016-11-22 18:15:55 +01:00
keorn
340d377930
Revert "dont keep account provider in miner"
...
This reverts commit 11ccacd6d0
.
2016-11-22 16:05:27 +00:00
Gav Wood
bf9ed2d444
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-22 10:25:34 +01:00
Gav Wood
45dead9d49
Naming consistency and make Updater improvements.
...
- ID -> Id (consistency with rust libs)
2016-11-22 10:24:22 +01:00
Gav Wood
4c83eff912
Merge pull request #3552 from ethcore/import-msg
...
Import account message
2016-11-22 00:03:36 +01:00
arkpar
efdf017c43
Import account message
2016-11-21 15:03:20 +01:00
arkpar
8bb8ecac2d
--testnet set to ropset
2016-11-21 14:39:26 +01:00
keorn
6e0bd4072b
Merge branch 'master' into auth-bft
2016-11-21 12:17:00 +00:00
Tomasz Drwięga
94328e9784
Fixing main
2016-11-20 22:40:23 +01:00
Arkadiy Paronyan
efd1d9bd0e
Ropsten network ( #3539 )
...
* Ropsten network
* Sorted premine
* Comas
* Removed trailing coma
2016-11-20 16:38:45 +01:00
keorn
9d61071dd7
Merge branch 'miner-no-ap' into auth-bft
2016-11-17 22:04:07 +00:00
keorn
11ccacd6d0
dont keep account provider in miner
2016-11-17 18:32:12 +00:00
keorn
6cb892f605
Merge remote-tracking branch 'parity/master' into bft
2016-11-17 12:19:30 +00:00
Gav Wood
25950345db
Merge pull request #3379 from ethcore/new-token
...
Signer new-token generates a link and opens browser
2016-11-16 23:48:21 +08:00
keorn
8ac989cbeb
Merge remote-tracking branch 'parity/master' into bft
2016-11-16 10:29:54 +00:00
Tomasz Drwięga
29271383dd
signer new-token doesn't open the browser
2016-11-16 09:38:09 +01:00
Gav Wood
8ad2526826
Merge pull request #3460 from ethcore/drop-spec
...
drop spec when no longer useful
2016-11-16 11:20:13 +08:00
Robert Habermeier
8c8bf30de5
drop spec when no longer useful
2016-11-15 19:07:23 +01:00
keorn
d19e8c5505
Merge remote-tracking branch 'parity/master' into bft
2016-11-15 10:26:37 +00:00
Tomasz Drwięga
6ea4b25859
Create directories only if feature is enabled
2016-11-15 10:28:52 +01:00
Tomasz Drwięga
7f011afacb
Tokens retention policy
2016-11-14 12:17:05 +01:00
keorn
d8e6dbd981
Merge branch 'master' into dev-chain
2016-11-14 10:05:34 +00:00
keorn
2d4b4cf5c9
revert moves to Spec
2016-11-14 10:04:34 +00:00
Jaco Greeff
373eb6c01b
Merge branch 'master' into new-token
2016-11-12 16:25:21 +01:00
Tomasz Drwięga
c17ef2c1a4
Fixing parsing passwords from file ( #3367 )
...
* fixing parsing passwords as inputs
* Fixing typo in test
2016-11-12 10:06:40 +01:00
keorn
15d748c2f7
Merge branch 'master' into dev-chain
2016-11-11 20:40:05 +00:00
keorn
4a65394269
change instant spec, update doc
2016-11-11 18:38:44 +00:00
keorn
53258cca6c
add new dev spec
2016-11-11 17:27:20 +00:00
keorn
225d0b02e7
update parity module
2016-11-11 17:10:47 +00:00
Tomasz Drwięga
ba699fdb25
new line [ci:skip]
2016-11-11 18:02:36 +01:00
Tomasz Drwięga
be6023b602
Opening a browser
2016-11-11 17:56:52 +01:00
Tomasz Drwięga
aa147461b0
Generating browser link on signer new-token
2016-11-11 17:38:45 +01:00
Tomasz Drwięga
4bf75d6f2f
Remove some unwraps from parity/helpers ( #3364 )
...
* Fixing no stdin
* Removing unwrap when reading passwords
2016-11-11 16:53:51 +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
Gav Wood
7b5824d4a2
Fixes for 1.4 ( #3260 )
...
* Fix --geth
* Fix mac installer.
* Fix up installer.
* Additional tweaks.
* Fix for empty APIs
* Another case of empty apis
2016-11-08 21:45:22 +01:00
Robert Habermeier
d18bb9d152
verify chunk hashes in cli restore ( #3241 )
2016-11-07 19:33:55 +01:00
keorn
52ea597d6f
Rename cli and config options signer->ui ( #3232 )
...
* rename options signer->ui
* rename config signer->ui
2016-11-07 17:40:53 +01:00
keorn
ea960f1c27
Merge remote-tracking branch 'parity/master' into bft
2016-11-07 11:34:45 +00: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
68f60596dc
Enabling personal RPC over IPC by default ( #3165 )
2016-11-04 09:58:39 +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
Arkadiy Paronyan
8f4bd3590a
Fix windows build ( #3125 )
2016-11-03 16:11:08 +01:00
Arkadiy Paronyan
d101cb5247
Windows tray app ( #3103 )
...
* Check if already running in ui command
* Windows tray app
* Upadted CI scripts
2016-11-03 12:00:39 +01:00
Tomasz Drwięga
7fb39d1511
Displaying errors on stderr ( #3116 )
2016-11-03 12:00:26 +01:00
Tomasz Drwięga
cf8f27ce0f
Initializing logger for each command ( #3090 )
...
* Initializing logger for each command
* Single logger setup
* Whitespace [ci:skip]
2016-11-02 19:42:21 +01:00
Gav Wood
94e3a98524
Fix minor type in informant ( #3056 )
2016-11-01 22:44:24 +01:00
Robert Habermeier
19d5f93745
Merge pull request #3020 from ethcore/fix-old-migrations
...
apply post-consolidation migrations after consolidating
2016-11-01 14:32:23 +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
Robert Habermeier
0139dfcc39
apply post-consolidation migrations after consolidating
2016-10-31 16:18:20 +01:00
Arkadiy Paronyan
cf027d74f9
Print messages to stderr ( #2991 )
2016-10-30 17:48:36 +01:00
Arkadiy Paronyan
6931878ff1
Networking and syncing tweaks ( #2990 )
...
* Reduce periodic snapshot delay
* Prevent connecting to peers over the min_peers limit
* Smaller block requests for slower connections
2016-10-30 15:39:36 +01:00
Tomasz Drwięga
f17cad9dff
Fixing clippy warnings 2 ( #2961 )
2016-10-29 13:08:49 +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
ce37b6dcb9
Revert to gas price ordering ( #2919 )
2016-10-27 19:27:08 +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
8cef517788
Fixing config values for pruning_history ( #2918 )
2016-10-27 16:56:18 +02:00
Gav Wood
c9298981f8
Fix up informant. ( #2865 )
...
Just ensure as many transactions/blocks are reported as possible.
2016-10-26 13:57:54 +02:00
keorn
8d0cff3599
Nicer port in use errors ( #2859 )
...
* dapps port
* rpc port
* signer port
* different instance as possible cause
* network port
2016-10-25 15:55:53 +02:00
Robert Habermeier
bc81ae0407
Snapshot and blockchain stability improvements ( #2843 )
...
* allow taking snapshot from just-restored database without error
* make creation informant less spammy
* Ancestry iterator failure-resilient
* make uncle hash searching resilient to incomplete chain
* deduce pre-chunk info from last written block's details
2016-10-24 18:27:23 +02:00
Arkadiy Paronyan
1a5bae8ef1
Extended network options ( #2845 )
...
* More network configuration options
* Filter UDP requests
* Fixed tests
* Fixed test warning
2016-10-24 18:25:27 +02:00
Tomasz Drwięga
4ea67ff91d
Disable personal APIs by default ( #2834 )
2016-10-24 15:10:13 +02:00
Arkadiy Paronyan
44a560e964
CLI option to skip seal check when importing ( #2842 )
2016-10-24 15:09:13 +02:00
Tomasz Drwięga
e5f86c62ad
Dapps port RPC ( #2819 )
2016-10-24 12:21:15 +02:00
keorn
479657b23b
Automatic compaction selection on Linux ( #2785 )
...
* add auto compaction types
* pass db paths
* detect drive type on Linux
* use base db path
* add docstring
* limit the test to be side effect free
* use base db path
* more docs
* fix parsing test
* update error
* detect only on Linux
* make test Linux only
* add second device letter, update cli doc
* use spaces in cli doc
* import only on linux
* default->auto
2016-10-21 23:21:57 +02: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
Tomasz Drwięga
5e67c89b4b
Remove obsolete dapps and update security headers ( #2694 )
...
* Embed allowed only on signer port
* Adding security headers to dapps
* Adding security headers to signer
* Removing old dapps
2016-10-19 11:02:21 +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
Nikolay Volf
dba2d79b56
fix issues with no test dir present ( #2659 )
2016-10-18 16:44:40 +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
Robert Habermeier
f28b8352c1
Configurable history size in master ( #2606 )
...
* split journaldb commit into two functions: journal_under and mark_canonical
* use new commit mechanism in client
* Configurable history size in master
* Reduce DB history
* Configurable history size
* Set min history size
* Test
* Fixed a test and reduced the limit
2016-10-14 15:44:56 +03:00
Arkadiy Paronyan
f9440f20b8
Fixed tx queue limit for local transactions ( #2616 )
...
* Fixed tx queue limit for local tx
* Fixing test
* Increas gas limit to 20x
2016-10-14 13:56:00 +02:00
Robert Habermeier
4bcc9e3b49
Merge pull request #2516 from ethcore/canon-cache-size
...
Mostly configurable canonical cache size
2016-10-12 21:48:29 +02:00
keorn
e343153f06
mixed merge and changes...
2016-10-11 18:37:31 +01:00
Robert Habermeier
ea68546616
Network-specific nodes file ( #2569 )
...
* network-specific nodes.json
* save nodes.json periodically
* squash warnings
2016-10-11 18:42:20 +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
Arkadiy Paronyan
d6cad29f49
Print backtrace on panic ( #2535 )
2016-10-08 17:33:38 +02:00
Robert Habermeier
299ceb8092
Merge branch 'master' into canon-cache-size
2016-10-07 12:42:51 +02:00
Robert Habermeier
8a0e98d4cc
configurable jump table cache size
2016-10-07 12:18:42 +02:00
keorn
5f0ed9ddce
Trim password from file ( #2503 )
...
* trim password
* indicate trimming in doc
2016-10-07 09:39:16 +02:00
Robert Habermeier
745a50dfdf
configurable state cache size
2016-10-07 00:28:42 +02:00
Tomasz Drwięga
a9391f91f7
Increase size of transaction queue by default
2016-10-06 10:20:05 +02:00
Nikolay Volf
7526b1d44b
Derive IPC interface only when ipc feature is on ( #2463 )
...
* derive -> ipc
* accident repair
* conditional ipc deriving
* fix test
2016-10-05 19:42:57 +02:00
svyatonik
0e8dda740f
* PR 2464: human-readable error message + struct documentation
2016-10-05 00:13:07 +03:00
svyatonik
abc5db0f80
Remove redundant Box-ing.
2016-10-04 16:01:39 +03:00
svyatonik
cb0e0abc4a
closes ethcore/parity#1918
2016-10-04 11:44:47 +03:00
Robert Habermeier
d205c0800c
Merge pull request #2437 from ethcore/signer
...
Fixing Signer token RPC API
2016-10-03 20:34:55 +02:00