NikVolf
a44e95b0ec
hashing secret on the sync side
2016-07-17 10:39:35 +02:00
NikVolf
9eed51ed20
comments -
2016-07-16 19:25:28 +02:00
NikVolf
c3ef5c10a3
got rid of the generic parameter for ipc interface
2016-07-16 19:24:45 +02:00
NikVolf
77bbab009e
got rid of Arc<T> dispatch
2016-07-16 19:09:14 +02:00
NikVolf
8e26977693
review fixes
2016-07-16 18:51:06 +02:00
NikVolf
be25e930e5
Merge branch 'master' into sync-svc
2016-07-16 15:57:30 +02:00
NikVolf
4cb1c906b0
rpc dependencies relayout
2016-07-16 15:51:06 +02:00
NikVolf
98ddff1326
dependancies layout
2016-07-16 14:24:57 +02:00
Gav Wood
799c69c8d5
DAO hard-fork ( #1483 )
...
* Minor additions to allow resetting of code.
* Add test.
* Provisional DAO hard-fork proposal.
* Change to reflect latest HF spec.
* Include extradata restrictions and overrides.
* Introduce new tests.
* Update tests to new spec format.
* Allow JSON chain spec fields to be optional.
* Remove superfluous definitions. Fix overflow risk.
* Fix build.
* Add missing file.
* Remove old flag.
* Update to latest address set.
* Update tests and test spec to latest.
Change the mining default to release only on own transactions.
2016-07-16 13:02:56 +02:00
keorn
78007cf80b
Die if the DB is newer than the one supported. ( #1630 )
...
* die on DB from the future
* use error type to print messages, print db path
2016-07-16 10:41:09 +02:00
NikVolf
4a9d57d2ce
flush work
2016-07-15 17:39:59 +02:00
NikVolf
507a4ea26c
basic layout of sync executable and minor fixes in the api
2016-07-15 15:32:29 +02:00
Gav Wood
d14b6871a5
Cleanup of colour code. Use is_a_tty. ( #1621 )
...
* Cleanup of colour code. Use is_a_tty.
* Fix test build.
* Another fix.
2016-07-15 10:11:14 +02:00
NikVolf
c60e02d151
fix rwlock
2016-07-14 12:32:55 +02:00
NikVolf
2310ecb480
sorting out the multi-interface dispatch scenario
2016-07-14 12:29:05 +02:00
Nikolay Volf
44bc8a08fb
Sync IPC interface ( #1584 )
...
* chain notify trait
* replaced network service with io service
* fix ethcore crate warnings
* refactored network service without generic
* ethcore fix
* ethsync refactoring
* proper linking of notify
* manage network interface
* rpc crate rebinding
* full rewire
* sync internal io service
* fix deadlock
* fix warnings and removed async io
* sync imported message propagation
* fix rpc warnings
* binart warnings
* test fixes
* rpc mocks and tests
* fix util doctest
* fix message name and removed empty notifier
* pointers mess & dark mode fixed
* fixed sync doctest
* added few warnings
* fix review
* new convention match
* fix error unwraps
* doctest fix
* basic library re-layout
* missing files to relayout
* duplicating network config on sync level
* binary serializers for config
* ipc endpoint for manage
* ipc endpoint for sync
* handshake sorting out
* sorting out the multi-interface dispatch scenario
* fixing tests
* fix doctest
2016-07-14 12:07:33 +02:00
Robert Habermeier
36d3d0d7d7
replace synchronization primitives with those from parking_lot ( #1593 )
...
* parking_lot in cargo.toml
* replace all lock invocations with parking_lot ones
* use parking_lot synchronization primitives
2016-07-13 19:59:59 +02:00
Tomasz Drwięga
e0f6709f05
Merge branch 'master' into noui
...
Conflicts:
Cargo.toml
2016-07-13 11:48:04 +02:00
Tomasz Drwięga
29076da4b7
UI feature
2016-07-13 11:10:43 +02:00
Gav Wood
3abe3e1fbc
Fix logging ( #1590 )
...
* Strip colour for everywhere except the terminal.
* Log to file.
Fixes #1560 .
* Fix indentation.
[ci:skip]
* Remove unnecessary clone()ing.
* Update setup_log.rs
* remove unnecessary mutex in logging (#1601 )
2016-07-13 09:05:26 +02:00
Tomasz Drwięga
11cae70cdd
No-ui compilation feature
2016-07-12 20:15:36 +02:00
Robert Habermeier
60302acb94
merge with master
2016-07-12 13:09:42 +02:00
Robert Habermeier
c26627d968
Merge branch 'master' into migration_progress
2016-07-12 12:46:34 +02:00
Robert Habermeier
7200cfcbc9
expunge &Vec<T> pattern ( #1579 )
...
* expunge &Vec<T> pattern
* fix travis
2016-07-12 10:28:35 +02:00
Robert Habermeier
7e13ce6185
v7 migration progress
2016-07-11 19:39:06 +02:00
Marek Kotewicz
c5ed363bba
cleaned up parity/signer ( #1551 )
...
* cleanup parity/signer
* remove redundant import of signer crate from main.rs
* rpc and signer are no longer optional
* move importing extern crates to main.rs file
2016-07-11 17:11:49 +02:00
Nikolay Volf
d3695d0b72
Major sync <-> client interactions refactoring ( #1572 )
...
* chain notify trait
* replaced network service with io service
* fix ethcore crate warnings
* refactored network service without generic
* ethcore fix
* ethsync refactoring
* proper linking of notify
* manage network interface
* rpc crate rebinding
* full rewire
* sync internal io service
* fix deadlock
* fix warnings and removed async io
* sync imported message propagation
* fix rpc warnings
* binart warnings
* test fixes
* rpc mocks and tests
* fix util doctest
* fix message name and removed empty notifier
* pointers mess & dark mode fixed
* fixed sync doctest
* added few warnings
* fix review
* new convention match
* fix error unwraps
* doctest fix
2016-07-11 17:02:42 +02:00
Robert Habermeier
bdf4446173
have AccountDB use address hash for uniqueness ( #1533 )
...
* partially done alternate migration scheme
* finish altering migration framework
* migrate tests to new migration framework
* address comments
* remove superfluous newline
[ci skip]
* TempIdx -> TempIndex
[ci skip]
* modify account_db to work on address hash, not address
* add a database migration for new accountdb
* preserve first 96 bits of keys when combining
* handle metadata keys in migration and preserve first 96 bits
* fix comments and hash address instead of hash
* different migrations based on pruning
* migrations mutably borrow self
* batch abstraction for migration
* added missing licence headers
* overlay recent v7 migration
* better error handling, migrate version key as well
* fix migration tests
* commit final batch and migrate journaled insertions
* two passes on journal to migrate all possible deleted keys
2016-07-11 09:46:33 +02:00
Tomasz Drwięga
d7caae2241
Fixing clippy warnings ( #1568 )
...
* Fixing clippy warnings
* Fixing more warnings
2016-07-10 13:18:33 +02:00
Nikolay Volf
ae757afe15
Merge pull request #1570 from ethcore/dynamic-gas-price
...
Miner's gas price gets updated dynamically
2016-07-10 00:08:29 +02:00
Nikolay Volf
32a4a060d6
bringing hypervisor as a crate in ipc dir ( #1565 )
...
* resurrecting hypervisor in ipc namespace
* get rid of the quotes
* target: hypervisor
2016-07-09 17:18:34 +02:00
Gav Wood
d4d63a5688
Merge branches 'kill_unwraps' and 'dynamic-gas-price' of github.com:ethcore/parity into dynamic-gas-price
2016-07-09 12:29:06 +02:00
Gav Wood
9afbc9816d
Merge branch 'master' into kill_unwraps
2016-07-08 17:31:30 +02:00
Gav Wood
25e6b2b827
Initial implementation of dynamic gas pricer.
2016-07-08 17:26:06 +02:00
Gav Wood
57c14eedfa
Place ideal peers in the log output. ( #1563 )
2016-07-07 15:25:58 +02:00
Gav Wood
43d931de12
Minor indent fix. ( #1561 )
2016-07-07 13:18:09 +02:00
Gav Wood
3b662c285f
Switch out .X().unwrap() for .unwrapped_X
2016-07-07 09:37:31 +02:00
Gav Wood
456ad9e21b
Remove .lock().unwrap() idiom into locked().
2016-07-06 19:52:34 +02:00
Gav Wood
cd7b046d80
Fix and add info messages ( #1552 )
...
* Display information on journal database on startup.
* Minor restyling.
* Client handles the enode message to avoid repeats.
* Avoid unneeded copies *and* reduce code.
* Fix up typo.
2016-07-06 18:28:11 +02:00
Robert Habermeier
f8b56317b4
Merge pull request #1548 from ethcore/remove-soft
...
Remove soft-fork stuff.
2016-07-06 13:05:43 +02:00
Robert Habermeier
b7d243368b
Extend migration framework ( #1546 )
...
* partially done alternate migration scheme
* finish altering migration framework
* migrate tests to new migration framework
* address comments
* remove superfluous newline
[ci skip]
* TempIdx -> TempIndex
[ci skip]
2016-07-06 12:05:23 +02:00
Gav Wood
488ff88562
Remove soft-fork stuff.
2016-07-05 18:18:35 +02:00
Gav Wood
c26cfc1c5a
Silent running operating modes ( #1477 )
...
* Command=line options.
* Keep alive for the eth protocol.
* Wire up final pieces.
* No network when dark.
* Passive and dark mode work.
* Ensure all RPCs keep alive.
* Fix tests.
* Fix minor bug.
* Minor whitespace.
* Split out some of the sleep-state.
* Fix help text.
2016-07-05 17:50:46 +02:00
Nikolay Volf
a2b4997888
Merge pull request #1525 from ethcore/client-api-refact2
...
Client API refactoring - limiting errors to crate-level error types
2016-07-05 12:15:38 +04:00
arkpar
24f09de60e
Fixed public address config
2016-07-04 18:21:22 +02:00
Nikolay Volf
bb36a594c5
creating ethereum dir while in geth mode ( #1530 )
...
* creating ethereum dir while in geth mode
* fix warning
* more descriptive error
2016-07-04 11:53:21 +02:00
Gav Wood
1aee197d79
Make signer default as long as --unlock isn't used. ( #1524 )
2016-07-03 17:11:31 +01:00
Nikolay Volf
ff7fcd0992
add client timeout ( #1526 )
2016-07-02 10:16:31 +01:00
petevine
316fae2cc4
Fix error message. ( #1527 )
2016-07-02 07:58:32 +02:00
NikVolf
43027b36ea
Merge branch 'master' into client-api-refact2
2016-07-01 22:43:51 +03:00
NikVolf
0f7b66f557
fixed compilation & warnings
2016-07-01 22:40:54 +03:00
Marek Kotewicz
d8a4cca817
Fatdb integration with CLI ( #1464 )
...
* fatdb integration
* --fat-db
* rerun with --pruning=archive comment
2016-07-01 19:29:56 +01:00
Arkadiy Paronyan
24e73f3aec
Merge pull request #1497 from ethcore/clone-work
...
Optionally clone block behind work-package
2016-06-30 15:50:27 +02:00
Gav Wood
6ae467252c
Fix no colour on windows. ( #1498 )
2016-06-30 15:49:00 +02:00
Gav Wood
9c58ebf2d2
Merge branch 'master' into clone-work
2016-06-30 13:16:48 +02:00
Gav Wood
9c07e5c355
Optionally clone block behind work-package.
2016-06-30 12:56:58 +02:00
Gav Wood
93a89049ed
More colour!
2016-06-30 08:20:34 +02:00
Gav Wood
92edf7f511
Safe coloured logging.
2016-06-30 08:20:34 +02:00
arkpar
b3f37f3cb4
HTTP work notifier
2016-06-29 20:07:21 +02:00
Gav Wood
e24f9c9936
Add CLI option and route to MinerOptions.
2016-06-29 20:06:03 +02:00
Gav Wood
5d1ff3d7ba
Introduce options for fine-grained management of work queue. ( #1484 )
...
* Introduce options for fine-grained management of work queue.
- Minimum reseal period between non-mandatory (transaction) reseals.
- Maximum historical cached block size.
Defaults changed to reflect real-world scenarios (2s, 20 blocks).
* Fix test bug.
* 50 -> 20.
2016-06-29 16:26:19 +02:00
Gav Wood
e3214c63c6
Rearrange fork CLI options. ( #1476 )
...
* Rearrange fork CLI options.
* Fixed compilation
2016-06-29 09:28:56 +02:00
Gav Wood
599a6104b7
Minor renaming.
2016-06-28 10:40:35 +02:00
Gav Wood
31de739122
U256 instead of Option<U256>. Fix up tests.
2016-06-28 10:21:29 +02:00
Gav Wood
af935df553
Merge branch 'master' into miner-improvements
2016-06-28 10:02:33 +02:00
Gav Wood
ff788e4199
Fix another typo
...
[ci:skip]
2016-06-27 21:06:40 +02:00
Gav Wood
5919c660e5
Fix typo
...
[ci:skip]
2016-06-27 21:06:10 +02:00
Gav Wood
10aa32b0f5
Include RPC configurability for max tx gas limit.
...
Also Move the gas limit into the transaction queue from the miner.
2016-06-27 20:19:01 +02:00
Gav Wood
dc79e63db7
Update configuration.rs
2016-06-27 19:22:54 +02:00
Gav Wood
7b5eeb1dd7
Update cli.rs
...
[ci:skip]
2016-06-27 19:22:28 +02:00
Gav Wood
a102015ecf
Fix doc test.
2016-06-27 19:16:26 +02:00
Gav Wood
2a51a30d41
Fix up the pending set stuff.
2016-06-27 19:06:54 +02:00
Gav Wood
1667808ecb
More miner options.
...
- Optional limit for the amount of gas transactions may have;
- option to restruct transactions returned/queried to only those
which have been executed.
2016-06-27 18:27:06 +02:00
Gav Wood
6c1802e412
Allow configuration of when to reseal blocks.
2016-06-27 17:23:54 +02:00
Nikolay Volf
f9f25fd147
cli config
2016-06-27 14:25:50 +02:00
Nikolay Volf
2e5d5f12dd
ethcore client config
2016-06-27 13:58:12 +02:00
Tomasz Drwięga
2bd0c5ebcb
Unwrap or default
2016-06-26 22:48:09 +02:00
Tomasz Drwięga
6bbaced3cd
Merge branch 'master' into miner-no-default
...
Conflicts:
ethcore/src/miner/miner.rs
parity/main.rs
2016-06-26 22:44:34 +02:00
Gav Wood
516b015325
Don't mine without --author ( #1436 )
...
Requires --author to be set before mining is allowed to happen.
2016-06-26 22:02:17 +02:00
Gav Wood
2574d000a3
Revert the rescuedao extradata.
2016-06-25 14:35:43 +02:00
Arkadiy Paronyan
313d9048bf
Merge pull request #1417 from ethcore/ui
...
Signer enabled by default for UI
2016-06-24 16:31:14 +02:00
Arkadiy Paronyan
29e2ba91a7
Merge pull request #1415 from ethcore/removebadpruningoptions
...
Remove experimental pruning options.
2016-06-24 16:16:48 +02:00
Gav Wood
bf11fb6633
Fix up selection.
2016-06-24 16:12:15 +02:00
arkpar
3e7edb2665
More cases
2016-06-24 14:29:15 +02:00
arkpar
568dc90769
Signer enabled by default for UI
2016-06-24 14:20:39 +02:00
Arkadiy Paronyan
b9649c0e78
Merge pull request #1414 from ethcore/uifix
...
Fixing interface and port for parity ui
2016-06-24 14:08:06 +02:00
Arkadiy Paronyan
4e0d6f735a
Merge pull request #1405 from ethcore/sfedgecase
...
Configurable gas limit cap.
2016-06-24 13:36:40 +02:00
Gav Wood
44d6e1f443
Remove experimental pruning options.
2016-06-24 13:32:43 +02:00
Tomasz Drwięga
653a368783
Changing macos impl
2016-06-24 12:30:54 +02:00
Tomasz Drwięga
566bb030ec
Fixing detecting if dapps are off
2016-06-24 12:21:21 +02:00
Tomasz Drwięga
23732fa516
Fixing interface and port for parity ui
2016-06-24 12:10:36 +02:00
Tomasz Drwięga
6edb981bfa
Merge branch 'master' into miner-no-default
...
Conflicts:
sync/src/lib.rs
2016-06-23 21:18:43 +02:00
Arkadiy Paronyan
416781a8d4
Tweaked cli options ( #1407 )
2016-06-23 18:57:42 +02:00
Gav Wood
bca9e1f31a
Merge branch 'master' into sfedgecase
2016-06-23 14:43:42 +02:00
Gav Wood
8fcec20398
Gas limit ceiling option.
2016-06-23 14:29:16 +02:00
Tomasz Drwięga
5bf906625b
Fixing warnings
2016-06-23 12:19:38 +02:00
Robert Habermeier
9ac30ad409
Merge pull request #1400 from ethcore/ipc-rpc-api-fix
...
rpc api by default for ipc
2016-06-23 10:32:25 +02:00
Gav Wood
8a867262ad
Build fix.
2016-06-23 02:42:56 +02:00
Tomasz Drwięga
9a1e1b7c89
Signer with Unlocked Account ( #1398 )
2016-06-22 21:32:26 +02:00
Gav Wood
e346cbc7f9
Make --signer default. ( #1392 )
2016-06-22 21:32:17 +02:00