Commit Graph

249 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky 29f3996f26 cleaning up 2018-11-13 15:42:20 +03:00
Svyatoslav Nikolsky 1eb6cbe622 cleaning 2018-11-13 15:21:56 +03:00
Svyatoslav Nikolsky 3a1e6c9aa6 cleaning up 2018-11-13 14:20:25 +03:00
Svyatoslav Nikolsky c56e399daf work_required_zcash 2018-11-12 15:38:21 +03:00
Svyatoslav Nikolsky c9132eb99d Merge branch 'master' into zcash_init 2018-11-12 12:31:14 +03:00
Svyatoslav Nikolsky 0e401952ab flush 2018-11-12 12:23:35 +03:00
Svyatoslav Nikolsky 5606bb486b
Merge pull request #529 from paritytech/bch_nov2018_cleanstack
BCH Nov2018 HF: enforce clean-stack restriction for scripts
2018-11-12 09:42:15 +03:00
Svyatoslav Nikolsky 1a377c26ca
Merge pull request #528 from paritytech/bch_nov2018_pushonly
BCH Nov2018 HF: enforce push-only restriction for scriptsig
2018-11-12 09:42:04 +03:00
Svyatoslav Nikolsky 18a2766fb9 check if there's min_transaction_size before calculating serialized_size 2018-11-07 12:43:35 +03:00
Svyatoslav Nikolsky d96be02e56 BCH Nov2018 HF: enforce verify_cleanstack 2018-10-17 09:47:34 +03:00
Svyatoslav Nikolsky edfb92cde3 CH Nov2018 HF: enforce verify_sigpushonly 2018-10-17 09:20:43 +03:00
Svyatoslav Nikolsky 91ea989bb7 BCH Nov2018 HF: minimal tx size 2018-10-16 17:15:26 +03:00
Svyatoslav Nikolsky ad4f51ac07 BCH Nov2018 HF: OP_CHECKDATASIG + OP_CHECKDATASIGVERIFY 2018-10-16 15:45:27 +03:00
Svyatoslav Nikolsky eb55b2ae84 BCH Nov2018 HF: canonical transaction ordering 2018-10-16 11:28:32 +03:00
Svyatoslav Nikolsky 3fc8dab8ee next 2018-05-22 08:07:34 +03:00
Svyatoslav Nikolsky 787a36549c fixed equihash 2018-05-21 14:16:27 +03:00
Svyatoslav Nikolsky 7e47bd3b28 flush 2018-05-18 12:04:36 +03:00
Svyatoslav Nikolsky da0c55db7a zcash serialization 2018-05-17 15:09:03 +03:00
Svyatoslav Nikolsky 70a8770f13 equihash working 2018-05-17 13:55:08 +03:00
Svyatoslav Nikolsky 4365a54099 equihash 2018-05-16 20:39:30 +03:00
Wei Tang 2ee7f383a7 Update rayon and thread_local to completely get rid of lazy_static 0.2 2018-05-11 20:27:24 +08:00
Wei Tang 14a1368520 Update lazy_static dependencies to 1.0 2018-05-11 18:09:01 +08:00
Wei Tang d994feabbd
Merge pull request #501 from paritytech/bch_monolith_activation
Bitcoin Cash: monolith activation
2018-05-11 17:55:51 +08:00
Svyatoslav Nikolsky 70b08a7ca0 monolith_height -> monolith_time (until block# is known) 2018-04-26 10:49:03 +03:00
5chdn 8fbdf6021d
Rename ConsensusFork::NoFork to ::BitcoinCore 2018-04-16 12:25:35 +02:00
Svyatoslav Nikolsky 9910fce3e2 verify monolith opcodes 2018-04-12 14:47:47 +03:00
Aleksey Sidorov f120076cab Make parity-bitcoin usable for spv validation
- In this PR I extract from the crate `db` to the new `storage` crate all traits that is not specifically related to the concrete implementation of database. So I now can use `verification` crate without `rocksdb` dependency.

- Also I modify the `HeaderAcceptor` so that can be constructed without the private `BlockDeployments`.
2018-03-09 15:45:07 +03:00
Tomas Korcak b84f4dcc29
Update log 0.3 -> 0.4, env_logger 0.4 -> 0.5 2018-02-09 16:50:28 +01:00
Svyatoslav Nikolsky c46b21ed7a BitcoinCash: hardcoded DAA HF height 2018-01-08 19:26:06 +03:00
Svyatoslav Nikolsky 2ec29bb179 remove segwit2x 2017-12-27 09:52:57 +03:00
debris 8bae8512fb updated dependencies 2017-11-27 11:22:51 +01:00
Svyatoslav Nikolsky 2b96829fb8 fixed typo 2017-11-06 12:46:17 +03:00
Svyatoslav Nikolsky b07258cedc missed NL 2017-11-06 12:26:55 +03:00
Svyatoslav Nikolsky fcde7f3a78 removed redundant match 2017-11-06 12:09:32 +03:00
Svyatoslav Nikolsky 15449f69bb BitcoinCash: extracted work_reuired to separate file 2017-11-06 11:30:47 +03:00
Svyatoslav Nikolsky 261bd518fd BitcoinCash: difficulty adjustment fork 2017-11-02 17:02:16 +03:00
Svyatoslav Nikolsky 6db8c5e235 changed magic for BCH network 2017-11-01 12:30:15 +03:00
Svyatoslav Nikolsky a7c141813c fixed deployments cache && added cache test 2017-08-31 15:09:50 +03:00
Svyatoslav Nikolsky df74f6fb2b fixed HeaderVersion check 2017-08-31 10:39:53 +03:00
Svyatoslav Nikolsky 3db431aa8e added deployments tests from bitcoin + fixes 2017-08-31 09:34:00 +03:00
Svyatoslav Nikolsky b791b92414 add script error to TransactionError::Signature 2017-08-23 17:26:19 +03:00
Svyatoslav Nikolsky 806bd02fbd added some documentation for sigops && weight checks 2017-08-23 13:44:20 +03:00
Svyatoslav Nikolsky 15bc6f4f45 fixed tests 2017-08-22 14:59:46 +03:00
Svyatoslav Nikolsky f4fb8fde23 use previous block index in deployments state 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky a1034cf623 fixed median_timestamp calculation 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky 4f9811fe6f segwit2x: get rid of hardcoded SegWit constants 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky 07e5064755 temp fix for deployments panic 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky 6c06081577 segwit: multisig segwit tests 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky c468425daf segwit: script tests 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky 0a813b2d51 removed excess clone 2017-08-22 14:40:04 +03:00