Commit Graph

94 Commits

Author SHA1 Message Date
NikVolf 84e322735c fix typo 2016-11-27 19:19:31 +03:00
debris 42ce57e6a8 fixed bip30 tests, tx finality reg tests passing 2016-11-27 15:05:49 +01:00
debris 9d0d251a37 few functions are more idiomatic, initial support for bip30 2016-11-26 15:05:54 +01:00
debris 847cb36c6f chain verifier does not have hardcoded network constants 2016-11-25 18:38:21 +01:00
NikVolf 2cdf526ee9 using sorted list of timestamps to evaluate median 2016-11-25 16:54:56 +03:00
NikVolf c4ab5e70ac use 11 blocks, not 10 2016-11-25 16:29:37 +03:00
NikVolf 57ce99c5ce use thread static instead of honest timestamps 2016-11-25 15:13:38 +03:00
NikVolf a4de321cc7 median time verfication might be unordered? 2016-11-25 14:54:22 +03:00
NikVolf 9f4469e480 fix timestamp generation and check 2016-11-25 14:40:07 +03:00
debris e167b3350a few more simplifications 2016-11-25 02:07:46 +01:00
debris 3143ff75d0 simplified few more lines 2016-11-25 02:05:49 +01:00
debris 40682073ab more idiomatic enumeration over transactions 2016-11-25 01:58:51 +01:00
debris 98b514b256 median timestamp 2016-11-25 01:07:38 +01:00
debris 355306e747 retarget 2016-11-24 23:33:51 +01:00
debris 43dcd741d1 Merge branch 'verification-target' of github.com:ethcore/parity-bitcoin into pow_validation 2016-11-23 10:30:39 +01:00
debris 961e4361cf pow validation in progress 2016-11-23 04:10:11 +01:00
NikVolf 7f5e5fb036 threshold to nbits 2016-11-23 00:13:51 +03:00
NikVolf 34a582b8e9 expected nbits method & support 2016-11-22 18:26:00 +03:00
NikVolf e6c182a904 nbits max check 2016-11-22 12:00:38 +03:00
NikVolf eb24c5aff6 coinbase verification at index > 0 2016-11-22 03:27:37 +03:00
NikVolf fff3c29e6d this is always wrong way first 2016-11-22 03:18:15 +03:00
NikVolf b2798841de refactored sigop counter 2016-11-22 02:50:27 +03:00
Nikolay Volf 40775cae82 Merge pull request #161 from ethcore/fixed_b41_b42_acceptence
b41 and b42 are correctly validated
2016-11-21 19:39:33 +03:00
debris edfc13f0ba fixed interpreter OP_DUP operation, converting integers to hashes, added more traces 2016-11-21 17:05:42 +01:00
NikVolf 8e975669c0 suppress trait that is not used so far 2016-11-21 16:08:40 +03:00
debris 6fa1ce326a Merge branch 'master' of github.com:ethcore/parity-bitcoin into test_scripts 2016-11-18 00:46:06 +01:00
debris 0c4a346c00 fixed enumerate skip order 2016-11-18 00:16:50 +01:00
NikVolf b9793e06dd refactor verification 2016-11-17 21:26:17 +03:00
debris 2fd794be97 applied clippy suggestions to make code more idiomatic 2016-11-16 18:30:30 +01:00
NikVolf cbd4227f35 use reversed hashes in logging 2016-11-16 17:49:36 +03:00
Svyatoslav Nikolsky 756bb10fcc Support BIP16 2016-11-16 11:52:00 +03:00
NikVolf f44bec4a57 don't use accurate sigop counter for regular scripts 2016-11-16 00:37:27 +03:00
NikVolf 0ecb184a31 redundant line 2016-11-15 23:46:22 +03:00
NikVolf 92f8ff7982 fix ge to g 2016-11-15 23:44:51 +03:00
NikVolf 2e7c535a7f redundant line 2016-11-15 23:23:30 +03:00
NikVolf 231604ea49 remove print 2016-11-15 23:23:01 +03:00
NikVolf 06341c16eb Merge branch 'master' into verification 2016-11-15 23:20:24 +03:00
NikVolf 9cbf68a8ad todo 2016-11-15 23:03:52 +03:00
NikVolf a9e0f8e318 block size 2016-11-15 23:01:45 +03:00
NikVolf dedad2de55 coinbase signature length 2-100 enforce 2016-11-15 22:39:56 +03:00
Svyatoslav Nikolsky e33aa81674 changed verify_clocktimeverify 2016-11-15 17:24:33 +03:00
NikVolf 14e043ce23 Merge branch 'master' into support_bip65 2016-11-15 14:44:01 +03:00
Svyatoslav Nikolsky b152c8178d introduced ConsensusParams + BIP65 support 2016-11-15 14:00:46 +03:00
NikVolf 7d6ee29e6b strict greater there 2016-11-15 13:23:49 +03:00
NikVolf 584ec20e1f count coinbase outputs also 2016-11-15 12:57:58 +03:00
NikVolf b7014f4ea5 invalid output script counts as 1 2016-11-15 12:37:20 +03:00
NikVolf efd6c7a143 refactoring of opcounting 2016-11-15 00:13:07 +03:00
NikVolf 3ad579ea29 proper tx sigopcounting 2016-11-14 23:56:43 +03:00
NikVolf 5fcba908f4 transaction & block sigops amount check 2016-11-14 21:18:30 +03:00
NikVolf b9a0cc9453 same block lookup & tests 2016-11-11 13:36:11 +03:00