Commit Graph

596 Commits

Author SHA1 Message Date
arkpar
b503fb5de8 Merge branch 'master' of github.com:ethcore/parity into net 2016-02-15 12:57:19 +01:00
arkpar
ba95260113 Merge branch 'master' of github.com:ethcore/parity into discovery 2016-02-15 11:56:36 +01:00
arkpar
186c7585d2 Node table persistency 2016-02-15 11:54:38 +01:00
debris
4c474d8d91 Merge branch 'master' into jsonrpc2 2016-02-15 10:53:01 +01:00
Tomusdrw
2c4700f4c1 Fixing clippy warnings 2016-02-15 00:55:45 +01:00
arkpar
986448ce7a Merge branch 'net' into discovery 2016-02-14 18:27:31 +01:00
arkpar
76590d5a82 Merge branch 'master' of github.com:ethcore/parity into net 2016-02-14 17:50:14 +01:00
arkpar
38f4a06f1d Fixed panic on accessing expired node 2016-02-14 17:45:00 +01:00
arkpar
61c52f15a3 Fixed panic on accessing expired node 2016-02-14 17:42:03 +01:00
debris
3ffaed9857 fixed util benches on nighly 2016-02-14 13:25:12 +01:00
debris
f1b39ee1e5 nightly fixes 2016-02-14 12:54:27 +01:00
arkpar
dee375bfac Handle session creation error 2016-02-14 12:11:18 +01:00
arkpar
7503d6695a Fixed panic on session creation 2016-02-14 11:54:08 +01:00
arkpar
718646f943 Refactored host to use different containers for handshakes and sessions 2016-02-14 11:34:59 +01:00
debris
2748e770e4 Merge branch 'master' into jsonrpc2 2016-02-14 11:13:22 +01:00
arkpar
2d89708ea8 Reduced thread contention 2016-02-14 02:11:55 +01:00
arkpar
76ea030b78 Small refactoring 2016-02-14 01:03:48 +01:00
Nikolay Volf
9ff3155a64 clippy, returing docopt 2016-02-14 00:58:41 +03:00
arkpar
62b9f4b91d UDP discovery working 2016-02-13 22:57:39 +01:00
Nikolay Volf
84c752583a clippy version update, docopt-macro moving to fork 2016-02-13 13:17:16 +03:00
arkpar
2af379d4b1 Merge branch 'net' of github.com:ethcore/parity into discovery 2016-02-12 15:52:11 +01:00
arkpar
f74c5dc921 More sync and propagation fixes 2016-02-12 13:07:02 +01:00
arkpar
09b6503795 Discovery packets 2016-02-12 09:52:32 +01:00
arkpar
62ac80d53f Merge branch 'master' of github.com:ethcore/parity into net 2016-02-11 21:10:47 +01:00
arkpar
84732d4b94 Sync fixes 2016-02-11 21:10:41 +01:00
debris
2cf0f1b5f3 moved chainfilter from util to ethcore, blockchain stores block blooms 2016-02-11 14:35:03 +01:00
arkpar
0d0441a186 Use latest era instead of end era as journal marker 2016-02-11 13:32:27 +01:00
Gav Wood
0e679fbee5 Revert collecting trie stats. 2016-02-10 18:26:39 +01:00
Gav Wood
637ca97dc6 Synchronous UPnP. 2016-02-10 18:11:10 +01:00
Gav Wood
39d5b68785 Merge branch 'master' of github.com:ethcore/parity 2016-02-10 17:21:07 +01:00
Gav Wood
35374ac09c Start of UPnP. 2016-02-10 16:45:54 +01:00
Tomusdrw
96dda7b73a Forwarding panics from threads 2016-02-10 16:35:52 +01:00
Tomusdrw
7925642b1b Removing overengineered stuff 2016-02-10 15:28:43 +01:00
Tomusdrw
0d121dd51a Removing unecessary locks causing dead-locks 2016-02-10 14:49:31 +01:00
Tomusdrw
6b0cc0c8fa Merge branch 'master' into close_gently
Conflicts:
	parity/main.rs
2016-02-10 13:13:04 +01:00
Tomusdrw
2a498fc3eb Implementing PanicHandlers for all places when new thread is spawned. Handling Client panics 2016-02-10 12:50:27 +01:00
Gav Wood
015aaad2c4 Merge pull request #388 from ethcore/options
--chain option for setting which network to go on.
2016-02-09 16:50:31 +01:00
Tomusdrw
0757ac1493 PanicHandler - work in progress 2016-02-09 16:47:21 +01:00
Gav Wood
8be5340385 Tabs! 2016-02-09 16:19:12 +01:00
Gav Wood
e987a492dc --chain option for setting which network to go on.
Add contents function to util.
2016-02-09 15:51:48 +01:00
debris
fd18be4317 change CLIENT_DB_VER_STR instead of DB_VERSION 2016-02-09 13:21:32 +01:00
debris
e911e64704 db_version 2 2016-02-09 10:19:04 +01:00
debris
bb3ffe5764 Merge branch 'master' of github.com:ethcore/parity into jsonrpc 2016-02-09 10:13:35 +01:00
arkpar
b411a3d55d Check for handshake expiration before attempting replace 2016-02-08 15:03:44 +01:00
debris
90f965cf53 Merge branch 'master' of github.com:ethcore/parity into jsonrpc 2016-02-08 11:59:03 +01:00
debris
b2c083ce56 fixed U256 serialization, tests for transaction serialization 2016-02-08 11:58:47 +01:00
arkpar
0772cb6d42 Panic on missing counters; Client cleanup 2016-02-07 23:07:36 +01:00
arkpar
63f2f42035 Restored trace 2016-02-07 22:16:58 +01:00
arkpar
6c36a7e1a6 Apply all removes after updating all counters 2016-02-07 21:33:24 +01:00
arkpar
28dd73e340 Updated counter comment 2016-02-07 18:28:47 +01:00
arkpar
976b10a4ef Removed warning supression 2016-02-07 18:28:47 +01:00
arkpar
b2f69a08ca Clarified counters 2016-02-07 18:28:47 +01:00
arkpar
f2ed89be46 Fixed an issue with forked counters 2016-02-07 18:28:47 +01:00
Gav Wood
36ebacbe10 Merge pull request #357 from ethcore/ark
Raise FD limit for MacOS
2016-02-05 15:19:29 +01:00
Gav Wood
105f4262dd Merge pull request #354 from ethcore/license
License
2016-02-05 14:06:10 +01:00
arkpar
0504bc17ce Removed issue comment 2016-02-05 13:55:29 +01:00
arkpar
f06e444737 Raise FD limit for macos 2016-02-05 13:49:36 +01:00
debris
c90d64662a added license in every *.rs file 2016-02-05 13:40:41 +01:00
debris
bc267f8412 prepare for adding licenses 2016-02-05 13:36:30 +01:00
arkpar
a87edc2557 Style 2016-02-05 02:08:17 +01:00
arkpar
75ebac36a3 Cleanup 2016-02-05 01:49:06 +01:00
arkpar
048c27237a Counters in JournalDB 2016-02-04 21:33:30 +01:00
arkpar
af07852080 Merge branch 'sync' of github.com:ethcore/parity into state 2016-02-04 16:02:03 +01:00
arkpar
6b3390f034 Refactored JournalDB 2016-02-04 02:40:35 +01:00
Nikolay Volf
98fc321733 separate coverage for util 2016-02-03 22:00:09 +03:00
Nikolay Volf
3f3ebdbfa1 nodes specs 2016-02-03 21:44:49 +03:00
arkpar
b9af3f9260 State copy optimization 2016-02-03 19:34:51 +01:00
Nikolay Volf
ec30a0a591 connection read tests 2016-02-03 21:01:39 +03:00
Nikolay Volf
e154e3e7fa fixed indents 2016-02-03 19:06:16 +03:00
Nikolay Volf
f85b9eb75b Merge branch 'master' into nvolf 2016-02-03 19:00:05 +03:00
Nikolay Volf
84e1c77938 broken sockets 2016-02-03 18:59:35 +03:00
arkpar
42d5c09131 Final docs 2016-02-03 16:43:48 +01:00
Nikolay Volf
834f8a07eb socket write tests 2016-02-03 18:40:54 +03:00
Nikolay Volf
df18d8104d final network tests di setup 2016-02-03 18:05:46 +03:00
Gav Wood
a1bfcf17e3 Merge branch 'master' of github.com:ethcore/parity 2016-02-03 14:58:30 +01:00
Gav Wood
fad2f3a23d More doc updates. All Gav Wood docs done. 2016-02-03 14:51:45 +01:00
Gav Wood
4a88adfde7 Merge pull request #317 from ethcore/evm-tests
Additional evm tests (extops, call, jumps) and some docs
2016-02-03 14:37:17 +01:00
Gav Wood
c531150f44 More documentation. 2016-02-03 13:20:32 +01:00
Nikolay Volf
e86a680b23 test sockets, connections setup 2016-02-03 14:04:24 +03:00
Tomusdrw
da22bbf21c Tests for some external operations 2016-02-03 11:26:24 +01:00
Nikolay Volf
206cb6b227 decoupling sockets from logic for tests 2016-02-03 03:55:18 +03:00
arkpar
da52fee2b3 Simplified Disconnect struct 2016-02-02 21:10:16 +01:00
arkpar
05e86ca63c Peers keep-alive 2016-02-02 20:58:12 +01:00
arkpar
81e339a77a Merge 2016-02-02 17:00:32 +01:00
arkpar
ce0cc11c56 Peer sync timeouts 2016-02-02 14:54:46 +01:00
debris
620146bdda uncomment rlp benches 2016-02-02 02:38:15 +01:00
debris
21913b29b5 Merge branch 'master' into travis_fixes 2016-02-02 02:37:43 +01:00
Marek Kotewicz
d688fa0622 Merge pull request #296 from ethcore/jsonrpcclioptions
Include JSONRPC CLI options.
2016-02-02 02:37:09 +01:00
debris
26652a2ed8 fixed rlp benchmarks 2016-02-02 02:31:17 +01:00
Gav Wood
54924d14b3 Include JSONRPC CLI options.
Bump version numbers.
Update Trie benchmarks.
Disable RLP benchmark (@debrid please fix).
2016-02-02 01:59:14 +01:00
Marek Kotewicz
ab8ee51fed Merge pull request #295 from ethcore/improveversionstring
Improve version string.
2016-02-01 19:54:59 +01:00
Gav Wood
fdd42ae537 Improve version string. 2016-02-01 17:57:22 +01:00
Gav Wood
4a25476161 Merge pull request #292 from ethcore/util_docs
Util docs
2016-02-01 16:21:45 +01:00
Gav Wood
9ec2efb2f3 Update mod.rs 2016-02-01 16:20:46 +01:00
Gav Wood
205a1990d6 Update mod.rs 2016-02-01 16:19:59 +01:00
debris
2bddc938af util docs 2016-02-01 15:22:42 +01:00
Gav Wood
79258a9912 Update journaldb.rs 2016-02-01 15:07:11 +01:00
debris
6ec672a1a6 docs for util standard, from_json and common modules 2016-02-01 14:58:13 +01:00
debris
ea13fd3c0e util docs cleanup pt.1 2016-02-01 14:48:38 +01:00
Nikolay Volf
77fdef4fb0 Merge branch 'master' into coverage-effort
Conflicts:
	ethcore/src/receipt.rs
2016-02-01 16:37:08 +04:00
arkpar
0076df8475 Fixed neted empty list encoding 2016-02-01 01:11:07 +01:00
Nikolay Volf
1778393a51 fix util compilation 2016-01-31 20:01:36 +04:00
Nikolay Volf
5837b6e131 Merge branch 'master' into coverage-effort
Conflicts:
	ethcore/res/ethereum/tests
2016-01-31 18:40:59 +04:00
debris
4a7e02b7e0 removed tests for ethocore-rpc for default travis build 2016-01-31 14:15:12 +01:00
Nikolay Volf
5651192076 removed unused stub 2016-01-31 14:24:45 +04:00
debris
02f5004161 moving around dirs 2016-01-31 11:08:04 +01:00
Nikolay Volf
7132d5f7cb removed duplicates 2016-01-31 13:57:56 +04:00
Nikolay Volf
4ae26aed42 temp directory refactoring in many cases 2016-01-31 13:52:07 +04:00
arkpar
cf04c12510 Merge branch 'master' of github.com:ethcore/parity into ark 2016-01-29 17:07:23 +01:00
arkpar
3aa00586e3 Common log init function 2016-01-29 15:01:39 +01:00
arkpar
772de24cae RLP decoder refactoring 2016-01-29 13:59:29 +01:00
arkpar
cfa2776e75 Removed test log initializations 2016-01-29 12:27:50 +01:00
arkpar
626fcdfffc append Now accepts lists again 2016-01-28 20:13:05 +01:00
arkpar
3f281754f2 removed smallvec 2016-01-28 12:35:50 +01:00
arkpar
7f187674fc Fixed depth tracking 2016-01-27 19:27:11 +01:00
arkpar
698fa11e76 Fixed depth tracking 2016-01-27 18:58:41 +01:00
arkpar
aa9fb98a74 Merge branch 'master' of github.com:ethcore/parity into ark 2016-01-27 17:31:45 +01:00
Arkadiy Paronyan
10dd07f998 Merge pull request #244 from ethcore/clippy
clippy, missing docs, renaming etc.
2016-01-27 17:21:23 +01:00
debris
61c64d264b moved rust-evmjit -> evmjit, added clippy and basic docs to rpc crate 2016-01-27 17:08:59 +01:00
arkpar
60e2b53a1d Fixed tests 2016-01-27 16:58:22 +01:00
Arkadiy Paronyan
5e6774a5ec Merge pull request #193 from ethcore/rpc
jsonrpc http server
2016-01-27 16:48:16 +01:00
Marek Kotewicz
bcca45efa6 Merge pull request #240 from ethcore/blockchaintests
Ethash nonce is H64 not a u64
2016-01-27 14:58:45 +01:00
Gav Wood
9979e159bd Ethash nonce is H64 not a u64. 2016-01-27 14:44:02 +01:00
debris
e068bad4e0 Revert "temporarily comment out checking zero prefixed int"
This reverts commit 500dd1480d.
2016-01-27 14:31:43 +01:00
debris
bcfe40e743 Merge branch 'tmp_prefixed_int' into rpc 2016-01-27 14:01:03 +01:00
debris
500dd1480d temporarily comment out checking zero prefixed int 2016-01-27 13:59:14 +01:00
debris
01fcb9b445 Merge branch 'master' of github.com:ethcore/parity into rpc 2016-01-27 13:04:40 +01:00
arkpar
40314614f7 RLP encoder refactoring 2016-01-27 12:14:57 +01:00
Arkadiy Paronyan
ed546006ef Merge pull request #231 from ethcore/blockchaintests
Fix ensure_db_good() and flush_queue(), block refactoring, check block format, be strict.
2016-01-26 19:47:01 +01:00
debris
2f42e0eda0 parity on netstats 2016-01-26 19:24:33 +01:00
Gav Wood
e904d2145f Block refactoring, stricter RLP.
Fixed #234.
Partially fixes #233 for Blocks.
Fixed #222.
2016-01-26 19:18:22 +01:00
Gav Wood
387e3ec3fd Ensure Spec::ensure_db_good() places DB entries for code & storage. 2016-01-26 15:00:22 +01:00
Marek Kotewicz
d30114b87c Merge pull request #207 from ethcore/rlp
Rlp
2016-01-26 13:15:44 +01:00
Gav Wood
537cc61cd6 Merge pull request #206 from ethcore/ark
U256<->H256 Conversion
2016-01-26 12:09:01 +01:00
Nikolay Volf
7b86f98a7c identations fix 2016-01-26 14:57:43 +04:00
arkpar
1dbae06a83 Merge branch 'blockchaintests' of github.com:ethcore/parity into rlp 2016-01-25 18:57:05 +01:00
Gav Wood
499da19d82 Initial draft of blockchain tests. 2016-01-25 18:56:36 +01:00
Nikolay Volf
95e96a653f 2 bytes length check 2016-01-25 19:13:36 +04:00
Nikolay Volf
f4ab64fd6b happy path test 2016-01-25 18:47:13 +04:00
Nikolay Volf
01ea703783 long length checks & indentation 2016-01-25 17:27:11 +04:00
Nikolay Volf
e592a185ef lost spaces again 2016-01-25 16:57:41 +04:00
Nikolay Volf
48d1760b7f lost spaces 2016-01-25 16:54:52 +04:00
Nikolay Volf
45059d5119 untrusted rlp data length check 2016-01-25 16:40:59 +04:00
arkpar
e61d1f810e U256<->H256 conversion 2016-01-25 13:39:15 +01:00
Nikolay Volf
b2050fa639 untrusted rlp data length check 2016-01-25 16:23:05 +04:00
arkpar
eed88df0d4 Fixed tests compilation 2016-01-25 13:22:29 +01:00
arkpar
02d33f6861 Merge branch 'master' of github.com:ethcore/parity into ark 2016-01-24 19:21:31 +01:00
arkpar
cd250d4959 Incoming connections; Tests 2016-01-24 18:54:05 +01:00
arkpar
cfb8671b00 Networking bugfixes 2016-01-24 18:54:05 +01:00
arkpar
acbb50d700 Stream deregistration 2016-01-24 18:54:05 +01:00
Gav Wood
788213f48f Merge branch 'master' into gav 2016-01-24 00:09:18 +01:00
Gav Wood
b059d32485 Argument parsing from CLI.
Closes #179
2016-01-23 23:53:20 +01:00
arkpar
e5e0d3d136 Merge branch 'master' of github.com:ethcore/parity into io 2016-01-22 14:44:17 +01:00
arkpar
81bb86d0ed Removed obsolete warnings 2016-01-22 01:27:51 +01:00
arkpar
d431854421 Fixed tests 2016-01-22 00:47:45 +01:00
arkpar
ccf1cc4d54 Removed obsolete code and added documentation 2016-01-22 00:11:19 +01:00
arkpar
4bf1c205b4 DB commit queue 2016-01-21 23:33:52 +01:00
arkpar
0f97edad7c Merge branch 'master' of github.com:ethcore/parity into ethash 2016-01-21 17:21:51 +01:00
arkpar
e514d3d80f Multithreaded event loop 2016-01-21 16:48:37 +01:00
Tomusdrw
694281cdf1 Merge branch 'master' into clippy 2016-01-21 09:31:41 +01:00
Marek Kotewicz
e2ad52e5cc Merge pull request #190 from gavofyork/coverage
Generating coverage reports.
2016-01-20 12:42:54 +01:00
Tomusdrw
adc763325d Merge branch 'master' into clippy
Conflicts:
	util/src/rlp/rlptraits.rs
2016-01-19 23:22:40 +01:00
Tomusdrw
bad2a244df Adding documentation request comments. 2016-01-19 17:02:01 +01:00
Tomusdrw
7c4868e51a Generating coverage report 2016-01-19 14:36:37 +01:00
Tomusdrw
2a5a333fc0 Explaining why we use * in version 2016-01-19 14:15:13 +01:00
Tomusdrw
c746f0e62c Fixing all clippy lints 2016-01-19 13:47:30 +01:00
Tomusdrw
6ead6b7847 Merge branch 'master' into clippy
Conflicts:
	util/src/lib.rs
2016-01-19 12:45:06 +01:00
debris
3a1b37d6f2 removed overflowing_shr 2016-01-19 12:21:56 +01:00
Arkadiy Paronyan
ae64a6046b Merge pull request #187 from gavofyork/wrapping_ops
fixed wrapping ops on latest nightly
2016-01-19 12:19:09 +01:00
Marek Kotewicz
3e7fc36357 Merge pull request #180 from gavofyork/cacheman
Memory management for cache
2016-01-19 12:17:24 +01:00
Tomusdrw
a3937313a0 Merge branch 'master' into clippy 2016-01-19 12:16:05 +01:00
Tomusdrw
062193ceb5 Fixing clippy errors in util 2016-01-19 12:14:29 +01:00
debris
03bdecf23f removed commented lines 2016-01-19 12:05:53 +01:00
debris
9fa4a693ce fixed build issues with stabilized feature WrappingOps 2016-01-19 12:04:27 +01:00
Gav Wood
ab0aabf02c PR suggestion. 2016-01-18 23:54:16 +01:00
Gav Wood
a9a4da4b3e Fix test build. 2016-01-18 23:50:40 +01:00
Gav Wood
f946088e43 Implement signs having low-s.
Closes #159
2016-01-18 23:46:33 +01:00
Gav Wood
eec70fe69a Merge branch 'master' into gav 2016-01-18 16:20:35 +01:00
arkpar
77d2303b55 Use sha3 crate in ethash 2016-01-18 16:05:45 +01:00
Gav Wood
1eafdc7008 PR fixes. 2016-01-18 15:47:50 +01:00
Gav Wood
3885cc07e4 Merge pull request #173 from gavofyork/ark
Multithreaded block queue
2016-01-18 15:00:44 +01:00
Gav Wood
0222b3e081 Reduce log verbosity. 2016-01-18 14:51:49 +01:00
Gav Wood
7b0e4af078 Compact state DB finished.
Closes #172
2016-01-18 14:44:06 +01:00
Gav Wood
b9b08af518 Use JournalDB instead of OverlayDB. 2016-01-18 13:54:46 +01:00
Gav Wood
28c07cba52 JournalDB passing all tests. 2016-01-18 13:30:01 +01:00
Gav Wood
193d615f9a First JournalDB implementation. 2016-01-18 12:41:31 +01:00
Gav Wood
4f5ca1973e Merge branch 'master' into gav 2016-01-18 01:32:56 +01:00
Gav Wood
4ccd2ad8fe Add local node. 2016-01-18 00:54:06 +01:00
Gav Wood
fab99e8538 Disable trieDB ref counting for now. 2016-01-18 00:51:55 +01:00
arkpar
d05e7e031b Basic queue test 2016-01-18 00:24:20 +01:00
arkpar
a131c33bb2 Multithreaded block queue 2016-01-17 23:07:58 +01:00
Gav Wood
589ecf10af Additonal test for Trie iterator. 2016-01-17 22:30:07 +01:00
Gav Wood
9203dbdca2 Minor tidy up. 2016-01-17 22:24:42 +01:00
Gav Wood
62a0737e59 Iterator for NibbleSlice and TrieDB. 2016-01-17 22:18:47 +01:00
arkpar
1e8dd6321f Global secp256k1 context 2016-01-17 14:11:07 +01:00
Gav Wood
6ea8eaa3b5 Move ethcore files back into root. 2016-01-17 13:11:25 +01:00