Tomasz Drwięga
73c19fd4b5
Fixing miner deadlock ( #1885 )
2016-08-09 11:45:07 +02:00
arkpar
69d1c1f237
v1.4.0
2016-08-09 11:40:57 +02:00
debris
974d537849
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-09 09:58:18 +02:00
Robert Habermeier
2f1ade8116
take snapshot at specified block and slightly better informants ( #1873 )
...
* prettier informant for snapshot creation
* allow taking snapshot at a given block
* minor tweaks
* elaborate on cli
2016-08-08 18:41:30 +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
Arkadiy Paronyan
6762447229
Use UntrustedRlp for block verification ( #1872 )
2016-08-08 16:56:35 +02:00
Robert Habermeier
9732da5101
replace cache manager with mutex; reduce lock hold times
2016-08-08 16:25:48 +02:00
debris
c5a0024eeb
fixed cache_manager lock order
2016-08-08 16:14:37 +02:00
Arkadiy Paronyan
35451e31d4
Update cache usage on commiting block info ( #1871 )
2016-08-08 13:47:00 +02:00
debris
8269887949
parse().unwrap() -> into()
2016-08-08 11:18:48 +02:00
Tomasz Drwięga
10b18db833
Validating u256->usize conversion
2016-08-08 10:26:28 +02:00
Tomasz Drwięga
bdf6a5660e
Fixing gas conversion
2016-08-08 09:59:00 +02:00
debris
88c5f555a9
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-06 00:03:07 +02:00
Robert Habermeier
e72fc5398a
miner and client take spec reference ( #1853 )
...
* miner and client take spec reference
* fix tests
2016-08-05 23:33:55 +02:00
Arkadiy Paronyan
2f52425387
Unlock account with timeout for geth compatibility ( #1854 )
...
* Unlock account with timeout for geth compatibility
* Fixed test
2016-08-05 23:33:14 +02:00
Robert Habermeier
76a7246369
Snapshot creation and restoration ( #1679 )
...
* to_rlp takes self by-reference
* clean up some derefs
* out-of-order insertion for blockchain
* implement block rebuilder without verification
* group block chunk header into struct
* block rebuilder does verification
* integrate snapshot service with client service; flesh out implementation more
* initial implementation of snapshot service
* remove snapshottaker trait
* snapshot writer trait with packed and loose implementations
* write chunks using "snapshotwriter" in service
* have snapshot taking use snapshotwriter
* implement snapshot readers
* back up client dbs when replacing
* use snapshot reader in snapshot service
* describe offset format
* use new get_db_path in parity, allow some errors in service
* blockchain formatting
* implement parity snapshot
* implement snapshot restore
* force blocks to be submitted in order
* fix bug loading block hashes in packed reader
* fix seal field loading
* fix uncle hash computation
* fix a few bugs
* store genesis state in db. reverse block chunk order in packed writer
* allow out-of-order import for blocks
* bring restoration types together
* only snapshot the last 30000 blocks
* restore into overlaydb instead of journaldb
* commit version to database
* use memorydbs and commit directly
* fix trie test compilation
* fix failing tests
* sha3_null_rlp, not H256::zero
* move overlaydb to ref_overlaydb, add new overlaydb without on-disk rc
* port archivedb to new overlaydb
* add deletion mode tests for overlaydb
* use new overlaydb, check state root at end
* share chain info between state and block snapshotting
* create blocks snapshot using blockchain directly
* allow snapshot from arbitrary block, remove panickers from snapshot creation
* begin test framework
* blockchain chunking test
* implement stateproducer::tick
* state snapshot test
* create block and state chunks concurrently, better restoration informant
* fix tests
* add deletion mode tests for overlaydb
* address comments
* more tests
* Fix up tests.
* remove a few printlns
* add a little more documentation to `commit`
* fix tests
* fix ref_overlaydb test names
* snapshot command skeleton
* revert ref_overlaydb renaming
* reimplement snapshot commands
* fix many errors
* everything but inject
* get ethcore compiling
* get snapshot tests passing again
* instrument snapshot commands again
* fix fallout from other changes, mark snapshots as experimental
* optimize injection patterns
* do two injections
* fix up tests
* take snapshots from 1000 blocks efore
* address minor comments
* fix a few io crate related errors
* clarify names about total difficulty
[ci skip]
2016-08-05 17:00:46 +02:00
debris
316c9093db
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-05 10:53:34 +02:00
Arkadiy Paronyan
05bfdc508e
Split IO and network crates ( #1828 )
...
* Abort on panic
* Split IO and network crates
* Restore panic handler
* Fixed doc tests
2016-08-05 10:32:04 +02:00
debris
df29fcff1a
Merge branch 'split_hash' into move_hash
2016-08-05 09:56:36 +02:00
Marek Kotewicz
08f30fc1a8
updated classic JSON spec with classic bootnodes, fixes #1842 ( #1847 )
2016-08-05 09:51:57 +02:00
debris
1ed2de1d9b
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-05 09:30:01 +02:00
Nikolay Volf
aa59aa439d
Fix state not using "account_starting_nonce" ( #1830 )
...
* failng test
* use account_starting_nonce instead of zero
* simplier test
* jsons are getting closer
* incorrect test client and incorrect tests fix
* null_morden is using 0x0 starting nonce
* replaced json with the correct one
* superwhatever line
2016-08-04 18:17:39 +02:00
Tomasz Drwięga
25aabe6e52
Supporting blockid in eth_call and trace_call/trace_raw ( #1837 )
...
* Supporting blockid in eth_call and trace_call/trace_raw
* Nicer state diff handling
* Purging deref.deref
2016-08-04 18:17:21 +02:00
debris
a1867a7ba6
bloomable trait
2016-08-04 15:38:16 +02:00
debris
24c7392500
removed redundant helper methods
2016-08-04 14:48:09 +02:00
debris
efca92b766
Merge branch 'master' into move_hash
2016-08-04 14:22:16 +02:00
Marek Kotewicz
ab079fd7bf
Merge pull request #1833 from ethcore/trace-deadlock-fix
...
Fixing another deadlock in trace db
2016-08-04 10:36:45 +02:00
Marek Kotewicz
dd60146c24
Merge pull request #1829 from ethcore/fix-vm-trace
...
Fix up the VM trace.
2016-08-04 10:36:20 +02:00
arkpar
8b3836a7d6
Another deadlock in trace db
2016-08-04 08:56:28 +02:00
debris
4051524462
improved naming
2016-08-04 08:52:31 +02:00
debris
03c3d16744
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-04 08:41:30 +02:00
Gav Wood
9bb9a84d40
Fix test.
2016-08-03 23:23:45 +02:00
Arkadiy Paronyan
7093651d70
More performance optimizations ( #1814 )
...
* Buffered DB
* Use identity hash for MemoryDB
* Various tweaks
* Delayed DB compression
* Reduce last_hashes cloning
* Keep state cache
* Updating tests
* Optimized to_big_int
* Fixing build with stable
* Safer code
2016-08-03 22:03:40 +02:00
Gav Wood
52355855fc
Fix up the VM trace.
2016-08-03 20:07:30 +02:00
Tomasz Drwięga
deceb5fd56
Bumping clippy & fixing warnings ( #1823 )
...
* Bumping clippy
* Fixing clippy warnings
* Cargo.lock (latest nightly?)
2016-08-03 19:01:48 +02:00
Robert Habermeier
11b65ce53d
Remove (almost all) panickers from trie module ( #1776 )
...
* memorydb ub patch and other cleanup
* fix denote invocations
* move trie traits into trie module
* replace "denote" with shim
* triedb returns results and no longer panics
* fix warnings
* get ethcore compiling
* warn on trie errors in ethcore
* remove unsafety from node decoder
* restore broken denote behavior for this branch
* fix overlayrecent fallout
* fix triedb tests
* remove unwrap in state
* alter Trie::get to return Result<Option<_>>
* fix refcell error in require
* fix test warnings
* fix json tests
* whitespace
[ci:skip]
* Avoid unneeded match/indentation
* whitespace
* prettify map_or_else
* remove test warning
2016-08-03 18:35:48 +02:00
debris
e8c451ac82
cleaning up hash reexports
2016-08-03 18:05:17 +02:00
Tomasz Drwięga
c5ffb5af79
No block number in get work while in geth-compat mode. ( #1821 )
2016-08-03 15:31:00 +02:00
Arkadiy Paronyan
087ebcf94e
Fixing cache update after reorg ( #1816 )
2016-08-03 10:35:04 +02:00
Gav Wood
9de579366a
Miner tweaks ( #1797 )
...
* Mining fixes.
- Use queue to determine whether we're mining
- Kick stale hash rates
Fixes #1794
Fixes #1641
* Fix tests.
* Address grumbles.
2016-08-02 17:53:32 +01:00
Nikolay Volf
93b4b15c15
Merge pull request #1795 from ethcore/ipc-codegen-dry
...
DRYing build scripts
2016-08-02 15:25:54 +03:00
Nikolay Volf
21c65a99ea
Merge pull request #1790 from ethcore/spec-code
...
Allow code from spec json
2016-08-01 21:41:46 +03:00
NikVolf
1809961f94
drying hypervisor
2016-08-01 19:53:53 +02:00
NikVolf
d8a3137ce8
drying ethcore
2016-08-01 19:39:53 +02:00
Gav Wood
de531c9a1e
Minor simplification
2016-08-01 10:14:12 -07:00
Arkadiy Paronyan
d891e80ad7
Commit best block after closing transaction ( #1791 )
2016-08-01 10:10:13 -07:00
keorn
e99753d6e3
deserialized to pod_account conversion
2016-08-01 13:35:45 +02:00
Nikolay Volf
f19b00b6ca
Merge pull request #1779 from ethcore/dynamic_keys_pickup
...
dynamic keys pickup
2016-07-31 19:20:46 +03:00
Robert Habermeier
7c015f023f
Merge pull request #1780 from ethcore/trace-deadlock-fix
...
Prevent deadlock on trace GC
2016-07-31 15:24:44 +02:00
Marek Kotewicz
dbfc5cd31c
fixed trace_transaction crash when block contained suicide ( #1781 )
2016-07-31 13:47:29 +02:00
arkpar
b0b7a3aa39
Prevent deadlock on trace GC
2016-07-31 12:43:16 +02:00
debris
489722b83f
dynamic keys pickup
2016-07-31 10:46:28 +02:00
Marek Kotewicz
bcf8cd6dc0
cache manager and clearing tracing cache ( #1769 )
...
* removed configure_cache method
* generic cache_manager struct
* fixed #1743 , tracing caches are cleared
* removed deadlocks in garbage_collect, implemented HeapSizeOf for traces
* trace cache config
* fixed carbage typo
2016-07-30 15:19:27 -07:00
keorn
b672d51a74
Instant sealing engine ( #1767 )
...
* add an instant sealing engine
* add sealing engine tests
* rename to InstantSeal
* update name in json
* whitespace
[ci:skip]
2016-07-30 14:42:31 -07:00
Robert Habermeier
53f1d7b6ff
fix state unsafety with a mostly-guaranteed handle ( #1755 )
...
* fix state unsafety with a mostly-guaranteed handle
* ensure_cached takes a closure directly
2016-07-30 06:45:16 -07:00
Tomasz Drwięga
f56b89010d
Gas for mem optimization ( #1768 )
...
* Optimizing mem_gas_cost calculations
* Memoizing current mem gas cost
* Optimizing jump destinations
2016-07-30 06:38:44 -07:00
Arkadiy Paronyan
57faa37623
Disable WAL ( #1765 )
...
* Disable WAL
* Make WAL optional
* Fix tests.
* Update cli.rs
2016-07-29 15:36:00 +02:00
Tomasz Drwięga
5d4925d582
Merge pull request #1764 from ethcore/log-tweak
...
Log tweak
2016-07-29 12:39:19 +02:00
Arkadiy Paronyan
b37086722a
Don't call update_sealing on importing own block ( #1762 )
2016-07-29 09:56:55 +02:00
Gav Wood
4304f4a2a4
Minor tweak to logging. Fix CLI help.
2016-07-29 00:22:46 +02:00
Tomasz Drwięga
e4f0c0b215
Single DB ( #1741 )
...
* Consolidation migration
* Started db amalgamation
* Using client constants for columns
* Adding with_columns constructor
* Migrating to single db
* Fixing tests.
* test.sh without verbose
* Fixing warnings
* add migration tests that catch the bug
* make multiple migrations more robust
* add moved v9
* Merge branch 'noop-migrations' into single-db
* spurious line
* clean up migrations ordering
* update comment [ci skip]
* Bumping default number of max_open_files & re-ordering columns.
* fix merge
* fix ignored analysis tests
* Caching best block content
* Faster best_block_header
* Adding progress to v8 migration
* clean up warnings
* Separate hashes and bodies in the DB
* Separate hashes and bodies in the DB
* Fixed tests
2016-07-28 23:46:24 +02:00
Gav Wood
0934a283b2
Tweak format of log so it's not so verbose. ( #1758 )
2016-07-28 23:45:56 +02:00
Gav Wood
297d25dd65
Combine mining queue and enabled into single locked datum ( #1749 )
...
* Combine mining queue and enabled into single locked datum
Additional tracing.
* Fix bug uncovered by test.
* Fix typo
* Remove unneeded log initialisation in test.
[ci:skip]
2016-07-28 21:06:36 +02:00
keorn
11cb544c24
Collect consensus/null engines into a single module ( #1754 )
...
* collect consesnsus engine code into module
* move Engine to mod
* fix json test
2016-07-28 20:32:20 +02:00
Marek Kotewicz
9746b944f1
Stackoverflow fix ( #1742 )
...
* executive tracer builds flat traces without intermediate struct
* temporarilt commented out tests for traces
* fixed new way of building trace address
* fixed new way of building trace address
* updating state tests with flat tracing in progress
* fixed flat tracing tests
* fixed compiling ethcore-rpc with new flat traces
* removed warnings from ethcore module
* remove unused data structures
2016-07-28 20:31:29 +02:00
Marek Kotewicz
f33cd60dc2
compaction profile used during migration, fixes #1750 ( #1751 )
...
* compaction profile used during migration, fixes #1750
* whitespace
[ci:skip]
2016-07-28 20:29:58 +02:00
Arkadiy Paronyan
6b1e722a6b
Disconnect peers on a fork ( #1738 )
2016-07-27 21:38:22 +02:00
Gav Wood
eaa41ea568
Add RPC & client call to replay a transaction. ( #1734 )
...
* Add RPC & client call to replay a transaction.
* Address grumbles
2016-07-27 21:34:32 +02:00
Gav Wood
ccb62d3b55
Trace other types of calls ( #1727 )
...
* Trace through DELEGATECALL and CALLCODE
Add them to the JSON output and RLP database store.
* Fix tests.
* Fix all tests.
* Fix one more test.
2016-07-27 17:41:21 +02:00
Tomasz Drwięga
edda0b2380
Fixing compilation on latest nightly ( #1736 )
2016-07-27 17:12:14 +02:00
keorn
02cf48681d
Blocks and snapshot compression ( #1687 )
...
* new Compressible rlp trait
* new Compressible rlp trait
* make compressed rlp iterable
* make compressed rlp iterable
* invalid rlp slice swapper
* switch compress to swapper, add reverse swapper test case
* add basic account compression test
* add new rlp trait
* new Compressible rlp trait
* make compressed rlp iterable
* invalid rlp slice swapper
* invalid rlp slice swapper
* switch compress to swapper, add reverse swapper test case
* switch compress to swapper, add reverse swapper test case
* add account compress/ decompress test
* make compressor cleaner, use hashmaps for swapper
* improve compression tests
* add a DecompressingDecoder, change Decoder to take refernce
* separate rlp compression related stuff
* new Compressible rlp trait
* new Compressible rlp trait
* new Compressible rlp trait
* make compressed rlp iterable
* make compressed rlp iterable
* make compressed rlp iterable
* invalid rlp slice swapper
* invalid rlp slice swapper
* invalid rlp slice swapper
* switch compress to swapper, add reverse swapper test case
* switch compress to swapper, add reverse swapper test case
* switch compress to swapper, add reverse swapper test case
* add basic account compression test
* add new rlp trait
* add account compress/ decompress test
* make compressor cleaner, use hashmaps for swapper
* improve compression tests
* add a DecompressingDecoder, change Decoder to take refernce
* separate rlp compression related stuff
* DecompressingDecoder test
* initial compressing HashDB wrapper
* remove unused test
* change CompressedDB to struct wrapper with overlay
* simplify compressor
* failed RefCell attempt
* use denote to return reference
* compiled compresseddb
* compressdb test, add overlay emplace
* fix overlay reference count handling
* add immutable compresseddb, make account use hashdb
* simplify using trait objects
* enable hashdb for account
* initial state compression attempt
* wrap state db
* add tests for analyzing db
* add account predicate
* try to compress data fields as rlp too
* remove compression for storage trie
* add a compressing migration
* more compression stats tests
* fix migration import
* nested encoding compression test
* fix decompression, move db stats tests to rlpcompression
* added malformed rlp tests, cover a few edge cases
* new CompressingEncoder struct
* extend migrations to state
* first version working on the whole db
* clean up Compressible impl
* tests cleanup
* add a testing migration
* refactor deep compression using option, add simple compression
* put tests in a module
* fix compressed overlay loading
* simple compression for snapshots
* remove unused DecompressingDecoder
* add a general compressing migration
* add more common rlps to compress
* use static slices for swapper
* add precomputed hashes and invalid rlps
* make decoder private again
* cover more cases with tests
* style
* fix weird indentation
* remove possible panic in payload_info
* make prefix checking safe
* fix db existence check
* remove db dir from test
* pass usize by value [ci skip]
* Improve comment on panic removal.
* add common blocks db rlps
* add compression to blockchain db
* add blocks db migration
* fix the migrations
* remove state compression
* add a separate snapshot swapper
* ability to use different swappers and traversal
* update tests to new interface
* clean up code ordering
* update usage
* fix compilation
* remove unnecessary changes
* move methods to functions to reduce interface
* move test to module
* update common rlps to blocks db
* move tests to tests modules
* remove redundant &
2016-07-27 17:11:41 +02:00
Arkadiy Paronyan
c65ee93542
Use std::sync::Condvar ( #1732 )
...
test
2016-07-27 11:39:24 +02:00
Tomasz Drwięga
3f41186b2e
Fixing some clippy warnings ( #1728 )
...
* Fixing warnings
* Fixing unnecessary ref
* Removing unnecessary operation
2016-07-26 20:31:25 +02:00
Gav Wood
7cf807d1b4
Various improvements to tracing & diagnostics. ( #1707 )
...
* Various improvements to tracing & diagnostics.
- Manage possibility of `Account` not having code for `PodAccount`
- New RPC: `trace_sendRawTransaction`
- See raw transaction dump when inspecting over RPC
* Fix test
* Remove one of the dupe error messages
* Remove unneeded `&`s
* Reformat and extremely minor optimisation
* Minor optimisation
* Remove unneeded let
* Fix tests.
* Additional fix.
* Minor rename.
[ci:skip]
* Bowing to the pressure.
2016-07-26 16:48:50 +02:00
Arkadiy Paronyan
22a87b1203
Use transaction for writing blocks ( #1718 )
2016-07-26 00:25:49 +02:00
Gav Wood
856657e39a
Log a chain-reorg. ( #1715 )
...
* Log a chain-reorg.
* Nicer output
* Use imported rather than enacted.
Enacted can include previously imported blocks which makes the
info incorrect.
2016-07-26 00:20:37 +02:00
Arkadiy Paronyan
898f1410a5
Rotate blockchain cache ( #1709 )
2016-07-25 18:17:45 +02:00
Marek Kotewicz
226fe8e0bb
cli overhaul ( #1600 )
...
* cli commands
* cleanup parity/signer
* cleanup parity/signer
* remove redundant import of signer crate from main.rs
* cli cleanup in progress
* cli cleanup in progress
* moved few commonly used functions to separate methods with tests
* cleaning up blockchain import in progress
* cleaning up blockchain import in progress2
* cleaning up blockchain import in progress3
* tests for database compaction profile parsing
* cleaning up blockchain import in progress4
* cleaning up blockchain import in progress5
* blockchain import
* export blockchain in progress
* cleanup execute_export
* Configuration::to_duration cleaned up
* removed unused code, tests for to_duration
* cleanup Configuration::mode function
* parsing some of the cli params in params.rs
* rpc and signer are no longer optional
* move importing extern crates to main.rs file
* swipe dies from rpc module
* swipe dies from dapps
* finding deprecated
* several tests and fixes for parity
* parity cleanup in progress
* cleanup price parsing
* parity cleanup in progress
* swiped all dies
* parity cleanup in progress
* replace usages of from_str with parse() in parity/params.rs
* removed few more from_str
* split parity/params.rs into params and helpers
* removed wildcard import from configuration.rs
* cleanup directories/path creation
* cleaning up run cmd
* moved LoggerConfig
* defaults for cli params
* fixed indention in raise_fd_limit
* tests for rpc_apis
* tests for default ipc and rpc settings
* ipc socket
* cleanup in progress
* account service
* cleanup miner config
* BlockChain commands use Directiores structure now
* client_config
* network settings and dapps configuration
* removing warnings
* default logger config
* fixed client_path
* overhaul
* fixing export && import
* default export DataFormat
* import and export also upgrade db
* fixed export && import
* polishing pr
* polishing pr
* fixed custom bootnodes
* fixed daemonize on windows
* fixed setting up enable network
* finished pr
* fixed compiling on windows
* Fixed warning; windows build
* Better cache management
* Fixed tests on windows
* Fixed test
* Restored pruning method names
* --cache alias
* Fixed more tests
* Ensure default options actually listed as valid
[ci:skip]
2016-07-25 16:09:47 +02:00
Gav Wood
435ba186f8
Key files include timestamp in name. ( #1700 )
...
* Key files include timestamp in name.
Introduce timestamp into new key files; keep filename around, so
that we don't accidentally duplicate keys.
* Remove unnecessary clone
* Fix test code.
* Remove log module from ethstore
2016-07-25 10:45:45 +02:00
Arkadiy Paronyan
f048839a4b
Fixing warnings ( #1705 )
2016-07-25 10:21:02 +02:00
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
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
Marek Kotewicz
a76981a61d
Stackoverflow #1686 ( #1698 )
...
* flat trace serialization
* tracing finds transaction which creates contract
* flatten traces before inserting them to the db
2016-07-24 00:20:21 +02:00
Marek Kotewicz
1fbef3289b
filtering transactions toAddress includes contract creation ( #1697 )
...
* tracing finds transaction which creates contract
* comma cleanup
Remove when following `}`s, add to final entries.
2016-07-23 18:50:20 +02:00
Arkadiy Paronyan
9a8fdeead9
Enable WAL and disable DB repair ( #1696 )
...
* Enable WAL
* Disable rewind
2016-07-23 17:05:34 +02:00
Marek Kotewicz
63dbb527cc
Suicides tracing ( #1688 )
...
* tracing suicide
* fixed #1635
* fixed typo
2016-07-22 14:47:23 +02:00
debris
a1857bf139
cleaning up substate
2016-07-21 16:50:24 +02:00
debris
77babe6226
added suicide details
2016-07-21 16:26:49 +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
gregg dourgarian
d67369a01c
fix typos ( #1644 )
2016-07-19 20:42:23 +02:00
debris
f31e7d54af
fixed failing master
2016-07-19 10:54:25 +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
Nikolay Volf
459dcbcef1
Removing unused client code ( #1645 )
...
* moving ipc deriving to trait
* refactoring of the client
2016-07-19 09:21:41 +02:00
NikVolf
028d6f6853
Merge branch 'master' into sync-svc
2016-07-18 15:20:57 +02:00
Tomasz Drwięga
605d9d24a4
Adding more details to miner log
2016-07-18 13:50:45 +02:00
Arkadiy Paronyan
dd17c766b8
Blockchain repair on missing state root ( #1646 )
...
* BC locking; Recovery batch
* Missing state root recovery
* Test
2016-07-17 23:03:29 +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
Arkadiy Paronyan
5ab18d1313
Performance optimizations ( #1642 )
...
* Optimize ethash verification
* disable WAL for puts
* Clear account cache after commit
* Commit only modified accounts
* Optimize existing block check
* Cache last hashes
2016-07-17 09:18:15 +02:00
Arkadiy Paronyan
5dba43178b
Removed DAO soft fork traces ( #1639 )
2016-07-16 19:49:52 +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
a74b72faa2
submodules update
2016-07-16 16:51:03 +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
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
Nikolay Volf
7b5d39e0a1
fix network_start regression ( #1629 )
...
* fix network_start regression
* network io handler
* move registration to the network start
2016-07-16 11:31:59 +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
Robert Habermeier
d5d0cb0b47
don't batch best block for branches ( #1623 )
2016-07-14 19:16:01 +02:00
Gav Wood
598833d1ea
Fix "pending" parameter on RPC block requests ( #1602 )
...
* Initial commit.
* Pending blocks work.
* Address grumbles.
* Fix up for new API.
2016-07-14 15:24:12 +02:00
Tomasz Drwięga
6c205067b1
Miner tests ( #1597 )
...
* Un-ignoring RPC test
* Additional tests for importing transactions
2016-07-14 12:16:53 +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
Nikolay Volf
50c43bd819
Merge pull request #1610 from ethcore/db-repair
...
Fix bloomchain on blockchain repair
2016-07-14 01:14:57 +02:00
Marek Kotewicz
1053f3610c
fixed #1606 ( #1615 )
2016-07-13 21:10:20 +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
arkpar
80d59949ff
Fix bloomchain on blockchain repair
2016-07-13 14:28:46 +02:00
Robert Habermeier
ab44168e1c
Merge pull request #1595 from ethcore/evm-instructions
...
Optimizing InstructionInfo access.
2016-07-12 19:21:41 +02:00
Tomasz Drwięga
4cf8df87e5
Merge pull request #1594 from rphmeier/migration_progress
...
V7 Migration progress indicator
2016-07-12 17:23:03 +02:00
Nikolay Volf
d956b7cea3
Merge pull request #1577 from ethcore/pv64
...
bring snapshotting work into master
2016-07-12 13:46:55 +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
86df371a72
dots on same line
2016-07-12 12:20:43 +02:00
Tomasz Drwięga
fbc0e0039a
Bump clippy ( #1587 )
...
* Bumping clippy
* Fixing warnings
2016-07-12 10:34:08 +02:00
Tomasz Drwięga
2746c1c18c
Merge branch 'master' into evm-instructions
...
Conflicts:
evmbin/bench.sh
2016-07-12 10:32:40 +02:00
Tomasz Drwięga
c7a11418bb
Getting rid of get_info
2016-07-12 10:28:42 +02:00
Robert Habermeier
7200cfcbc9
expunge &Vec<T> pattern ( #1579 )
...
* expunge &Vec<T> pattern
* fix travis
2016-07-12 10:28:35 +02:00
Tomasz Drwięga
92fd00f41e
EVM gas for memory tiny optimization ( #1578 )
...
* EVM bin benches
* Optimizing mem gas cost
* Removing overflow_div since it's not used
* More benchmarks
2016-07-12 09:49:16 +02:00
Robert Habermeier
4269867ca4
remove unnecessary assertion
2016-07-11 19:56:27 +02:00
Robert Habermeier
7e13ce6185
v7 migration progress
2016-07-11 19:39:06 +02:00
Robert Habermeier
673cde6c7f
add block tests
2016-07-11 18:31:18 +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
49ba117f13
add account tests
2016-07-11 16:54:50 +02:00
Tomasz Drwięga
2d5d632d74
Optimizing instruction info
2016-07-11 16:18:27 +02:00
Robert Habermeier
24ec696062
rebuild uncles hash from uncle headers
2016-07-11 15:19:01 +02:00
Tomasz Drwięga
cca4efb861
Removing overflow_div since it's not used
2016-07-11 14:52:56 +02:00
Tomasz Drwięga
f1edd3d683
Optimizing mem gas cost
2016-07-11 13:22:25 +02:00
Robert Habermeier
da9e9692dc
remove outdated comment; prove panickers; update manifest
2016-07-11 13:17:26 +02:00
Robert Habermeier
b91d339bf2
merge with master
2016-07-11 11:19:19 +02:00
Robert Habermeier
c7af950992
ignore warnings temporarily
2016-07-11 11:10:08 +02:00
Robert Habermeier
3dd7ce5566
merge accountdb_migration
2016-07-11 11:08:41 +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
2ed09de38e
Very basic EVM binary. ( #1574 )
...
* EVM binary - initial version
* Adding missing documentation
* Fixing warnings
* Basic evmbin options
* EVMbin crate.
2016-07-11 09:42:41 +02:00
Robert Habermeier
c8b565805e
merge with master
2016-07-10 21:43:16 +02:00
Nikolay Volf
e15f631ec7
Some obvious evm & uint optimizations ( #1576 )
...
* fix name and tests for endians
* using renamed func
* zero and sign opt
2016-07-10 20:18:23 +02:00
Tomasz Drwięga
d7caae2241
Fixing clippy warnings ( #1568 )
...
* Fixing clippy warnings
* Fixing more warnings
2016-07-10 13:18:33 +02:00
Robert Habermeier
895b027527
two passes on journal to migrate all possible deleted keys
2016-07-09 17:56:09 +02:00
Robert Habermeier
36dfa4743e
merge accountdb migration
2016-07-09 17:33:14 +02:00
Gav Wood
716de21873
Address review grumble.
2016-07-09 16:59:15 +02:00
Robert Habermeier
1f885254e1
commit final batch and migrate journaled insertions
2016-07-09 15:22:59 +02:00
Gav Wood
9a70f717ad
Merge remote-tracking branch 'origin/master' into dynamic-gas-price
2016-07-09 12:29:23 +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
Tomasz Drwięga
b304ce5838
Uncommenting simple Miner tests ( #1571 )
2016-07-09 11:23:06 +02:00
Gav Wood
9b1d1dc336
Merge remote-tracking branch 'origin/master' into kill_unwraps
2016-07-08 20:42:11 +02:00
Gav Wood
c648171f91
Fix the HTTP client for getting price.
2016-07-08 20:01:20 +02:00
Gav Wood
ef0a41c7b3
Merge remote-tracking branch 'origin/master' into dynamic-gas-price
2016-07-08 17:36:21 +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
Tomasz Drwięga
eef9586c57
Fixing deadlock in miner ( #1569 )
...
* Fixing deadlock in miner
* Adding more comments [ci skip]
2016-07-08 17:19:14 +02:00
Robert Habermeier
3b0b1375f2
better error handling, migrate version key as well
2016-07-08 16:45:04 +02:00
Robert Habermeier
aaf9490c91
Merge branch 'master' into accountdb_migration
2016-07-08 16:14:53 +02:00
Robert Habermeier
171e93752c
overlay recent v7 migration
2016-07-08 16:07:06 +02:00
Robert Habermeier
fe027e872c
added missing licence headers
2016-07-08 15:58:36 +02:00
Robert Habermeier
3e61d6f3f9
migrations mutably borrow self
2016-07-08 13:08:51 +02:00
Gav Wood
d7077c8ef7
Fix build.
2016-07-07 11:28:33 +02:00
NikVolf
3c046556b5
fix test url
2016-07-07 11:14:37 +03:00
Gav Wood
9f43526c88
Merge branch 'master' into kill_unwraps
2016-07-07 09:40:12 +02:00
Nikolay Volf
8282c7dd50
Client IPC Interface ( #1493 )
...
* btree map serializer
* serde tests
* state diff serialization
* basic layout
* more missing serializaers
* uncle returns rlp
* block queue info
* sorting with transaction result
* sorting out util imports
* transaction import result sorting also
* sorting filters & ranges
* error sorting out
* deriving ipc service compiling
* rpc & sync recompile
* sorting rpc using uncles
* fix compilation
* fix merging bugs
* fix unused imports
* fix all warnings
* tests stub
* some merge bugs
* ethcore compilation
* fix rpc compilation
* deriving attribute
* tests (and fixes)
* rpc test working
* fix warnings again
* rs.in -> rs
* missing attribute
* refactored tree changes
* paste reformat mess fix
* pub mod actually
* intendation fix
2016-07-07 09:39:32 +02:00
Gav Wood
3b662c285f
Switch out .X().unwrap() for .unwrapped_X
2016-07-07 09:37:31 +02:00
NikVolf
1f1b420230
Merge branch 'client-ipc-refact' into client-ipc-tests
2016-07-07 10:00:41 +03:00
Gav Wood
456ad9e21b
Remove .lock().unwrap() idiom into locked().
2016-07-06 19:52:34 +02:00
NikVolf
f06cff48b9
intendation fix
2016-07-06 20:33:20 +03:00
NikVolf
b1ca41dea8
pub mod actually
2016-07-06 20:31:48 +03:00
NikVolf
5dd5983568
paste reformat mess fix
2016-07-06 20:25:42 +03:00
NikVolf
2abf1df667
Merge branch 'master' into client-ipc-refact
2016-07-06 20:20:44 +03:00
NikVolf
1ac2987437
refactored tree changes
2016-07-06 20:07:24 +03: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
Gav Wood
095e51c39c
Fix indent of #1541 ( #1555 )
2016-07-06 17:42:01 +02:00
Nipunn Koorapati
4a9b9dc305
Update sealing just once when externally importing many blocks ( #1541 )
...
Fixes Issue #1372
2016-07-06 17:15:59 +02:00
NikVolf
baababea02
missing attribute
2016-07-06 14:49:27 +03:00
NikVolf
b25a37eb38
Merge branch 'master' into client-ipc-refact
2016-07-06 14:43:36 +03: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
aaad0e87ae
merge with latest master
2016-07-06 12:26:03 +02:00
Robert Habermeier
a7103e2870
different migrations based on pruning
2016-07-06 12:15:03 +02:00
Robert Habermeier
e151fbb071
fix comments and hash address instead of hash
2016-07-06 12:15:03 +02:00
Robert Habermeier
e411399f13
handle metadata keys in migration and preserve first 96 bits
2016-07-06 12:15:03 +02:00
Robert Habermeier
0bbdcb13b3
preserve first 96 bits of keys when combining
2016-07-06 12:15:03 +02:00
Robert Habermeier
9b28e97ca8
add a database migration for new accountdb
2016-07-06 12:15:03 +02:00
Robert Habermeier
7df0aa2b60
modify account_db to work on address hash, not address
2016-07-06 12:15:03 +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
NikVolf
9783c93564
Merge branch 'master' into client-ipc-refact
2016-07-06 12:47:52 +03:00
NikVolf
29de69e39d
failing blockid test
2016-07-06 12:40:10 +03:00
Marek Kotewicz
bcb63bce12
serde is no longer util dependency ( #1534 )
...
* removed old json-tests
* simplify folds in triehash.rs
* removed unused json_aid
* removed unused squeeze.rs
* json branching tests for trie
* removing todos from util
* separated UsingQueue and Table
* further cleanup, removing unused code
* serde serialization of hash moved to rpc module
* uint wrapper for rpc in progress
* serialization of uint moved to rpc module
* updated eth-secp256k1
* updated igd, serde is no longer dependency of util
* loading trie consensus tests
* renamed aliases in rpc imports
2016-07-06 11:23:29 +02:00
Gav Wood
a084969d55
Fix tests.
2016-07-06 10:40:45 +02:00
Gav Wood
488ff88562
Remove soft-fork stuff.
2016-07-05 18:18:35 +02:00
Tomasz Drwięga
b8b55be0be
Skipping transactions with invalid nonces when pushing to block. ( #1545 )
...
* Changing some logging levels
* Skipping invalid nonce errors
2016-07-05 17:51:41 +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
Robert Habermeier
2ea7a8d666
partially done alternate migration scheme
2016-07-05 17:15:01 +02:00
NikVolf
747818a349
rs.in -> rs
2016-07-05 17:12:06 +03:00
Marek Kotewicz
62b9c1b14f
util cleanup ( #1474 )
...
* removed old json-tests
* simplify folds in triehash.rs
* removed unused json_aid
* removed unused squeeze.rs
* json branching tests for trie
* loading trie consensus tests
2016-07-05 15:16:27 +02:00
Tomasz Drwięga
4c1b74a42e
Calculating gas using usize (if supplied gaslimit fits in usize) ( #1518 )
...
* Spliting gasometer out of interpreter
* Choosing right gas calculations implementation based on supplied gas
* Moving verification out of gasometer
* MemGasCost benchmark.
Conflicts:
ethcore/src/evm/benches/mod.rs
* Some simple benchmarks
* Benchmark for simple loop
* Calculating gas_for_memory only when it's actually needed
* Removing superfluous newline [ci skip]
2016-07-05 15:15:44 +02:00
NikVolf
fb0076d262
fix warnings again
2016-07-05 12:50:42 +03:00
NikVolf
78e7101f85
rpc test working
2016-07-05 12:48:32 +03:00
NikVolf
8052824f3f
tests (and fixes)
2016-07-05 12:23:56 +03:00
NikVolf
c96686620a
deriving attribute
2016-07-05 11:49:29 +03:00
NikVolf
a9a671dfc0
ethcore compilation
2016-07-05 11:45:31 +03:00
NikVolf
b58754cd26
some merge bugs
2016-07-05 11:33:38 +03:00
NikVolf
b873d3befb
Merge branch 'master' into client-ipc-refact
2016-07-05 11:29:46 +03:00
Nikolay Volf
bbf20c3637
Merge pull request #1538 from ethcore/bc-restore
...
Attempt to fix blochchain/extras DBs sync
2016-07-05 12:16:15 +04: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
548b4e164e
Attempt to fix blochchain DB sync
2016-07-04 18:24:14 +02:00
NikVolf
cfcf061e41
tests stub
2016-07-04 14:51:50 +03:00
Robert Habermeier
465aae71e7
merge branch accountdb_migration into pv64
2016-07-04 12:53:01 +02:00
Robert Habermeier
601ebcf3cc
add a database migration for new accountdb
2016-07-04 12:47:03 +02:00
Tomasz Drwięga
5c438cc58a
Bumping clippy ( #1532 )
2016-07-04 11:52:59 +02:00
NikVolf
8f6e48e4c3
fix tests
2016-07-02 20:08:52 +03:00
NikVolf
43027b36ea
Merge branch 'master' into client-api-refact2
2016-07-01 22:43:51 +03:00
NikVolf
edb8663195
ethcore finished
2016-07-01 22:34:50 +03:00
NikVolf
46b0af6121
flush work
2016-07-01 22:13:56 +03:00
Arkadiy Paronyan
d91e8ccd34
Save the block reference in the queue on notification ( #1501 )
2016-07-01 19:38:37 +01:00
Nikolay Volf
8102fb9306
Client api cleaning - uncles are returned as rlp ( #1516 )
...
* uncle as rlp in the api
* uncle rlp in block view
* fix warning
2016-07-01 19:37:17 +01:00
NikVolf
07521c17b4
dedicated types
2016-07-01 21:33:59 +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
NikVolf
0907722fc8
fix warning
2016-07-01 16:34:15 +03:00
NikVolf
d4ff3e51e9
uncle rlp in block view
2016-07-01 16:33:37 +03:00
Robert Habermeier
d42ea6b69e
modify account_db to work on address hash, not address
2016-07-01 14:36:07 +02:00
Nikolay Volf
c71dff04c5
Merge pull request #1514 from ethcore/fix-warnings
...
Fix warnings
2016-07-01 14:55:17 +04:00
NikVolf
7ad8599324
uncle as rlp in the api
2016-07-01 13:26:44 +03:00
Tomasz Drwięga
52f4034bdd
Formatting
2016-07-01 02:21:22 +02:00
Tomasz Drwięga
5c2ca9a0cb
Fixing warnings
2016-07-01 02:08:14 +02:00
Gav Wood
1d780f456a
Fix is_new.
2016-06-30 23:14:54 +02:00
Gav Wood
29b6ba4a87
Fix the reseal mechanism.
2016-06-30 22:35:59 +02:00
Robert Habermeier
456619001a
parallelize account trie creation
2016-06-30 20:43:54 +02:00
NikVolf
ba38cc0ccc
fix all warnings
2016-06-30 21:00:52 +03:00
NikVolf
cdd1c6dd90
fix unused imports
2016-06-30 20:57:07 +03:00
NikVolf
bad02d65a1
fix merging bugs
2016-06-30 20:44:24 +03:00
NikVolf
97eb311cb0
Merge branch 'master' into client-ipc-refact
2016-06-30 20:32:13 +03:00
Gav Wood
9c58ebf2d2
Merge branch 'master' into clone-work
2016-06-30 13:16:48 +02:00
Arkadiy Paronyan
ff29c82c9e
Merge pull request #1495 from ethcore/work-notify
...
Workaround for hyper panic
2016-06-30 13:14:24 +02:00
Gav Wood
dff7d9603c
Fix for fake new work packages.
2016-06-30 13:12:15 +02:00
Gav Wood
9c07e5c355
Optionally clone block behind work-package.
2016-06-30 12:56:58 +02:00
arkpar
51c6b85f80
Workaround hyper panic
2016-06-30 10:07:33 +02:00
Gav Wood
5a794b21cf
Make output less green.
2016-06-30 08:20:34 +02:00
Gav Wood
6ca2e6b29b
Remove extraneous messages.
2016-06-30 08:20:34 +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
Gav Wood
4a6206c514
Log for when we mine a block with lots of info.
...
Fixes #1468
2016-06-30 08:20:34 +02:00
Arkadiy Paronyan
60270083e5
Merge pull request #1491 from ethcore/work-notify
...
Work notification over HTTP
2016-06-30 08:19:45 +02:00
NikVolf
8fc03e2dc2
deriving ipc service compiling
2016-06-30 01:09:35 +03:00
NikVolf
3c061857c4
error sorting out
2016-06-30 00:56:12 +03:00
NikVolf
2891b7b4ea
sorting filters & ranges
2016-06-30 00:15:34 +03:00
Gav Wood
86ba6f1912
Fix test compilation.
2016-06-29 22:05:00 +02:00
arkpar
ee01ad1324
Shortcut sealed block into the chain
2016-06-29 21:49:22 +02:00
NikVolf
d5be0fae54
transaction import result sorting also
2016-06-29 21:48:22 +03:00
NikVolf
f6ec1eae4a
sorting out util imports
2016-06-29 21:37:23 +03:00
NikVolf
a14f2391ff
sorting with transaction result
2016-06-29 21:35:22 +03:00
NikVolf
f31ddec3a8
block queue info
2016-06-29 21:28:21 +03:00
Gav Wood
f24ba94fbd
Merge branch 'work-notify' of github.com:ethcore/parity into work-notify
2016-06-29 20:14:32 +02:00
Gav Wood
dc24448900
Include number in eth_getWork.
2016-06-29 20:09:13 +02:00
NikVolf
5337de8d42
uncle returns rlp
2016-06-29 21:08:34 +03: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
arkpar
5958c87e56
HTTP work notifier
2016-06-29 20:04:52 +02:00
NikVolf
562e591ed3
more missing serializaers
2016-06-29 20:59:13 +03:00
NikVolf
dec083a5ed
basic layout
2016-06-29 20:25:05 +03:00
NikVolf
3cca6c869e
state diff serialization
2016-06-29 19:56:47 +03:00
Robert Habermeier
6ecd6eaa12
batch state trie writes
2016-06-29 18:37:17 +02:00
NikVolf
bfbcb8d551
btree map serializer
2016-06-29 19:35:36 +03:00
Robert Habermeier
83c967c082
Merge pull request #1487 from ethcore/vm-fact
...
vm factory to mining client
2016-06-29 18:00:54 +02:00
Gav Wood
98ae9cad6f
Minor additions to allow resetting of code. ( #1482 )
...
* Minor additions to allow resetting of code.
* Add test.
2016-06-29 16:29:04 +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
NikVolf
580913fa7d
vm factory to mining client
2016-06-29 17:23:29 +03:00
Robert Habermeier
6977d335e9
Merge branch 'master' into pv64
2016-06-29 16:11:06 +02:00
Gav Wood
7c27f9dfed
Add CLI option and route to MinerOptions.
2016-06-29 15:37:11 +02:00
Gav Wood
c096c087df
Ensure we don't reject our own transactions for gasprice. ( #1485 )
...
* Ensure we don't reject our own transactions for gasprice.
* Add test.
2016-06-29 15:23:41 +02:00
Robert Habermeier
49024a4f28
Merge with master
2016-06-29 14:46:29 +02:00
debris
2462193df8
Merge branch 'master' of github.com:ethcore/parity into tests_for_views
2016-06-28 14:28:54 +02:00
debris
0b86723e68
tests for HeaderView and BlockView, fixed #144
2016-06-28 14:28:42 +02:00
Marek Kotewicz
af891f65a7
verifier is no longer a template type of client ( #1467 )
...
* verifier is no longer a template type of client
* added missing ,
2016-06-28 13:23:15 +02:00
debris
4ecf23df9a
tests for TransactionView
2016-06-28 12:08:30 +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
c221f69ccd
Clean up some of the FP stuff.
2016-06-28 10:00:28 +02:00
Gav Wood
495e56034f
Merge branch 'master' into miner-improvements
2016-06-27 21:02:55 +02:00
arkpar
150d7c1c78
Merge remote-tracking branch 'origin/master' into db-config-ext
2016-06-27 20:33:07 +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
Arkadiy Paronyan
60b70dada1
Reduced IO messages; removed panics on IO notifications ( #1457 )
2016-06-27 19:30:13 +02:00
Gav Wood
2a51a30d41
Fix up the pending set stuff.
2016-06-27 19:06:54 +02:00
Nikolay Volf
9f4bfd9e7a
fix tests
2016-06-27 18:47:50 +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
Arkadiy Paronyan
6859152c21
Fixed losing queued blocks on ancient block error ( #1453 )
2016-06-27 15:59:45 +02:00
Nikolay Volf
2e5d5f12dd
ethcore client config
2016-06-27 13:58:12 +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
Arkadiy Paronyan
a72d8ee0e7
v1.3.0 ( #1421 )
2016-06-25 10:32:05 +02:00
Arkadiy Paronyan
3c63244c00
Merge pull request #1418 from ethcore/newblocknumber
...
Update SF blocknumber to 1800000.
2016-06-24 17:50:03 +02:00
Gav Wood
60d259c9d5
Update SF blocknumber to 1800000.
2016-06-24 14:20:50 +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
84ce5af2b0
max/min incorrect
2016-06-24 11:40:25 +02:00
Tomasz Drwięga
dc7c53d59a
Fixing json tests
2016-06-24 10:57:44 +02:00
Tomasz Drwięga
34c89e5841
fixing json_tests
2016-06-24 10:49:13 +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
Nikolay Volf
1d31cee524
Merge pull request #1406 from ethcore/jit
...
Fixing jit compilation
2016-06-23 18:32:14 +03:00
Tomasz Drwięga
19585947a5
Fixing jit compilation
2016-06-23 14:46:33 +02:00
Gav Wood
bca9e1f31a
Merge branch 'master' into sfedgecase
2016-06-23 14:43:42 +02:00
Gav Wood
41e0769e63
Fix tests,
2016-06-23 14:43:20 +02:00
Gav Wood
8fcec20398
Gas limit ceiling option.
2016-06-23 14:29:16 +02:00
Robert Habermeier
082294fe81
Merge pull request #1403 from ethcore/bump-clippy
...
Bump clippy
2016-06-23 14:23:46 +02:00
Arkadiy Paronyan
f3486c48ea
Merge pull request #1401 from ethcore/sfedgecase
...
Shortcut SF condition when canon known
2016-06-23 13:08:30 +02:00
Robert Habermeier
fb7ca8539e
Merge pull request #1402 from ethcore/txqueue-assert
...
Additional assertions for internal state of queue
2016-06-23 12:52:56 +02:00
Tomasz Drwięga
5bf906625b
Fixing warnings
2016-06-23 12:19:38 +02:00
Gav Wood
129ce97ad5
Constants for SF# and update.
2016-06-23 11:30:48 +02:00
Gav Wood
4f39fb2551
Merge branch 'master' into sfedgecase
2016-06-23 11:19:19 +02:00
keorn
be8f922b3f
Replace deprecated hashdb trait names ( #1394 )
...
* replace deprecated hashdb method names
* spaces -> tabs
2016-06-23 11:16:11 +02:00
Tomasz Drwięga
a76e3a134f
Bumping clippy
2016-06-23 10:54:25 +02:00
Gav Wood
fc9ceb9131
Merge branch 'master' into sfedgecase
2016-06-22 21:38:56 +02:00
Gav Wood
1602906b56
Shortcut SF condition when canon known
2016-06-22 21:37:29 +02:00
Gav Wood
230c6c889a
Ensure judging the SF trigger by relative branch ( #1399 )
...
Rather than just the canon chain.
2016-06-22 21:33:10 +02:00
Tomasz Drwięga
9a1e1b7c89
Signer with Unlocked Account ( #1398 )
2016-06-22 21:32:26 +02:00
Gav Wood
5302a7dd58
Ensure judging the SF trigger by relative branch
...
Rather than just the canon chain.
2016-06-22 19:49:07 +02:00
Gav Wood
353b9e91e6
Update SF to latest spec ( #1386 )
...
* Introduce whitelist for softfork
* Use extradata for fork id.
* Fix condition.
2016-06-22 15:37:25 +02:00
Tomasz Drwięga
e2de1987c7
Fixing order of if statements to avoid overflows. ( #1384 )
...
* Removing old transactions
* Explanation comment [ci skip]
2016-06-22 11:15:22 +02:00
Arkadiy Paronyan
7c94b1495e
Merge pull request #1329 from ethcore/softforktrigger
...
Install trigger for DAO-rescue soft-fork.
2016-06-21 22:25:24 +02:00
Arkadiy Paronyan
613d4c95f6
Merge pull request #1364 from ethcore/miner-lock
...
Fix lock order when updating sealing
2016-06-21 17:41:44 +02:00
Tomasz Drwięga
fe09d8d291
Merge branch 'master' into txqueue-assert
...
Conflicts:
ethcore/src/miner/transaction_queue.rs
2016-06-21 16:35:18 +02:00
Arkadiy Paronyan
b2891fcdda
Update sealing on new transactions ( #1365 )
2016-06-21 16:00:34 +02:00
Arkadiy Paronyan
bca4e23df6
Fixed panic on aborted connection ( #1370 )
2016-06-21 15:56:00 +02:00
Gav Wood
840f961dc2
don't bother assigning queue.
2016-06-21 14:34:22 +02:00
Tomasz Drwięga
e0b4eab819
Fixing replacing transaction with lower gas_price in one of the edge cases ( #1343 )
2016-06-21 13:55:26 +02:00
Tomasz Drwięga
3de482a431
Additional assertions for internal state of queue
2016-06-21 12:31:50 +02:00
arkpar
b667378820
Release lock while pushing transactions
2016-06-21 11:26:43 +02:00
arkpar
c912bb8c17
Fix lock order
2016-06-20 23:48:47 +02:00
Arkadiy Paronyan
f58e211b11
Merge pull request #1335 from ethcore/tx_perf
...
Transaction processing queue
2016-06-20 23:47:35 +02:00
Arkadiy Paronyan
7e424d2713
Merge pull request #1359 from ethcore/lastnonce-fix
...
Fixing last nonce values in case transaction is replaced
2016-06-20 23:03:09 +02:00
Arkadiy Paronyan
855ae91c4c
Merge pull request #1354 from ethcore/warnings-fix
...
Fixing clippy warnings
2016-06-20 21:21:51 +02:00
Gav Wood
72debeebcf
Update code hash.
2016-06-20 20:47:07 +02:00
arkpar
09b8116cde
TX processing queue
2016-06-20 18:42:50 +02:00
Tomasz Drwięga
8fa9a240cc
Fixing last nonce values in case transaction is replaced
2016-06-20 18:37:59 +02:00
Arkadiy Paronyan
8b845e56da
Merge pull request #1348 from ethcore/db-cache-size
...
Configurable rocksdb cache size
2016-06-20 17:29:18 +02:00
Marek Kotewicz
75a38500f1
Merge pull request #1346 from ethcore/txqueue-future
...
Fixing future order and errors when reaching limit.
2016-06-20 15:31:39 +02:00
Marek Kotewicz
e9900be6ea
Merge pull request #1342 from ethcore/txqueue-local-noprio
...
Removing priority on local transactions
2016-06-20 15:31:06 +02:00
Tomasz Drwięga
da7b30628b
Fixing warnings
2016-06-20 15:20:55 +02:00
Nikolay Volf
c6616431b0
fix tests
2016-06-20 14:20:13 +03:00
Nikolay Volf
7e452ab2e0
configurable cache size
2016-06-20 13:42:04 +03:00
Tomasz Drwięga
c348508b40
Fixing future order and drops because of limit errors
2016-06-20 12:14:19 +02:00
Tomasz Drwięga
edd43cd5c3
Fixing local transactions prioritization
2016-06-20 11:32:29 +02:00
arkpar
1dd87a39f5
Fixed tests
2016-06-20 10:44:15 +02:00
Tomasz Drwięga
d0b2df07db
Removing priority on local transactions
2016-06-20 10:32:52 +02:00
Tomasz Drwięga
a2f24a0083
Removing Default from Miner
2016-06-20 10:28:38 +02:00
Gav Wood
3ee3171b8c
Merge branch 'master' into softforktrigger
2016-06-20 00:37:40 +02:00
Marek Kotewicz
6b074e8fb2
secret store separated from util ( #1304 )
...
* bump rust-crypto
* initial version of account provider utilizing secret store
* update lazy_static to latest version
* AccountProvider accounts method
* new AccountProvider tests in progress
* basic tests for new AccountProvider
* ethcore compiles with new account provider and secret store
* ethcore-rpc build now compiling with new AccountProvider
* most rpc tests passing with new accounts_provider
* fixed basic_authority tests
* fixed eth_transaction_count rpc test
* fixed mocked/eth.rs tests
* fixed personal tests
* fixed personal signer rpc tests
* removed warnings
* parity compiling fine with new sstore
* fixed import direction
* do not unlock temporarily when we have the password
* removed TODO in account import
* display warning on auto account import failure
* fixed compiling of ethstore on windows
* ethstore as a part of parity repo
* added ethkey
2016-06-20 00:10:34 +02:00
Gav Wood
08522eec37
--geth prevent getTransactionReceipt from using pending. ( #1325 )
...
This mimics the fucntionality of Geth and the current unratified
JSONRPC spec (but not the functionality of eth and the ratified
spec).
2016-06-19 14:51:51 +02:00
Gav Wood
5ceb1b084c
Add missing args and some new JSONs for testing.
2016-06-19 14:49:06 +02:00
Gav Wood
2245baaaab
Provide CLI options to disable aspects of soft-fork.
...
Soft-fork will remain default behaviour, but you can now disable
either the whole mechanism (you'll lose money if you mine with this
when the majority network doesn't) or just vote against it but
otherwise go with the flow.
2016-06-19 13:20:14 +02:00
Tomasz Drwięga
8fad728e9b
Fixing locks order ( #1328 )
2016-06-19 12:33:50 +02:00
debris
026bfd6741
fixed incomplete merge
2016-06-19 02:09:17 +02:00
Gav Wood
bff1c5bdcb
Merge branch 'master' into softforktrigger
2016-06-18 20:55:50 +02:00
Gav Wood
d915eae7f7
Remove comment.
2016-06-18 20:54:44 +02:00
Gav Wood
2582253f95
Install trigger for DAO-rescue soft-fork.
...
Soft-fork should only be primed to trigger if the gas-limit of
block #1760000 is at most 4,000,000.
To accomplish this we pass in the gas limit of that block to
EnvInfo so it can inform Schedule. This gets marshalled through
`OpenBlock`/`ClosedBlock` and the `enact` functions much like
`last_hashes`. `block.rs`'s `env_info()` takes care to ensure
that if the current block happens to be #1760000 , then we
populate with the current `gas_limit`.
2016-06-18 20:26:44 +02:00
Marek Kotewicz
3617923d3c
Merge pull request #1324 from ethcore/renamefield
...
Update default gas limit, rename field
2016-06-18 20:22:05 +02:00
Tomasz Drwięga
81df97a737
Fixing warnings ( #1321 )
2016-06-18 15:11:10 +02:00
Gav Wood
d416e5d9bc
Merge branch 'master' into renamefield
2016-06-18 15:05:43 +02:00
Gav Wood
22e390f922
Rename block_dao -> reject_dao.
2016-06-18 15:00:12 +02:00
Arkadiy Paronyan
591fa9625d
Merge pull request #1313 from ethcore/net
...
Network start/stop
2016-06-18 11:04:24 +02:00
Gav Wood
42478add64
DAO Rescue soft fork ( #1309 )
...
* DAO Rescue soft fork
* Address minor issues.
* Fix tests.
2016-06-18 10:54:15 +02:00
Gav Wood
335bce85e8
Gas price statistics. ( #1291 )
...
* Gas price statistics.
Affects eth_gasPrice.
Added ethcore_gasPriceStatistics.
Closes #1265
* Fix a bug in eth_gasPrice
* Fix tests.
* Revert minor alteration.
* Tests for gas_price_statistics.
- Tests;
- Additional infrastructure for generating test blocks with
transactions.
2016-06-18 10:52:50 +02:00
Gav Wood
16412eb0c9
DAO Rescue soft fork ( #1309 )
...
* DAO Rescue soft fork
* Address minor issues.
* Fix tests.
2016-06-17 22:15:18 +02:00
arkpar
c340d8a34f
Tests
2016-06-17 18:26:54 +02:00
arkpar
b38488dd07
Network shutdown
2016-06-17 12:58:28 +02:00
Robert Habermeier
3850ee64bb
have StateRebuilder take a JournalDB and commit post-chunk
2016-06-17 12:56:57 +02:00
Robert Habermeier
f3c1643090
encode the account storage rlp with "append_raw"
2016-06-16 19:47:05 +02:00
Robert Habermeier
e4867d7cb9
properly rebuild state trie
2016-06-16 18:30:18 +02:00
Robert Habermeier
f45254d485
create chunks using append_raw
2016-06-16 16:39:42 +02:00
Robert Habermeier
0e917b9fa3
use ZST error type for snappy, use new snappy compression methods
2016-06-16 15:35:49 +02:00
Gav Wood
88b03580ff
Gas price statistics. ( #1291 )
...
* Gas price statistics.
Affects eth_gasPrice.
Added ethcore_gasPriceStatistics.
Closes #1265
* Fix a bug in eth_gasPrice
* Fix tests.
* Revert minor alteration.
* Tests for gas_price_statistics.
- Tests;
- Additional infrastructure for generating test blocks with
transactions.
2016-06-16 12:44:08 +02:00
Robert Habermeier
7ca5c115d8
validate all compressed buffers
2016-06-15 19:18:49 +02:00
Robert Habermeier
25f1f22c86
use account_pair in feed
2016-06-15 18:41:02 +02:00
Robert Habermeier
0e3a15cadb
add a state rebuilder
2016-06-15 17:46:40 +02:00
Robert Habermeier
d7498c1dd5
rename AccountReader to Account, give a separate module
2016-06-15 16:42:49 +02:00
Robert Habermeier
a2bb3f2832
account storage decoding implemented
2016-06-15 16:34:11 +02:00
Marek Kotewicz
549647b6f2
fixed #1261 , overflow when calculating work ( #1283 )
...
* fixed #1261 , overflow when calculating work
* tests for difficulty_to_boundary
* return !U256::zer() for boundary <= 1
2016-06-15 16:33:38 +02:00
Robert Habermeier
d26e038dc7
fix bug in account code storage, add to_thin_rlp for AccountReader
2016-06-15 15:59:21 +02:00
Robert Habermeier
9badb310ae
remove snappy_buffer_size constant in favor of max_compressed_len
2016-06-15 13:05:00 +02:00
Robert Habermeier
53b3a6f0a1
use UntrustedRlp in to_block
2016-06-15 12:45:04 +02:00
Robert Habermeier
17a60920cb
adjust comments
2016-06-14 19:14:41 +02:00
Robert Habermeier
3290f393bd
block rlp compression
2016-06-14 18:34:27 +02:00
Robert Habermeier
874bc808cb
add some missing header setters
2016-06-14 18:12:05 +02:00
Robert Habermeier
8ed2b9c7d9
refactor out common parts of write_chunk
2016-06-14 15:32:49 +02:00
Robert Habermeier
dfb603dd08
compress into reusable buffers
2016-06-14 13:22:15 +02:00
Robert Habermeier
16e58958c9
use snappy compression on buffers
2016-06-14 12:32:51 +02:00
Robert Habermeier
b88eef5374
use append_empty_data rather than fibbing it
2016-06-14 11:48:34 +02:00
debris
0b8710a2a1
removed redundant if condition
2016-06-14 03:04:06 +02:00
Robert Habermeier
835b158069
store account code if it exists
2016-06-13 21:05:06 +02:00
Robert Habermeier
5cc6a681c9
push pair onto block chunker buffer
2016-06-13 20:48:12 +02:00
Robert Habermeier
5b6ea41d9d
no longer lock the state db
2016-06-13 20:02:20 +02:00
Robert Habermeier
c36f47bbbf
rename pv64_snapshot trace target to snapshot
2016-06-13 20:00:47 +02:00
Robert Habermeier
22a19819c6
rename pv64 module to snapshot
2016-06-13 20:00:00 +02:00
Marek Kotewicz
4ef4819bf9
removed try_seal from MinerClient interface ( #1262 )
2016-06-13 18:51:14 +02:00
Robert Habermeier
6ec282fe98
Merge with latest master
2016-06-13 16:35:59 +02:00
Robert Habermeier
98c7677ce1
expose only chunk_blocks and chunk_state APIs
2016-06-13 16:29:26 +02:00
Robert Habermeier
446d59426a
io error handling and slight blockchunker refactoring
2016-06-13 16:21:23 +02:00
Robert Habermeier
f478812441
remove spammy account trace
2016-06-13 15:36:02 +02:00
Robert Habermeier
4ded1cc3d4
chunk remainder at end of each stage
2016-06-13 15:25:06 +02:00
debris
12a76597d4
Merge branch 'master' into simplified_block_opening
2016-06-13 15:11:14 +02:00
Robert Habermeier
10c2302b55
create an AccountDB to extract account storage
2016-06-13 14:43:27 +02:00
Robert Habermeier
f400da405a
state chunk creation tracing
2016-06-13 14:17:47 +02:00
Robert Habermeier
d9743f166f
AccountReader -> to_fat_rlp implementation
2016-06-13 13:22:42 +02:00
Robert Habermeier
e5ca5e0926
[REQUIRES DB UPGRADE] have account_db use address hash
2016-06-13 12:48:19 +02:00
Robert Habermeier
d696a66d71
add account reader. trie walking not functional yet
2016-06-13 12:39:09 +02:00
Tomasz Drwięga
fca22e92ce
Bumping clippy
2016-06-12 11:26:07 +02:00
Robert Habermeier
c9846b8f48
skeleton for StateChunker
2016-06-11 19:28:18 +02:00
Robert Habermeier
5c252f2a60
output manifest to correct file
2016-06-11 13:08:22 +02:00
Robert Habermeier
3b1cca5622
add manifestdata struct, write manifest file at the end
2016-06-10 17:19:55 +02:00
Robert Habermeier
b047eb29a1
removed size tolerance
2016-06-10 15:05:20 +02:00
Robert Habermeier
f689792481
added tracing
2016-06-10 14:43:01 +02:00
Robert Habermeier
c6e83caddf
fix warning
2016-06-10 13:33:43 +02:00
Robert Habermeier
f12add6958
take_snapshot now chunks blocks
2016-06-10 13:10:12 +02:00
Robert Habermeier
997fd93016
finish implementing basic block chunking
2016-06-10 12:45:46 +02:00
Robert Habermeier
5e0ba1c310
take_snapshot and block chunking skeleton
2016-06-10 12:19:50 +02:00
debris
2a92e10fcd
Merge branch 'master' of github.com:ethcore/parity into simplified_block_opening
2016-06-09 11:09:12 -07:00
Gav Wood
293d9f15d5
Tests for JSON serialisation of statediff/vmtrace ( #1241 )
...
* Splitting RPC Apis into more fine-grained sets
* Remove old code/comment.
* Add test for VMTrace ser.
* Add StateDiff ser test.
2016-06-08 12:40:55 -07:00
Robert Habermeier
13968aaa38
Refactor triedb constructors to error on invalid state root ( #1230 )
...
* add TrieError, refactor Trie DB creation
* remove Result type alias due to glob import conflicts
* fix fallout in state.rs
* add debug, display impl for TrieError
* fix fallout in account.rs
* ethcore::Error::TrieError variant
* fix remaining fallout in ethcore crate
* added From<TrieError> impl for Error, removed map_err calls
* fix test breakages
* fix doc tests
* update docs
[ci skip]
2016-06-07 11:44:09 -07:00
Gav Wood
4efd658577
Merge branch 'master' into txtracingforcall
2016-06-06 19:19:32 -07:00
debris
79919bdc3c
simplified block opening
2016-06-06 14:34:23 +02:00
Tomasz Drwięga
18ffd94674
Fixing warnings
2016-06-06 12:18:17 +02:00
Arkadiy Paronyan
98d9752097
Merge pull request #1219 from ethcore/clippy-bump
...
Clippy bump & fixing warnings
2016-06-06 11:46:59 +02:00
Marek Kotewicz
b93c83b8a0
Merge pull request #1216 from ethcore/serde-bump
...
Bumping serde & syntex
2016-06-06 11:32:13 +02:00
Marek Kotewicz
ba8c7bc959
Merge pull request #1217 from rphmeier/state_at_state_root
...
Verify the state root exists before creating a State
2016-06-06 11:29:39 +02:00
Tomasz Drwięga
a7de430193
Merge branch 'master' into clippy-bump
...
Conflicts:
dapps/Cargo.toml
2016-06-06 10:13:42 +02:00
Tomasz Drwięga
67b9e08ff0
Ignoring tests
2016-06-06 10:13:01 +02:00
Robert Habermeier
64b74eae43
fix travis build
2016-06-05 23:50:27 +02:00
Robert Habermeier
3dff5a9f3f
add early exit for pruned blocks
2016-06-05 22:14:40 +02:00
Robert Habermeier
e6921144dc
simplify conditional in state_at
2016-06-05 22:05:01 +02:00
Gav Wood
4675b7408f
Merge branch 'switchrpcns' into txtracingforcall
2016-06-05 21:35:58 +02:00
Marek Kotewicz
c8c47ebe32
Merge pull request #1206 from ethcore/diffing
...
Integrate state diffing into the ethcore JSONRPC
2016-06-05 21:35:36 +02:00
Gav Wood
d39b9506d2
Minor code refactor.
2016-06-05 18:24:17 +02:00
Gav Wood
4153052148
Fix fn call in miner.rs same as client.rs.
2016-06-05 17:23:27 +02:00
Robert Habermeier
aa465fa2cd
conditional style fix
2016-06-03 12:15:27 +02:00
Robert Habermeier
6f850ebdac
does_pruning -> is_pruned
2016-06-03 12:10:10 +02:00
Gav Wood
4dc9aedfb5
Merge branch 'master' into txtracingforcall
2016-06-03 12:06:39 +02:00
Tomasz Drwięga
3905717d5d
Fixing warnings
2016-06-03 11:36:30 +02:00
Tomasz Drwięga
ae2deaaf72
Bumping clippy version
2016-06-03 11:15:38 +02:00
Robert Habermeier
1e10445f82
exists -> contains
2016-06-02 21:23:43 +02:00
Robert Habermeier
6c6229c963
check if state root is valid for old blocks
2016-06-02 20:52:21 +02:00
Robert Habermeier
d7b79c1274
don't return a state in state_at if the db prunes and the block is before guaranteed history
2016-06-02 20:34:38 +02:00
Robert Habermeier
0318bb9fe9
Have Ext::ret take self by value ( #1187 )
...
* refactor externalities::ret to take self by-value, add GasLeft enum, and alter evm::Result.
* remove unused imports, StopExecutionWithGasLeft variant
* adjust tests
* remove extraneous call to reserve
* update json_tests Ext to match new trait
* adjust executive json_test
* have evms own their memory for their entire lifetime
* make finalize API more friendly
* indentation fix
[ci skip]
2016-06-02 19:04:15 +02:00
Gav Wood
a132fefcc7
Transaction tracing for eth_call.
2016-06-02 13:50:50 +02:00
Gav Wood
b17581d7de
VM tracing and JSON RPC endpoint for it. ( #1169 )
...
* Groundwork for basic VM tracing.
* RPC endpoint for VM tracing and ser/de types ready.
* Create VMTracer trait.
* Rearchitected VM tracing to reflect existing tracing.
Should more or less work now.
* Integrated VM tracing into JSONRPC.
* Fix ethcore module tests.
* Add tests for VM tracing.
* Fix consensus test code.
* Fix mock tests.
* Added VM trace information for post-execution stuff.
* Fix max-value calls and add "creates" field to getTransaction.
* Tests for VM tracing.
* Don't implement the trait with unimplemented.
* Remove invlaid comment.
* Fix tests.
2016-06-02 12:40:31 +02:00
Gav Wood
b9ec87548d
Minor renaming diff -> state_diff
2016-06-02 12:39:25 +02:00
Gav Wood
bc5c3da2af
Merge branch 'vmtracing' into diffing
2016-06-02 12:28:09 +02:00
Gav Wood
d40a038f37
Fix tests.
2016-06-02 11:49:27 +02:00
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Gav Wood
5c63311268
Add missing types.
2016-06-01 20:02:23 +02:00
Nikolay Volf
1ef4db82e8
doctest fixes
2016-06-01 14:50:06 +02:00
Nikolay Volf
c00b84e10b
merge fixes
2016-06-01 12:54:47 +02:00
Nikolay Volf
0c782bf34b
Merge branch 'master' into client-refact
2016-06-01 12:45:04 +02:00
Nikolay Volf
db749dc564
fix remaining tests & doctest
2016-06-01 12:44:11 +02:00
Nikolay Volf
d45a676dc0
all tests fixed
2016-05-31 22:24:32 +02:00
Robert Habermeier
bbb858b386
address small syntax breakages
2016-05-31 21:38:05 +02:00
Nikolay Volf
2a08fb8fe3
and conditional dispatch
2016-05-31 21:17:46 +02:00
Gav Wood
34edecd59d
State diffing, exposed through JSONRPC.
2016-05-31 21:03:44 +02:00
Robert Habermeier
ec7af964ab
correct map macro invocation
2016-05-31 21:01:47 +02:00
Nikolay Volf
a845e08bc6
rename of the trait
2016-05-31 20:33:26 +02:00
Nikolay Volf
8e252d5f1b
refactored to merge client & client
2016-05-31 19:52:53 +02:00
Nikolay Volf
4f732972bc
refactoring to hold miner within the client
2016-05-31 19:01:37 +02:00
Robert Habermeier
da9d6bf8d5
rename [hash_]mapx to [hash_]map_into
2016-05-31 17:29:01 +02:00
Robert Habermeier
3abaeadcf3
finish purging x! from ethcore
2016-05-31 17:18:21 +02:00
Robert Habermeier
ff7c755930
mostly purge x! from ethcore
2016-05-31 16:59:01 +02:00
Nikolay Volf
0cd8644292
split interfaces
2016-05-31 16:41:15 +02:00
Gav Wood
f9a0cc47a0
Enable PoD sutff.
2016-05-31 12:59:00 +02:00
Gav Wood
649767b911
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-31 12:05:23 +02:00
Gav Wood
5766354c19
Tests for VM tracing.
2016-05-31 12:04:53 +02:00
Arkadiy Paronyan
6d25e7f8b4
Merge pull request #1164 from ethcore/sync
...
Sync fixes and tweaks
2016-05-30 22:29:29 +02:00
Gav Wood
8082fdb3ff
Fix max-value calls and add "creates" field to getTransaction.
2016-05-30 22:27:28 +02:00
Gav Wood
79503e4f14
Added VM trace information for post-execution stuff.
2016-05-30 17:19:15 +02:00
Gav Wood
af05939d74
Fix consensus test code.
2016-05-29 14:01:34 +02:00
Gav Wood
22c4298bee
Add tests for VM tracing.
2016-05-29 13:05:41 +02:00
Gav Wood
c20eaf98ec
Fix ethcore module tests.
2016-05-29 11:37:35 +02:00
Gav Wood
a5808833b1
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-29 11:13:48 +02:00
Gav Wood
cd16828fef
Integrated VM tracing into JSONRPC.
2016-05-29 00:58:52 +02:00
Arkadiy Paronyan
b9f7ed9185
Merge pull request #1141 from rphmeier/rpc-tests
...
Framework for improved RPC unit tests
2016-05-29 00:50:19 +02:00
Gav Wood
86fdcabd0e
Rearchitected VM tracing to reflect existing tracing.
...
Should more or less work now.
2016-05-28 23:57:16 +02:00
Gav Wood
d4a06b27ed
Create VMTracer trait.
2016-05-28 17:50:20 +02:00
arkpar
1e8bf8c89d
More tweaks
2016-05-28 17:17:10 +02:00
arkpar
d1fc5a5611
Tweaked some constansts for slower machines
2016-05-28 17:17:10 +02:00
Gav Wood
c1ed520de0
RPC endpoint for VM tracing and ser/de types ready.
2016-05-28 16:52:33 +02:00
Gav Wood
42e4c2d51c
Groundwork for basic VM tracing.
2016-05-27 20:41:29 +02:00
Robert Habermeier
1de7ea090c
add informative comment on transaction::Action
2016-05-27 18:18:44 +02:00
Tomasz Drwięga
58039fb420
Fixing few clippy warnings
2016-05-27 17:56:25 +02:00
Robert Habermeier
3f89362630
rename x_latest to latest_x in BlockChainClient
2016-05-27 16:35:42 +02:00
Robert Habermeier
a3b1cdb175
add docs for nonce_latest
2016-05-27 16:35:41 +02:00
Robert Habermeier
5afa4621f9
added balance_latest, storage_at_latest utilities
...
with modus ponens panickers
2016-05-27 16:35:41 +02:00
Robert Habermeier
3c7e4b8c6c
added nonce, nonce_latest
2016-05-27 16:35:41 +02:00
Robert Habermeier
86eab79d9d
consolidate [balance/storage]_at and _at_id functionality
2016-05-27 16:35:41 +02:00
Robert Habermeier
3405f3eab1
implement storage_at_id
2016-05-27 16:35:41 +02:00
Robert Habermeier
2b7fae8fa6
add state_at_id and balance_at_id, integrate with RPC
2016-05-27 16:35:41 +02:00
Arkadiy Paronyan
8872558e0d
Merge pull request #1153 from ethcore/mordenbootnodes
...
More bootnodes for morden.
2016-05-26 21:49:09 +02:00
Marek Kotewicz
7370776af1
Bloomchain ( #1014 )
...
* use bloomchain crate in blockchain module. remove obsole chainfilter submodule
* update database version to 6.0
* removed redundant line
* simple db migration
* make migration slightly more functional
* bloomchain migration
* migration version is just a single unsigned integer
* updated migration v6
* parity migration
* db migration
* removed hardcoded migration dir
* replace ptr::copy with clone_from_slice, removed potential endianess problem from trace/db.rs
* removed superfluous line
* blockchains log blooms config is not exposed any more
2016-05-26 18:24:51 +02:00
Tomasz Drwięga
fa6b35ec8d
Bumping clippy. Fixing warnings ( #1139 )
...
* Bumping clippy. Fixing warnings
* Removing unused import
* Fixing complexity and arguments warning on two functions
2016-05-25 17:03:58 +02:00
Gav Wood
75d0606bc0
More bootnodes for morden.
2016-05-25 11:37:19 +02:00
Arkadiy Paronyan
fba5082b00
Propagate uncles ( #1134 )
2016-05-24 21:56:17 +02:00
Marek Kotewicz
bf46531372
Merge pull request #1116 from rphmeier/die_display
...
Have `die_with_error` use `fmt::Display` rather than Debug
2016-05-24 20:00:50 +02:00
Gav Wood
564a996620
Basic hex block exporting.
2016-05-23 09:51:36 +02:00
Robert Habermeier
6fb54f4c9d
remove extraneous braces in ExecutionError Display impl
2016-05-22 12:47:42 -04:00
Robert Habermeier
5d997ef099
address match style concerns
2016-05-22 12:41:45 -04:00
Gav Wood
828bf7cb9e
Make receipt's gasUsed property work properly.
...
Fixes #1111
2016-05-21 14:49:21 +02:00
Robert Habermeier
a7d7cb9ecb
add Display impl for ethcore::Error, UtilError
2016-05-20 18:13:16 -04:00
Robert Habermeier
b0452cf309
add DIsplay impl for ExecutionError, CryptoError, and NetworkError
2016-05-20 18:12:51 -04:00
Marek Kotewicz
852155959d
Merge pull request #1098 from ethcore/trace_err
...
pretty print trace error
2016-05-19 18:00:39 +02:00
arkpar
ca6c91f591
New sync algorithm
2016-05-19 16:16:11 +02:00
debris
95365670e4
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 14:15:05 +02:00
debris
506ca15a15
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 11:07:53 +02:00
debris
634679966e
Make Id/ID and db/Db/DB usage consistent
2016-05-19 11:00:32 +02:00
Nikolay Volf
6c6bbe9c57
Merge branch 'master' into miner-spec-refact
...
Conflicts:
ethcore/src/client/client.rs
ethcore/src/client/mod.rs
ethcore/src/client/test_client.rs
miner/src/miner.rs
2016-05-19 03:51:05 +03:00
debris
7f0d1173ba
fixed weird line breaking
2016-05-19 01:05:24 +02:00
debris
55ebab2392
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 01:03:55 +02:00
Marek Kotewicz
6cff58055d
CLI option for using JITEVM ( #1103 )
...
* easily configurable vm (in progress)
* completely removed vm_factory from engine
* --jitvm command line flag
2016-05-19 00:44:49 +02:00
Gav Wood
46f3b5f913
Fix up the seal fields in RPC output. ( #1096 )
...
Make Ethash::extra_info() work.
Seal fields now decode the RLP.
2016-05-19 00:41:41 +02:00
debris
407f046b9c
fixed compilation errors
2016-05-18 13:49:23 +02:00
Tomasz Drwięga
44c29ece17
Merge branch 'master' into fixing-warnings
2016-05-18 11:59:55 +02:00
debris
14b6b389f2
propagate trace error to the top
2016-05-18 11:34:15 +02:00
Marek Kotewicz
dcc695dda5
Merge pull request #1094 from ethcore/seal_fields_fix
...
fixed incorrect decoding of header seal_fields. added tests. #1090
2016-05-17 11:47:07 +02:00
debris
28fc0aacc0
header seal fields should be post-RLP-encoded, not pre
2016-05-17 11:07:51 +02:00
debris
fa7944ce3d
fixed incorrect decoding of header seal_fields. added tests. #1090
2016-05-17 10:50:11 +02:00
Tomasz Drwięga
a950b81ee8
Fixing clippy warnings
2016-05-17 10:32:05 +02:00
Tomasz Drwięga
f7929ffdd4
Disabling some lints to clear the output
2016-05-17 09:38:21 +02:00
Tomasz Drwięga
9b9ea93ff7
Bumping clippy & crossbeam
2016-05-17 09:33:01 +02:00
Nikolay Volf
caec38d533
Merge branch 'master' into miner-spec-refact
...
Conflicts:
ethcore/build.rs
2016-05-16 19:46:56 +03:00
Nikolay Volf
8cc321fe24
fix warnings
2016-05-16 19:45:16 +03:00
Nikolay Volf
7c28b1cef9
removed engine retrieval from client public api
2016-05-16 19:43:48 +03:00
Nikolay Volf
4e41cbca81
Moving all Client public API types to separate mod & binary serialization codegen for that mod ( #1051 )
...
* transaction moved
* trash remove
* ids move
* receipt
* tree-route
* blockchain info
* log_entry move
* trace filter moved
* executed & trace moved
* localized trace moved
* block status moved
* build scripts and codegen refs
* Cargo.lock update
* binary for blockstatus, blockchaininfo
* binary for trace
* trace filters binary ser
* binary for log entries & executed
* binary for receipt
* special case for u8 & transaction binary attribute
* resolved remaining issues & error binary serialization
* json-tests util import
* fix warnings
* ids attr
* add missing attributes
* Update build.rs
2016-05-16 18:33:32 +02:00
Nikolay Volf
994d056922
miner will use separate spec
2016-05-16 19:16:56 +03:00
Nikolay Volf
71278def5e
Merge branch 'master' into types-binary
2016-05-16 17:48:18 +03:00
Gav Wood
f4d5c7b48e
Fix uncle getter
...
Uncle blocks don't necessarily have BlockDetails, so can't get total
difficulty directly.
Closes #1057
2016-05-16 12:46:09 +02:00
Nikolay Volf
96e92f1c38
add missing attributes
2016-05-15 02:34:27 +03:00
Nikolay Volf
d67d1eb355
ids attr
2016-05-15 02:32:53 +03:00
Nikolay Volf
9e7968c92e
fix warnings
2016-05-15 02:13:45 +03:00
Nikolay Volf
326e1b3a42
json-tests util import
2016-05-15 01:56:18 +03:00
Nikolay Volf
483687b6bf
resolved remaining issues & error binary serialization
2016-05-15 00:51:02 +03:00
Nikolay Volf
2d992d0c29
Merge branch 'master' into types-binary
...
Conflicts:
ethcore/src/error.rs
2016-05-14 23:12:18 +03:00
Nikolay Volf
354ac7d6e5
Limiting result of the execution to execution-specific errors ( #1071 )
...
* execution error/result limiting
* missing trailing comma
* fix executive tests
* adding original error as string to the generic transaction error
* 'mallformed'-s all around
2016-05-14 13:28:44 +01:00
Nikolay Volf
889642c3d4
special case for u8 & transaction binary attribute
2016-05-11 13:23:11 +03:00
Nikolay Volf
79d6c84a43
binary for receipt
2016-05-06 17:41:17 +04:00
Nikolay Volf
e7c4e5273a
binary for log entries & executed
2016-05-06 17:38:00 +04:00
Nikolay Volf
f9c08df235
trace filters binary ser
2016-05-06 17:30:36 +04:00
Nikolay Volf
c622fc62d5
binary for trace
2016-05-06 17:19:53 +04:00
Nikolay Volf
29531ae72f
binary for blockstatus, blockchaininfo
2016-05-06 17:16:03 +04:00
Nikolay Volf
00ce4aaa26
build scripts and codegen refs
2016-05-06 01:10:50 +04:00
Nikolay Volf
14bcca54d2
block status moved
2016-05-06 00:47:47 +04:00
Nikolay Volf
e95f610195
localized trace moved
2016-05-06 00:38:13 +04:00
Nikolay Volf
25c88b7529
executed & trace moved
2016-05-06 00:33:43 +04:00
Nikolay Volf
2a721b4eda
trace filter moved
2016-05-06 00:17:03 +04:00
Nikolay Volf
a8affa6dee
log_entry move
2016-05-05 23:57:10 +04:00
Nikolay Volf
beb33672bd
blockchain info
2016-05-05 23:47:07 +04:00
Nikolay Volf
b6d1801e12
tree-route
2016-05-05 23:04:59 +04:00
Nikolay Volf
7e9779e334
receipt
2016-05-05 22:56:44 +04:00
Nikolay Volf
271d3f3e57
ids move
2016-05-05 22:37:30 +04:00
Nikolay Volf
7d27aceee4
trash remove
2016-05-05 22:21:40 +04:00
Nikolay Volf
23f1a8fd48
transaction moved
2016-05-05 22:20:34 +04:00
Tomasz Drwięga
15a8860e8a
Fixing clippy warnings
2016-05-04 15:22:22 +02:00
Gav Wood
ac73b2628a
Basic Authority ( #991 )
...
* Firt commit.
* First non-functional but correct implementation of BasicAuthority.
Still needs:
- Sealing infrastructure.
* Punch a hole to give miner access to key store.
* Fix test built.
* Basic version of synchronous mining.
This will seal a block whenever a new transaction comes through.
To be made better we need a timer which will wait for one second after the
last block before sealing a new one - better still would be to cooperatively
interleave blocks with other sealing nodes.
* Add tests.
* Fix minor issues from repotting.
* Address grumbles.
2016-05-03 17:23:53 +02:00
arkpar
008d009e3e
Version 1.2
2016-05-02 15:02:26 +02:00
Tomasz Drwięga
e2465b1eab
Bumping clippy & fixing warnings ( #1024 )
...
* Bumping clippy
* Fixing warnings found by clippy
2016-05-02 13:13:12 +02:00
Marek Kotewicz
7c2adc4137
Tracedb interface && cli ( #997 )
...
* traces cli and jsonrpc api
* missing if in docs
* adding traces to modules
2016-05-02 12:17:30 +02:00
Marek Kotewicz
66477a9476
Core tracedb functionality. ( #996 )
...
* fixed encoding 0u8
* simplified if else stmt
* tracedb core
* more comprehensive tracedb tests
* fixed minor review issues
* addresses filter
* fixed typos
* replace malformed with corrupted
* trace switch
* db key is generic and can be made smaller
* smaller tracedb keys
* tracedb version
* fixed ignored tests
* rename Tracedb -> TraceDB
* fixed typos
* proves
* trace only top level calls to builtins to avoid DDoS attacks
* fixed tracedb config switches
* fix comments fat replaced with trace
* vector-addressing scheme for localized traces
* removed comments
* removed first, redundant 0 from trace address
* updated db.trace method
* additional tests for tracedb.trace()
2016-04-30 16:41:24 +01:00
Arkadiy Paronyan
8f7624f5cb
Support 'pending' block in RPC ( #1007 )
...
* Support `pending` block in RPC
* Forward calls from miner to client in case no pending block is available
2016-04-28 20:47:44 +01:00
Gav Wood
242b986196
Fix spelling of "omitted"
2016-04-24 22:16:34 +01:00
Gav Wood
0810de4415
Fix spelling of "omitted"
2016-04-24 22:16:06 +01:00
debris
d5555de1b9
import route contains ommited blocks
2016-04-24 19:40:04 +02:00
Arkadiy Paronyan
f2a5630fdf
Merge pull request #972 from ethcore/db_writer
...
querying extras separated to its own module
2016-04-21 11:26:13 +02:00
Arkadiy Paronyan
e47af7f745
Merge pull request #966 from ethcore/from-bytes-extend
...
Addressing binary serialization for db types
2016-04-20 18:17:00 +02:00
debris
273e4d6f32
removed db/module, a single file is enoguh
2016-04-20 15:53:01 +02:00
debris
bffa1e1ec9
simplified writing and reading from database with cache
2016-04-20 15:45:42 +02:00
debris
9ce9fd390d
Merge branch 'master' of github.com:ethcore/parity into db_writer
2016-04-20 13:45:53 +02:00
Marek Kotewicz
225a5ee825
removed redundant unwraps ( #935 )
...
* removed redundant unwraps
* fixed compilation error, removed warnings
* fixed transaction queue merge conflict
* fixed failing ethminer doc test
2016-04-19 10:35:32 -07:00
Tomasz Drwięga
caf4d179a2
Even more detailed errors for transaction queue ( #969 )
...
* Even more detailed errors for transaction queue
* Small rename
* Removing macros in favour of functions+try!()
2016-04-18 10:34:59 -07:00
debris
62455a4094
separated from blockchain and made reusable db reader and batch writer
2016-04-18 18:15:03 +02:00
debris
524a495ffd
temporary fix of panic in blockchain garbage collection
2016-04-18 15:18:14 +02:00
Nikolay Volf
3138584320
generalized fixedsized structs with macro
2016-04-17 18:52:44 +03:00
Nikolay Volf
17f26ad588
finished for BlockLocation
2016-04-17 18:30:42 +03:00
Nikolay Volf
bd2149406d
from/to for BlockLocation
2016-04-17 18:18:25 +03:00
debris
5c4086bf8e
log errors when db queries fails
2016-04-15 19:32:30 +02:00
debris
295efdba55
refactored blockchain extras keys building
2016-04-15 18:54:35 +02:00
Tomasz Drwięga
00372cf747
Removing a transaction from queue now removes all from this sender with lower nonces. ( #950 )
...
* Changing to wipe-out all transactions from particular sender lower then given nonce.
* Changing given nonce to be client_nonce
* Fixing test_client to support proper nonces when transactions are added to blockchain
* Fixing logic for transactions from new blocks in chain
2016-04-14 22:38:23 -07:00
Gav Wood
32ca8066e9
Tracing and docs. ( #952 )
2016-04-13 11:26:41 -07:00
Arkadiy Paronyan
c7d6444ae0
Merge pull request #936 from ethcore/bumping-clippy
...
Bumping clippy and fixing warnings.
2016-04-12 16:49:30 +02:00
Nikolay Volf
bdb35cfaed
Merge pull request #927 from ethcore/pruning_auto
...
Pruning auto
2016-04-12 16:00:39 +03:00
Tomasz Drwięga
7fbe3f4721
Fixing clippy warnings
2016-04-12 13:54:34 +02:00
Tomasz Drwięga
6b03a3218c
Bumping clippy version
2016-04-12 13:51:39 +02:00
Gav Wood
fa95419c27
--pruning=auto option.
2016-04-11 18:42:50 -07:00
debris
4bfbb56701
added explanatory comments
2016-04-11 11:36:39 +02:00
debris
610251fdf7
Merge branch 'master' into tracing
2016-04-11 11:35:07 +02:00
Marek Kotewicz
373284ca0a
spec loading cleanup ( #858 )
...
* spec loading cleanup in progress
* changed engine field in json spec
* refactored engine params
* polishing spec loading refactor
* fixed compiling json tests
* fixed compiling parity
* removed warnings
* removed commented out code
* fixed failing test
* bringing back removed TODO in spec.
2016-04-09 10:20:35 -07:00
Tomasz Drwięga
04d5b5cbe6
Merge branch 'master' into h256
...
Conflicts:
ethcore/src/account.rs
2016-04-09 11:27:19 +02:00
Gav Wood
0ef6de930f
Update account.rs
2016-04-08 17:42:17 -07:00
debris
fcf7f392f0
fixed failing tests
2016-04-08 11:48:37 +02:00
debris
64294853cc
separated tracing logic to its own trait
2016-04-08 01:50:55 +02:00
Arkadiy Paronyan
123a0f0b40
Merge pull request #893 from ethcore/closing
...
Additional logging and friendlier error messages
2016-04-07 12:36:19 +02:00
Tomasz Drwięga
730d60e5e4
Avoid signalling readiness when app is about to be closed
2016-04-07 00:20:03 +02:00
Tomasz Drwięga
d4f0902968
Tracing shutdown and changed order of IoManager shutdown process
2016-04-06 23:45:19 +02:00
debris
09beeaba8e
trace result is a structure;
2016-04-06 21:23:52 +02:00
Nikolay Volf
b671cbd71f
Merge pull request #892 from ethcore/eth-call-fix
...
Fixed eth_call nonce and gas handling
2016-04-06 15:54:58 +04:00
arkpar
9b7c48110a
Fixed eth_call nonce and gas handling
2016-04-06 13:05:58 +02:00
Tomasz Drwięga
405a6bfc04
Removing match on constant
2016-04-06 10:58:51 +02:00
Tomasz Drwięga
1105b74174
Fixing match on constant
2016-04-06 10:58:07 +02:00
Tomasz Drwięga
85da55a537
Fixing warnings
2016-04-06 10:55:40 +02:00
Tomasz Drwięga
e8fa429438
Bumping clippy
2016-04-06 09:53:56 +02:00
arkpar
67d04c5952
Fixed bootnode URL and error message
2016-04-02 19:01:41 +02:00
Arkadiy Paronyan
0f7e3cdfe2
Merge pull request #866 from rphmeier/unused_mut
...
Remove unused mut
2016-04-01 16:19:12 +02:00
Robert Habermeier
12f4b5ea8a
Remove unused mut
2016-04-01 09:33:12 -04:00
Marek Kotewicz
71dd9fb2df
Merge pull request #864 from ethcore/fixed_855
...
fixed #855
2016-04-01 11:55:38 +02:00
debris
0681346201
fixed #855
2016-04-01 11:26:14 +02:00
debris
239e2c82e6
simplified trace from functions, removed clippy warnings
2016-04-01 03:08:42 +02:00
debris
94ec102d67
fixed homestead transition block number in transaction json-tests
2016-03-29 14:34:03 +02:00
debris
3d578bec76
removed unused code
2016-03-29 13:34:12 +02:00
debris
3a2f5954d7
refactored loading json tests
2016-03-29 13:01:39 +02:00
Gav Wood
d7c377dea6
Fix build.
2016-03-28 10:12:15 +02:00
Gav Wood
75b23aac02
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-28 09:44:34 +02:00
Gav Wood
ad86feb667
Rename spawn -> boxed_clone
2016-03-28 09:42:50 +02:00
Arkadiy Paronyan
2178f09eec
Merge pull request #841 from peterjoel/ethcompute
...
Caching for computing seed hashes (#541 )
2016-03-28 01:43:45 +02:00
Gav Wood
d150529730
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-27 22:16:24 +02:00
Peter
9655ce8dbf
Caching for computing seed hashes ( #541 )
...
Code review changes
2016-03-27 20:42:24 +01:00
Gav Wood
7c5b171e3f
Differentiate between ClosedBlock (can be reopened) and LockedBlock (cannot).
...
`ClosedBlock`s still keep the pre-finalised state (i.e. state after the last transaction).
`LockedBlock`s do not. New mining algo needs to reopen these `ClosedBlock`s, however enactment
system does not (and `ClosedBlock`s are slower & more hungry), hence the distinction.
2016-03-27 20:33:23 +02:00
Gav Wood
8bb49f05d0
Merge pull request #817 from ethcore/state_tests
...
refactored loading of state tests
2016-03-27 15:35:16 +02:00
Gav Wood
43e1d89067
Fix State cloning.
2016-03-27 14:35:27 +02:00
Gav Wood
fc211f0934
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-26 23:35:51 +01:00
Gav Wood
64819981f2
Merge branch 'master' into bettermining
2016-03-26 13:45:38 +01:00
Gav Wood
845fa97da1
Fix eth_call so it doesn't need the secret of the sender.
2016-03-26 13:30:02 +01:00
debris
cdcbc56255
refactored state tests
2016-03-25 13:08:57 +01:00
Gav Wood
100e6fa88f
Merge pull request #803 from ethcore/executive_tests
...
refactored loading of execution tests
2016-03-25 10:43:33 +00:00
debris
e1b841b526
Merge branch 'master' of github.com:ethcore/parity into executive_tests
2016-03-25 10:40:21 +01:00
Marek Kotewicz
2c2e8ef154
Merge pull request #805 from ethcore/rustfmt
...
Rustfmt.toml
2016-03-25 10:39:59 +01:00
Gav Wood
d50c9f9fac
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-24 23:10:54 +01:00
Gav Wood
830ef7ddfc
New mining framework.
...
Fixes #756 .
2016-03-24 23:03:22 +01:00
arkpar
416040f313
Fixed test
2016-03-24 17:09:41 +01:00
debris
a7ce6fca9e
fixed checking if state is correct in executive tests
2016-03-24 16:40:52 +01:00
debris
1aa34e9dd4
fixed loading of executive tests, unrevealed failing consensus tests
2016-03-24 01:25:59 +01:00
Gav Wood
4e013ba2fc
Refactor pending_block to always return invalid txs and sometimes a block.
...
Docuemnt SealingWork properly.
2016-03-23 16:28:02 +00:00
Tomasz Drwięga
a0db1d5416
Merge branch 'master' into rustfmt
...
Conflicts:
ethash/src/sizes.rs
util/src/uint.rs
2016-03-23 16:55:54 +01:00
Gav Wood
97449afbb9
Merge branch 'master' into bettermining
2016-03-23 14:18:16 +01:00
Gav Wood
d7fb464fa9
Merge pull request #798 from ethcore/eth_rpc
...
another batch of rpc improvements
2016-03-22 18:38:55 +01:00
debris
0cdac6de3c
uncle
2016-03-22 16:07:42 +01:00
Gav Wood
a134f939e9
Non-functioning draft of code.
2016-03-22 13:05:18 +01:00
Gav Wood
2ab9d02158
Fix test.
2016-03-21 12:39:13 +01:00
Gav Wood
8906b78b07
Revert break.
2016-03-21 11:56:11 +01:00
Gav Wood
205f062433
Merge branch 'master' into tracing
2016-03-21 11:54:50 +01:00
Gav Wood
8ed8652296
Reuse should_Trace.
2016-03-21 11:53:52 +01:00
debris
068c0f3782
test for eth_getTransactionReceipt
2016-03-21 11:47:50 +01:00
Gav Wood
c4d45e0cf0
Trace basic calls! And tests.
2016-03-21 11:24:03 +01:00
Gav Wood
7051529880
Merge pull request #788 from ethcore/test-fix
...
Auto detect available port (with fixed test)
2016-03-20 19:43:57 +01:00
Gav Wood
74f7f3f016
Merge pull request #792 from ethcore/eth_getTransactionReceipt
...
eth_getTransactionReceipt
2016-03-20 19:43:49 +01:00
Gav Wood
72b604b8e8
Avoid tracing DELEGATECALL and CALLCODE. Plus tests for it.
2016-03-20 19:20:37 +01:00
debris
52e9801721
client implementation of transaction receipt
2016-03-20 18:44:57 +01:00
Gav Wood
c2933e005a
Tests for not tracking builtin calls.
2016-03-20 17:51:22 +01:00
debris
2a3e695f8a
LocalizedReceipt
2016-03-20 17:29:39 +01:00
Gav Wood
b4c2505eab
Merge branch 'master' into tracing
2016-03-20 16:30:59 +01:00
Gav Wood
dcb23de65c
Merge pull request #771 from ethcore/tx_queue_timeout
...
Disable preparing work package if miners don't ask for it.
2016-03-20 16:29:13 +01:00
Gav Wood
6ac350a996
Tests for lots more configurations.
2016-03-20 16:24:19 +01:00
arkpar
6e9ea76aab
Auto detect available port
2016-03-20 16:21:49 +01:00
Marek Kotewicz
fbb166f3ce
Merge pull request #787 from ethcore/eth_estimateGas
...
eth_estimateGas
2016-03-20 15:13:22 +01:00
Tomasz Drwięga
40fc3dc060
Merge branch 'master' into tx_queue_timeout
2016-03-20 12:16:57 +01:00
Arkadiy Paronyan
2ec40604d9
Revert "Auto detect available port"
2016-03-20 12:12:58 +01:00
Gav Wood
5afd32dd84
Minor tweaks.
2016-03-20 12:09:55 +01:00
Gav Wood
d2d5806e9b
Test for failed create transactions, failed actions are logged as such.
2016-03-20 12:04:31 +01:00
debris
aa47d944e1
implemented rpc eth_estimateGas method, added tests for rpc eth_call and eth_estimateGas
2016-03-20 11:34:19 +01:00
Gav Wood
f75fb6a59f
Create transaction tracing test.
2016-03-20 11:33:36 +01:00
debris
83d08ba399
Merge branch 'master' of github.com:ethcore/parity into eth_call
2016-03-20 10:29:43 +01:00
Marek Kotewicz
6feb503c67
Merge pull request #777 from ethcore/call
...
added output to execution result
2016-03-20 10:28:28 +01:00
Gav Wood
004cd00f13
Merge pull request #782 from ethcore/test-fix
...
Auto detect available port
2016-03-20 10:23:55 +01:00
debris
fef8237701
fixes after merge
2016-03-20 10:07:50 +01:00
debris
46bfed6750
Merge branch 'call' into eth_call
2016-03-20 10:05:22 +01:00
debris
9fb19e6dd0
Merge branch 'master' of github.com:ethcore/parity into call
2016-03-20 10:04:27 +01:00
Gav Wood
0cef2cfc46
Merge pull request #778 from ethcore/json_tests_refactor
...
use ethjson module to load chain json tests
2016-03-20 09:51:36 +01:00
Gav Wood
c729f9d9ca
Merge pull request #772 from ethcore/tracing
...
Tracing implemented.
2016-03-19 23:52:23 +01:00
Gav Wood
2cb1937e1e
Move code to right module.
2016-03-19 22:37:11 +01:00
Gav Wood
7bba745f8b
Fix JSON test again.
2016-03-19 22:14:16 +01:00
Gav Wood
bc6a892f2b
Test outer create.
2016-03-19 22:12:52 +01:00
debris
9a227dce46
Merge branch 'json_tests_refactor' into eth_call
2016-03-19 21:42:10 +01:00
debris
521f2a1433
implemented eth_call
2016-03-19 21:37:11 +01:00
Gav Wood
718feeccbc
Fix for JSON tests.
2016-03-19 21:05:18 +01:00
Gav Wood
a2fc006ee5
First test.
2016-03-19 21:02:44 +01:00
arkpar
da027e93cf
Auto detect available port
2016-03-19 21:00:05 +01:00
Gav Wood
2d55e08b41
Fix for jsontests,
2016-03-19 19:06:13 +01:00
Gav Wood
ab9b8c7bf3
Output data (code) for creates.
2016-03-19 18:46:41 +01:00
debris
24cb15ef2e
fixed missing import
2016-03-19 18:38:02 +01:00
Gav Wood
7d93fa2533
Output stored for calls.
2016-03-19 18:37:55 +01:00
debris
2face3f938
use ethjson module to load chain json tests
2016-03-19 18:13:14 +01:00
Gav Wood
bd7cd68c32
Track depth.
2016-03-19 14:35:09 +01:00
debris
bc5df9c908
added output to execution result
2016-03-19 14:29:09 +01:00
Gav Wood
152f132b7b
Fix JSONRPC test utils.
2016-03-19 14:10:32 +01:00
Gav Wood
66837452c2
Expose tracing all the way to BlockChain; now it's up to blockchain to integrate.
2016-03-19 13:37:47 +01:00
Gav Wood
203438fb42
Fix tests.
2016-03-19 13:07:49 +01:00
Gav Wood
1bfcbca8af
Add doumentation, make tracing optional and expose at OpenBlock level.
2016-03-19 12:54:34 +01:00
debris
906e9b395e
fixed parsing blockchain file, added default account to rpc tests
2016-03-19 11:02:44 +01:00
Tomasz Drwięga
48d8d1c628
Merge branch 'master' into tx_queue_timeout
...
Conflicts:
miner/src/miner.rs
2016-03-19 09:26:05 +01:00
Gav Wood
1d822132f0
Merge pull request #757 from ethcore/ethrpc_test
...
rpctest executable
2016-03-19 08:45:13 +01:00
Gav Wood
d6f94c4ad7
Fix test and first part of optionality.
2016-03-19 08:31:19 +01:00
debris
a76aad2e12
fixed invalid json files
2016-03-18 23:56:51 +01:00
Gav Wood
bd338a5741
Tracing implemented.
...
TODO:
- make it optional;
- track output;
- usher through to level higher than ExecutionResult.
2016-03-18 23:49:12 +01:00
debris
79aa8570d0
pricing { linear: {} }
2016-03-18 22:54:36 +01:00
debris
e4ec80941c
fixed failing builin test
2016-03-18 20:17:25 +01:00
Tomasz Drwięga
f8dd1a6354
Merge branch 'master' into tx_queue_timeout
...
Conflicts:
ethcore/src/client/test_client.rs
miner/src/miner.rs
2016-03-18 19:36:32 +01:00
debris
839cecd2da
fixed od builting parsing
2016-03-18 19:31:31 +01:00
Tomasz Drwięga
62c32eb288
Merge branch 'master' into tx_queue_live
...
Conflicts:
miner/src/miner.rs
2016-03-18 19:31:14 +01:00
debris
3b8c6a1ab2
linear -> pricing
2016-03-18 19:08:57 +01:00
debris
757f0c9bc4
Merge branch 'master' of github.com:ethcore/parity into ethrpc_test
2016-03-18 18:05:29 +01:00
Gav Wood
2309e19fd9
Merge pull request #760 from ethcore/tx_queue_gas_limit
...
Avoid importing transactions with gas above 1.1*block_gas_limit to transaction queue
2016-03-18 18:05:26 +01:00
Gav Wood
a1fb0619bb
Merge pull request #752 from ethcore/tx_queue_invalid
...
Removing transactions that failed to be pushed to block.
2016-03-18 18:03:11 +01:00
Tomasz Drwięga
7d77324765
BlockGasLimit taken from push_transaction result
2016-03-18 14:22:50 +01:00
Tomasz Drwięga
0dc1ddef9a
Flipping sealing_enabled flag after no requests for sealing_block for some time
2016-03-18 13:59:11 +01:00
Tomasz Drwięga
58bb5e967a
Merge branch 'master' into tx_queue_gas_limit
...
Conflicts:
miner/src/transaction_queue.rs
2016-03-18 12:25:36 +01:00
Tomasz Drwięga
7fb365634a
Updating gas_limit in test_client generated blocks
2016-03-18 10:36:01 +01:00
Tomasz Drwięga
e58ec31e20
Fixing warnings
2016-03-18 10:14:19 +01:00
Tomasz Drwięga
338e5fadb9
Bumping clippy
2016-03-18 10:08:47 +01:00
Tomasz Drwięga
48c72a168c
Merge branch 'master' into tx_queue_invalid
2016-03-18 09:44:31 +01:00
Tomasz Drwięga
7ae60056b2
Common error handling
2016-03-17 16:13:00 +01:00
debris
a3f6d36018
Merge branch 'master' of github.com:ethcore/parity into ethrpc_test
2016-03-17 15:52:09 +01:00
debris
c695b83e52
new way of loading PodState
2016-03-17 15:51:40 +01:00
Tomasz Drwięga
309af743e0
Ignoring transactions slightly above gas_limit
2016-03-17 15:23:25 +01:00
debris
1f03ae54d6
moved ethcores spec to its own module, added genesis
2016-03-17 15:15:10 +01:00
Tomasz Drwięga
c4021a77ca
Stop adding transactions right after we know that no other will make it to block.
2016-03-17 14:40:40 +01:00
debris
0621da8535
ethjson spec submodule
2016-03-17 13:41:11 +01:00
Tomasz Drwięga
c382fa7eab
Removing invalid transactions from queue
2016-03-17 12:29:55 +01:00
Tomasz Drwięga
b1557b547b
Reverting check if block queue is empty
2016-03-17 11:47:41 +01:00
Tomasz Drwięga
fdba8de600
Validating senders balance before importing transaction to queue
2016-03-16 10:45:55 +01:00
Tomasz Drwięga
be32e79a7a
Merge branch 'master' into tx_queue
2016-03-16 09:28:37 +01:00
Tomasz Drwięga
188e325b20
Importing transactions from hashset. Notifying about every block
2016-03-15 23:01:36 +01:00
arkpar
9dea31031c
Enact block with uncles test
2016-03-15 14:35:45 +01:00
Arkadiy Paronyan
e5f54966af
Merge pull request #734 from ethcore/fixblockchainrace
...
Don't change best block until extras is committed.
2016-03-15 11:56:49 +01:00
Gav Wood
59d0d2df9a
Don't change best block until extras is committed.
2016-03-15 10:59:58 +01:00
Gav Wood
d6d0f8d4eb
Merge pull request #725 from ethcore/unclesminingfix
...
Add RLP, not a data item.
2016-03-14 20:20:45 +01:00
Gav Wood
7ba396b8d3
Merge pull request #687 from ethcore/pv63-receipts
...
PV63 receipts response
2016-03-14 20:18:10 +01:00
Gav Wood
7628df6fe6
Merge pull request #723 from ethcore/rpc_tests
...
another batch of rpc tests
2016-03-14 19:18:08 +01:00
Gav Wood
97051cb949
Add RLP, not a data item.
2016-03-14 18:20:24 +01:00
Nikolay Volf
8cdb013f9f
Merge branch 'master' into pv63-receipts
...
Conflicts:
ethcore/src/client/client.rs
2016-03-14 17:36:51 +01:00
debris
9b241faf01
uncle method mock
2016-03-14 17:01:29 +01:00
debris
0de73609d2
eth_hashrate && eth_submitHashrate tests
2016-03-14 14:18:29 +01:00
Arkadiy Paronyan
38de95cc3b
Merge pull request #719 from ethcore/targetgaslimit
...
Allow configuration of target gas limit.
2016-03-14 14:04:09 +01:00
Nikolay Volf
8f4323f3bb
Merge branch 'master' into pv63-receipts
...
Conflicts:
ethcore/src/client/test_client.rs
2016-03-14 11:06:28 +01:00
Nikolay Volf
3eb08b0d61
fix tests and deuncommented
2016-03-14 10:53:37 +01:00
Gav Wood
dc8b9c3205
Fix build.
2016-03-14 10:48:32 +01:00
Nikolay Volf
829ed4d0a6
commented empty slice/vec comparison
2016-03-14 10:47:22 +01:00
Gav Wood
f6b7884a1d
Allow configuration of target gas limit.
2016-03-14 02:00:22 +01:00
arkpar
9e7ff2c00e
Version 1.1
2016-03-14 01:00:17 +01:00
Gav Wood
5c964694b4
Merge pull request #706 from ethcore/fix-accountdb
...
Check for NULL_RLP in AccountDB
2016-03-13 22:29:19 +01:00
arkpar
420f473f90
Check for NULL_RLP in AccountDB
2016-03-13 21:28:57 +01:00
Gav Wood
b4f7f220f1
Merge remote-tracking branch 'origin/master' into merge_ethminer
2016-03-13 16:35:52 +01:00
Nikolay Volf
809c239ff8
fix rev
2016-03-13 15:59:25 +01:00
Gav Wood
76696e3b49
Minor build fixes.
2016-03-13 15:36:03 +01:00
Gav Wood
08b9cc2c41
Merge changes from #674 into branch.
2016-03-13 15:29:55 +01:00
Gav Wood
02f43f2e8c
Merge branch 'ethminer_crate'
2016-03-13 15:00:47 +01:00
debris
00820c342a
fixed eth_getCode and added tests for it
2016-03-13 14:45:39 +01:00
debris
487ba9b08a
implemented eth_storageAt rpc method, added more tests for rpc
2016-03-13 12:09:30 +01:00
Marek Kotewicz
1f8e0f86ac
Merge pull request #688 from ethcore/updating_clippy
...
Updating clippy
2016-03-13 10:07:44 +01:00
debris
e09de6ea3d
added missing eth_getBalance rpc method and tests for it
2016-03-12 19:51:24 +01:00
Nikolay Volf
0684abd345
fixed to return receipts grouped by requested block
2016-03-12 19:23:17 +01:00
Nikolay Volf
bd9cfb4ee5
Merge branch 'pv63-state' into pv63-receipts
2016-03-12 18:52:37 +01:00
Nikolay Volf
ade8b8356b
Merge branch 'master' into pv63-state
...
Conflicts:
ethcore/src/client/client.rs
2016-03-12 18:09:45 +01:00
Tomasz Drwięga
19b6c74675
Two more warnings
2016-03-12 13:39:17 +01:00
Tomasz Drwięga
65dadcc2a2
Adding todos
2016-03-12 10:44:24 +01:00
Tomasz Drwięga
d0f7555348
Merge branch 'master' into updating_clippy
...
Conflicts:
util/src/journaldb/archivedb.rs
2016-03-12 10:40:22 +01:00
Tomasz Drwięga
4b6e1dd4d2
Fixing warnings
2016-03-12 10:25:51 +01:00
Tomasz Drwięga
3ea52c2324
Merge branch 'master' into ethminer_crate
...
Conflicts:
parity/main.rs
2016-03-12 10:22:43 +01:00
Tomasz Drwięga
e10457d235
Bumping clippy
2016-03-12 10:06:50 +01:00
Gav Wood
88e23fcb9a
Merge pull request #634 from ethcore/jdb_option2
...
JournalDB with in-memory overlay (option2)
2016-03-12 10:01:17 +01:00
Tomasz Drwięga
aebc91d96f
Merge branch 'master' into ethminer_crate
...
Conflicts:
Cargo.toml
rpc/Cargo.toml
sync/Cargo.toml
2016-03-12 09:50:18 +01:00
Nikolay Volf
fb51ac0d95
blockchain receipts rlp generation
2016-03-11 23:33:01 +01:00
arkpar
896ba57555
Merge branch 'master' of github.com:ethcore/parity into jdb_option2
2016-03-11 22:43:59 +01:00
Nikolay Volf
19f23f8445
increasing history to be useful for geth fast sync
2016-03-11 23:37:47 +04:00
Nikolay Volf
349584772b
redundant lines
2016-03-11 23:34:18 +04:00
Nikolay Volf
da6f6d57cd
state data query to client
2016-03-11 23:24:44 +04:00
Nikolay Volf
e970dd4530
client state data func
2016-03-11 23:09:14 +04:00
Tomasz Drwięga
c3a79c1478
Merge branch 'master' into ethminer_crate
...
Conflicts:
ethcore/src/client/client.rs
parity/main.rs
sync/src/chain.rs
sync/src/lib.rs
2016-03-11 19:22:40 +01:00
Tomasz Drwięga
f724cab92d
Merge branch 'master' into updating_clippy
...
Conflicts:
ethcore/src/lib.rs
sync/src/chain.rs
sync/src/lib.rs
util/src/keys/store.rs
util/src/lib.rs
2016-03-11 19:17:09 +01:00
Nikolay Volf
8d67316ece
Merge branch 'master' into reorgjdb
...
Conflicts:
parity/main.rs
2016-03-11 17:41:04 +04:00
Gav Wood
8ae103087d
Fixups for new API.
2016-03-11 15:07:43 +01:00
Gav Wood
cfe3b07130
Merge branch 'boxjdb' into reorgjdb
2016-03-11 15:03:43 +01:00
Gav Wood
5499f4530c
Fix tests.
2016-03-11 15:01:15 +01:00
Gav Wood
38d470f3bc
Reorganise command line options into more general engine.
2016-03-11 14:45:19 +01:00
Tomasz Drwięga
03da6c991f
Merge branch 'master' into ethminer_crate
...
Conflicts:
Cargo.lock
Cargo.toml
ethcore/src/client/client.rs
hook.sh
parity/main.rs
rpc/Cargo.toml
rpc/src/v1/impls/eth.rs
sync/Cargo.toml
sync/src/tests/helpers.rs
2016-03-11 14:37:07 +01:00
Gav Wood
b25551be7b
Merge pull request #671 from ethcore/clippy_hook
...
Removing running clippy by default on nightly.
2016-03-11 14:03:16 +01:00
Gav Wood
4771fdf0fb
Rearrange journaldb infrastructure.
2016-03-11 13:50:39 +01:00
Gav Wood
2a856a13f0
Obvious typo fix.
2016-03-11 13:21:53 +01:00
Gav Wood
d71c5d4c17
Place Sync/Send in trait.
2016-03-11 13:19:10 +01:00
Gav Wood
e461916f5a
Merge remote-tracking branch 'origin/master' into boxjdb
2016-03-11 12:56:33 +01:00
Gav Wood
756f964130
JournalDB -> Box<JournalDB>, and it's a trait.
2016-03-11 12:54:48 +01:00
arkpar
8f54c24e47
Merged changes from jdb_option1, keep LATEST_ERA from decreasing
2016-03-11 11:52:11 +01:00
debris
ebd2a92267
Merge branch 'master' of github.com:ethcore/parity into client_submodules
2016-03-11 11:17:08 +01:00
Tomasz Drwięga
d84e008e00
Removing superflous check for nightly
2016-03-11 11:16:49 +01:00
Marek Kotewicz
fd39975cf0
Merge pull request #587 from ethcore/rpc-signing-extend
...
Rpc transaction signing
2016-03-11 11:14:17 +01:00
debris
bfac5f9238
Merge branch 'master' of github.com:ethcore/parity into client_submodules
2016-03-11 11:03:52 +01:00
Tomasz Drwięga
8709dd28f8
Fixing clippy warnings
2016-03-11 10:58:51 +01:00
Tomasz Drwięga
3a4a7ac822
Bumping clippy version
2016-03-11 10:35:26 +01:00
debris
a6d268db16
fixed missing reexport
2016-03-11 10:30:13 +01:00
debris
87dd42f7bc
Merge branch 'master' of github.com:ethcore/parity into client_submodules
2016-03-10 21:17:58 +01:00
arkpar
8785bd37e8
Merge branch 'master' of github.com:ethcore/parity into jdb_option2
2016-03-10 21:06:21 +01:00
arkpar
5f37f6edb4
Correct cache update order
2016-03-10 21:01:17 +01:00
debris
c5c8851b50
moved TestBlockChainClient to ethcore
2016-03-10 20:27:50 +01:00
Nikolay Volf
47aacbb819
work is in progress
2016-03-10 21:56:02 +04:00
arkpar
a6b5aad8c9
Merge branch 'master' of github.com:ethcore/parity into thread
2016-03-10 18:40:17 +01:00
Tomasz Drwięga
92022ac14d
Merge branch 'master' into ethminer_crate
...
Conflicts:
ethcore/src/client.rs
parity/main.rs
rpc/src/v1/impls/eth.rs
sync/src/chain.rs
2016-03-10 16:38:58 +01:00
Gav Wood
8dd41bfe0c
Merge pull request #641 from ethcore/jsonrpc_interfaces
...
jsonrpc uses client and sync interfaces
2016-03-10 15:44:05 +01:00
Tomasz Drwięga
0535fb30c6
Merge branch 'master' into ethminer_crate
...
Conflicts:
sync/src/lib.rs
2016-03-10 14:03:09 +01:00
Gav Wood
f708d36fad
Merge pull request #651 from ethcore/tx_queue_integration
...
Tx_queue_docs -> To master
2016-03-10 13:19:40 +01:00
Gav Wood
16e12b1ae5
Merge pull request #645 from ethcore/import_route
...
blockchain import_route
2016-03-10 13:14:56 +01:00
Tomasz Drwięga
2e72173620
Merge branch 'master' into ethminer_crate
...
Conflicts:
Cargo.lock
Cargo.toml
hook.sh
miner/src/transaction_queue.rs
rpc/Cargo.toml
sync/Cargo.toml
sync/src/chain.rs
2016-03-10 12:25:36 +01:00
debris
6681aaf76a
split client into few submodules
2016-03-10 11:32:10 +01:00
Tomasz Drwięga
d4e7eafede
Merge branch 'master' into tx_queue_integration
...
Conflicts:
sync/src/transaction_queue.rs
2016-03-10 11:23:39 +01:00
Tomasz Drwięga
6d0578e19c
Additional explanation for ordering of commit/insert_block
2016-03-10 11:16:54 +01:00
Gav Wood
249a89fc2d
Merge pull request #627 from ethcore/clippy-dev
...
`dev` feature enabled when compiling without `--release`
2016-03-10 11:05:56 +01:00
debris
190a2c3b35
Merge branch 'master' of github.com:ethcore/parity into import_route
2016-03-10 10:17:44 +01:00
debris
0a7cda09ff
changed route name to enacted and retracted
2016-03-10 10:17:17 +01:00
Tomasz Drwięga
2f9b955210
Merge branch 'master' into ethminer_crate
...
Conflicts:
parity/main.rs
2016-03-10 09:39:26 +01:00
Tomasz Drwięga
c3803807a9
Merge pull request #648 from ethcore/bq-fix
...
Don't call mark_as_bad needlessly
2016-03-10 09:28:26 +01:00
debris
4750d2f667
Merge branch 'master' into import_route
2016-03-10 01:04:05 +01:00
Gav Wood
50c8d7f633
Merge pull request #607 from ethcore/tx_queue_integration
...
Transaction Queue Integration
2016-03-10 00:45:07 +01:00
arkpar
84a741d0f9
Don't call mark_as_bad needlessly
2016-03-10 00:21:07 +01:00
debris
f397fb210f
fixed typo
2016-03-10 00:11:35 +01:00
Nikolay Volf
0f056f3abb
Merge branch 'master' into clippy-dev
...
Conflicts:
Cargo.toml
2016-03-10 02:45:53 +04:00
debris
8b042ac875
blockchain import_route
2016-03-09 21:55:23 +01:00
Nikolay Volf
8a83e27d6a
cfg-test for noop verifier
2016-03-09 22:55:41 +04:00
debris
082a4d9078
jsonrpc uses client and sync interfaces as a preparetion for jsonrpc tests
2016-03-09 17:31:43 +01:00
debris
3655354980
Merge branch 'master' into jsonrpc_panic_handle
2016-03-09 13:46:08 +01:00
Tomasz Drwięga
5db84c3233
Adding transactions to block
2016-03-09 13:09:34 +01:00
debris
a1640dcf72
jsonrpc panic handle
2016-03-09 11:38:53 +01:00
arkpar
ca7d3b91d0
Merge branch 'master' of github.com:ethcore/parity into jdb_option2
2016-03-08 18:35:25 +01:00
Tomasz Drwięga
9acb36af87
Fixing tests compilation. Removing ethminer dependency on client
2016-03-08 16:23:32 +01:00
Tomasz Drwięga
99a6802b61
Moving block sealing and transaction_queue to separate create
2016-03-08 15:46:44 +01:00
Tomasz Drwięga
f973610b38
Merge branch 'master' into tx_queue_integration
2016-03-08 10:15:11 +01:00
arkpar
57485a73ec
Merge branch 'master' into thread
2016-03-07 15:10:15 +01:00
Tomasz Drwięga
ab42ec8c81
Removing unneeded lifetime
2016-03-07 14:40:39 +01:00
Tomasz Drwięga
cbc2c0cf0c
Fixing clippy warnings. When building on nightly it is required to enable clippy
2016-03-07 14:34:17 +01:00
Gav Wood
ec3698066b
Normal CLI options with geth.
...
Support node identity.
Support fine-grained JSONRPC API enabling.
2016-03-07 12:21:11 +01:00
Tomasz Drwięga
b0ac103900
Merge branch 'master' into tx_queue_integration
2016-03-07 09:54:07 +01:00
Gav Wood
bc2fb14b5d
Add memory usage reports.
...
Update to be similar to master.
2016-03-06 22:39:04 +01:00
arkpar
d77d9ad9d8
JournalDB with history overlay
2016-03-06 19:57:00 +01:00
Tomasz Drwięga
e91de78528
Renaming back bad as retracted
2016-03-06 11:12:02 +01:00
Tomasz Drwięga
cc3839ae57
Revert "Revert "Transaction Queue integration""
...
This reverts commit d330f0b7b7
.
Conflicts:
sync/src/transaction_queue.rs
2016-03-05 16:46:04 +01:00
Gav Wood
d330f0b7b7
Revert "Transaction Queue integration"
2016-03-05 12:53:54 +01:00
Nikolay Volf
c4fe307b06
Merge pull request #595 from ethcore/tx_queue_integration
...
Transaction Queue integration
2016-03-05 14:21:54 +03:00
Tomasz Drwięga
b9a6a70ced
Renaming bad blocks as retracted
2016-03-05 11:37:19 +01:00
debris
5ad5773014
verifier improvements
2016-03-05 10:45:05 +01:00
Gav Wood
504e74a9ad
Merge pull request #578 from ethcore/finduncles
...
Uncle inclusion in block authoring.
2016-03-05 09:47:51 +01:00
Tomasz Drwięga
77d526fd0b
Merge branch 'master' into tx_queue_integration
...
Conflicts:
ethcore/src/client.rs
sync/src/tests/helpers.rs
2016-03-05 00:57:45 +01:00
Gav Wood
e11b74e8d2
Merge pull request #589 from ethcore/disablejournaldb
...
JournalDB can now operate in "archive" mode
2016-03-04 23:51:21 +01:00
Gav Wood
8f00056171
Avoid sealing unnecessarily.
2016-03-04 23:43:59 +01:00
Gav Wood
86c34c7d10
Remove "fix".
2016-03-04 23:29:56 +01:00
Gav Wood
098a6ad2cc
Reset HISTORY
.
2016-03-04 23:09:05 +01:00
Gav Wood
d63e535b3c
Merge branch 'master' into finduncles
2016-03-04 23:08:48 +01:00