Commit Graph

272 Commits

Author SHA1 Message Date
NikVolf da02015342 remove find&delete, split opcode 2018-11-20 19:22:51 +03:00
NikVolf 045235da40 Merge remote-tracking branch 'origin/sapling_tx_format' into nv 2018-11-19 19:57:59 +03:00
Svyatoslav Nikolsky 7d402b59fb transaction verification - finished 2018-11-19 14:05:18 +03:00
Svyatoslav Nikolsky 2156527c42 Duplicate inputs && nullifiers 2018-11-19 13:54:55 +03:00
NikVolf b5d9dd7112 accept only 4+ version 2018-11-19 13:51:42 +03:00
Svyatoslav Nikolsky b118a5cfe3 TransactionInputValueOverflow 2018-11-19 12:18:44 +03:00
Svyatoslav Nikolsky f862e5c264 added some checks to MemoryPoolTransactionVerifier 2018-11-19 11:53:03 +03:00
Svyatoslav Nikolsky 17a7c16447 some more verification rules 2018-11-19 11:46:40 +03:00
Svyatoslav Nikolsky c5e91d033c + another rename 2018-11-19 10:35:03 +03:00
Svyatoslav Nikolsky 106a93fb2e JointSplit -> JoinSplit 2018-11-19 10:12:11 +03:00
Svyatoslav Nikolsky afb52268bb overwinter + sapling transactions (start) 2018-11-19 09:59:17 +03:00
Svyatoslav Nikolsky a2ac7a6a80 header verification - completed 2018-11-16 12:10:52 +03:00
Svyatoslav Nikolsky b80bda56cb verification: TransactionValueOverflow 2018-11-14 16:56:14 +03:00
Svyatoslav Nikolsky ed119f633a verification: check transaction size in TransactionAcceptor 2018-11-14 15:52:43 +03:00
Svyatoslav Nikolsky 56b2def7e1 verification: TransactionEmpty 2018-11-14 15:22:30 +03:00
Svyatoslav Nikolsky 8ed5e8d2e8 verification: TransactionVersion 2018-11-14 13:04:16 +03:00
Svyatoslav Nikolsky 88c0c3dde0 verification: TransactionJointSplitInCoinbase 2018-11-14 12:31:26 +03:00
Svyatoslav Nikolsky fdd78009a2 cleaning up 2018-11-14 11:53:32 +03:00
Svyatoslav Nikolsky aa692d8a90 cleaning up 2018-11-14 11:37:28 +03:00
Svyatoslav Nikolsky 14df21533d cleaning up 2018-11-14 11:02:34 +03:00
Svyatoslav Nikolsky 07069cab14 cleaning up 2018-11-14 10:37:27 +03:00
Svyatoslav Nikolsky 3b21342138 cleaning up 2018-11-14 10:14:12 +03:00
Svyatoslav Nikolsky 4b541b7138 cleaning up 2018-11-14 09:41:11 +03:00
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