Commit Graph

309 Commits

Author SHA1 Message Date
debris 422f67ef4d Merge branch 'master' of github.com:ethcore/parity into move_hash 2016-08-04 08:41:30 +02:00
Arkadiy Paronyan 5903600e74 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
debris 1366557991 Merge branch 'master' of github.com:ethcore/parity into move_hash 2016-07-30 14:14:25 +02:00
debris e7f91dbe20 moving hash.rs to bigint in progress 2016-07-25 20:19:33 +02:00
Marek Kotewicz eaf8761487 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
NikVolf c48daae477 more pow opts 2016-07-13 11:58:08 +02:00
NikVolf 2585914c04 pow uses shifts and zero comp 2016-07-13 11:29:18 +02:00
Robert Habermeier 0fbd525afb merge accountdb_migration 2016-07-11 11:08:41 +02:00
Nikolay Volf 6a3c64ff60 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
Robert Habermeier 33c1a41847 merge accountdb migration 2016-07-09 17:33:14 +02:00
Marek Kotewicz 3dab7ad32a 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
Nikolay Volf 24a00eefb3 Merge pull request #1517 from ethcore/shr-opt
Optimizing/simplifying shr
2016-07-01 17:58:01 +04:00
Tomasz Drwięga 23da94ee48 Optimizing shr 2016-07-01 13:07:41 +02:00
Tomasz Drwięga d8410465f4 Fixing warnings 2016-07-01 02:08:14 +02:00
Robert Habermeier 4d7a651d83 Merge branch 'master' into pv64 2016-06-29 16:11:06 +02:00
Robert Habermeier fcdd65f4a6 Merge with master 2016-06-29 14:46:29 +02:00
Marek Kotewicz 6e7d8a3545 removed unsafe code (#1466) 2016-06-28 11:52:59 +02:00
Tomasz Drwięga 2292f07885 Fixing overflow during multiplication (#1381) 2016-06-22 15:37:41 +02:00
debris 5da1f49939 removed redundant bigint deps 2016-06-20 14:19:02 +02:00
Arkadiy Paronyan 9186f4bccf Security audit issues fixed (#1279)
* Restrict network key file permissions

* Check for overflow in str to bigint conversion

* RLP decoder overflow check
2016-06-15 00:58:08 +02:00
Tomasz Drwięga 985bacd9c7 Fixing uint ASM macros 2016-06-12 10:30:44 +02:00
Robert Habermeier ebf4774285 remove some unsafety from uint.rs 2016-06-07 16:42:07 +02:00
Nikolay Volf 27015550cc Merge branch 'master' into miner-spec-refact
Conflicts:
	ethcore/build.rs
2016-05-16 19:46:56 +03:00
Nikolay Volf 84175f80dd 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 d8732beff8 binary for blockstatus, blockchaininfo 2016-05-06 17:16:03 +04:00
arkpar b5b8748dd1 Fixed uint deserialization 2016-04-27 14:39:46 +02:00
Nikolay Volf 85f44ddbda replace add with or 2016-04-04 11:06:16 +02:00
Tomasz Drwięga f2c72facaa Fixing typo in bigint 2016-04-04 09:00:22 +02:00
NikVolf ffea86176a replace popcnt with mov 2016-04-01 17:56:29 +03:00
debris 9b1133f11a implemented eth_call 2016-03-19 21:37:11 +01:00
Tomasz Drwięga d8317bd0ad Merge branch 'master' into uint_opt
Conflicts:
	test.sh
	util/bigint/src/uint.rs
2016-03-14 23:45:16 +01:00
Nikolay Volf 3491af6217 removed tests that used fixedhash 2016-03-14 09:44:02 +01:00
Tomasz Drwięga 1897390845 Merge branch 'master' into ethminer_crate
Conflicts:
	Cargo.toml
	rpc/Cargo.toml
	sync/Cargo.toml
2016-03-12 09:50:18 +01:00
Tomasz Drwięga 7c3e760e35 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
Tomasz Drwięga d13e9350bc Merge branch 'master' into ethminer_crate
Conflicts:
	util/bigint/src/uint.rs
2016-03-11 16:24:52 +01:00
Tomasz Drwięga a117fb1023 Adding std::mem back 2016-03-11 16:01:18 +01:00
Tomasz Drwięga 3edc363381 adding std::mem 2016-03-11 15:58:12 +01:00
Nikolay Volf 59653d1848 Merge pull request #675 from ethcore/rpc_unit_tests
fixed U256 and transaction request deserialization
2016-03-11 17:25:13 +03:00
debris 5b317a82c3 fixed U256 and transaction request deserialization, added tests for transaction request 2016-03-11 13:54:52 +01:00
Tomasz Drwięga 772632cbc5 Removing superflous check for nightly 2016-03-11 11:16:49 +01:00
Tomasz Drwięga 9f6a8f99de Bumping clippy version 2016-03-11 10:35:26 +01:00
Tomasz Drwięga da6fccd741 Same bug in full_mul 2016-03-09 11:50:35 +01:00
Tomasz Drwięga 5765638ec2 Fixing bug in multiplication implementation 2016-03-09 11:32:23 +01:00
Tomasz Drwięga 2f4895b6ec Using better subtraction when optimizations are enabled 2016-03-08 12:09:04 +01:00
Tomasz Drwięga e02c578695 Couple of more aggresive optimizations 2016-03-08 10:05:46 +01:00
Tomasz Drwięga bddcec1ac6 Implementing mul and full_mul 2016-03-08 01:20:16 +01:00
Tomasz Drwięga 6390351fc8 Subtraction optimization 2016-03-07 19:03:29 +01:00
Tomasz Drwięga 8c77f21042 Small improvements 2016-03-07 18:36:17 +01:00
Tomasz Drwięga d51f4ed147 Simplifing mul_u32 and add carry 2016-03-07 17:09:19 +01:00
Tomasz Drwięga ab21bb5363 Optimizing and simplifying add and shl 2016-03-07 17:06:08 +01:00