Gav Wood
e734810293
Ethereum classic ( #1706 )
...
* Add Ethereum Classic support
(Rename homestead-dogmatic -> classic)
* Additional change needed.
* More needed changes.
* Separate database path for known forks.
* Address minor grumble.
2016-07-25 10:20:22 +02:00
Gav Wood
9cdd2d265a
Informant tidyup. ( #1699 )
...
* Informant tidyup.
Clean indent.
Don't skip skipping.
* Move string to right place
[ci:skip]
2016-07-24 17:38:29 +02:00
Gav Wood
3f841cc578
Name and meta in accounts ( #1695 )
...
* Introduce persistent name() and meta() in SecretStore.
* Quick stash.
* Fix build.
* Add ethcore_set methods.
* Bug fixes for default values.
* Move to personal to ensure set API exposed.
* Add UUID to accounts info.
* Add tests.
2016-07-24 17:38:21 +02:00
Arkadiy Paronyan
247495fba2
Prevent syncing to ancient blocks ( #1693 )
...
* Don't try to sync to ancient blocks
* Fixed test
2016-07-23 17:27:23 +02:00
Tomasz Drwięga
10bdfe6926
Disabling signer when in geth-compatibility mode ( #1676 )
2016-07-22 14:47:31 +02:00
Nikolay Volf
8ab56ea3d1
IPC (feature-gated) ( #1654 )
...
* moving ipc deriving to trait
* refactoring of the client
* all compiled
* proved all working
* warnings purged
* allow hypervisor to specify initialization payload in two ways
* using binary initialisation payload for sync
* some docs
* logger to separate crate
* log settings for sync bin
* forwarding logging arguments to the sync
2016-07-20 18:13:56 +02:00
Arkadiy Paronyan
b007770ba8
Moved syncing log out of the client ( #1670 )
2016-07-20 12:36:20 +02:00
Tomasz Drwięga
0cba70fba3
Host validation (again) ( #1666 )
...
* Revert "Revert "Validating Host headers in RPC requests" (#1663 )"
This reverts commit 3cc3dbef66
.
* Fixing binding on MacOS
2016-07-20 12:34:17 +02:00
gregg dourgarian
d67369a01c
fix typos ( #1644 )
2016-07-19 20:42:23 +02:00
Gav Wood
3cc3dbef66
Revert "Validating Host headers in RPC requests" ( #1663 )
2016-07-19 13:15:25 +02:00
Tomasz Drwięga
6e79a36ef6
Validating Host headers in RPC requests ( #1658 )
...
* Validating Host headers in RPC requests
* Fixing convention [ci skip]
* Remove extra indent.
[ci:skip]
2016-07-19 12:53:58 +02:00
Tomasz Drwięga
038862fa9d
Fixing clippy warnings ( #1660 )
2016-07-19 09:25:51 +02:00
Arkadiy Paronyan
4e447ccc68
More performance optimizations ( #1649 )
...
* Use tree index for DB
* Set uncles_hash, tx_root, receipts_root from verified block
* Use Filth instead of a bool
* Fix empty root check
* Flush block queue properly
* Expunge deref
2016-07-19 09:23:53 +02:00
NikVolf
028d6f6853
Merge branch 'master' into sync-svc
2016-07-18 15:20:57 +02:00
NikVolf
6a47fd176b
remove import glob
2016-07-18 15:20:25 +02:00
Gav Wood
0d2f516ad7
Multi-mode logging. ( #1643 )
...
* Multi-mode logging.
Better for miners (they get immediate notification of new block).
Better for general use (less superfluous information shown).
* Remove comment.
[ci:skip]
* Minor string change
[ci:skip]
* Minor message tweak.
* Minor tweaks and indentation fix.
2016-07-17 23:00:57 +02:00
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