99 Commits (03912600e80217400e0d4b80c71bc2c3accca686)

Author SHA1 Message Date
Jack Grigg 6fb8d0c2d6
Skip JoinSplit verification before the last checkpoint 8 years ago
Sean Bowe bc59f53722 Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller. 8 years ago
Daira Hopwood 71cc1b58a1 Add tests for IsStandardTx applied to v2 transactions. 8 years ago
Jack Grigg 3774c944f8
Refactor test code to better test JSDescription::Randomized() 8 years ago
Jack Grigg 7f0aa74666
Implement static method for creating a randomized JSDescription 8 years ago
Simon 805344dcf4 Refactor: replace calls to GetTxid() with GetHash() 8 years ago
Sean Bowe a4b00373ab Fix transaction test in test_bitcoin. 8 years ago
Simon 10d2c57c0d Replace calls to GetHash() with GetTxid() for transaction objects. 8 years ago
Taylor Hornby 67f0243533 Remove in-band error signalling from SignatureHash, fixing the SIGHASH_SINGLE bug. 8 years ago
Sean Bowe b7e4abd6f7 Rename some usage of 'pour'. 8 years ago
Sean Bowe bfeaf0049a Rename JSDescription's `serials` to `nullifiers`. 8 years ago
Sean Bowe 8675d94b63 Rename vpour to vjoinsplit. 8 years ago
Sean Bowe a8c68ffe99 Rename CPourTx to JSDescription. 8 years ago
Taylor Hornby c9c4611d9a Rename zerocash to zcash in some places. 8 years ago
Taylor Hornby 948d4e6c10 Split JoinSplit proof verification out of CheckTransaction. 8 years ago
Sean Bowe e8af0028eb Change error for invalid joinsplit signature for consistency. 8 years ago
Sean Bowe 320f2cc7e0 Switch to Ed25519 for cryptographic binding of joinsplits to transactions. 8 years ago
Taylor Hornby b48122b57b Fix tests for JoinSplit signatures 8 years ago
Sean Bowe 2dc3599271 Transplant of libzcash. 8 years ago
Sean Bowe 2140639309 Remove scriptPubKey/scriptSig from CPourTx, and add randomSeed. 8 years ago
Sean Bowe 5961dcb6da Change ciphertext length to match protocol spec, and refactor the use of constants. 8 years ago
Sean Bowe 1760b3cd88 Deprecate the old tree and remove old tree tests from the test suite. 8 years ago
Sean Bowe a897db652f Reorganizing the zerocash tree. 8 years ago
Nathan Wilcox 8cb250885c Replace magic 2s in rpcwallet and change > to != for arity checks. Replace magic 2's with named constants in test cases. 9 years ago
Sean Bowe 03bff15fe2 Enforce zk-SNARK validity during consensus. 9 years ago
Sean Bowe 96c31d163f Added CPourTx verification and construction routines. 9 years ago
Sean Bowe 69761d8269 Primitive, context-free consensus changes for CPourTx 9 years ago
Wladimir J. van der Laan e7bcc4aac3
Bump minrelaytxfee default 9 years ago
Peter Todd 4fa7a048d1 Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65) 10 years ago
jtimon da29ecbcc6 Consensus: MOVEONLY: Move CValidationState from main consensus/validation 10 years ago
Wladimir J. van der Laan 92fd887fd4 tests: add a BasicTestingSetup and apply to all tests 9 years ago
Pieter Wuille 9fddceda44 Avoid storing a reference passed to SignatureChecker constructors 10 years ago
Pieter Wuille 858809a33e Use separate SignatureChecker for CMutableTransaction 10 years ago
Wladimir J. van der Laan 34cdc41128 String conversions uint256 -> uint256S 10 years ago
Cory Fields 856e862f4a namespace: drop most boost namespaces and a few header cleanups 10 years ago
Michael Ford 78253fcbad Remove references to X11 licence 10 years ago
Pieter Wuille b6e03cc592 Add SCRIPT_VERIFY_CLEANSTACK (BIP62 rule 6) 10 years ago
Peter Todd 03914234b3
Discourage NOPs reserved for soft-fork upgrades 10 years ago
Flavien Charlon 44e9a6b22e Update the 'test_IsStandard' unit test 10 years ago
Cory Fields 219a1470c4 script: check ScriptError values in script tests 10 years ago
Cory Fields 71697f97d3 Separate protocol versioning from clientversion 10 years ago
Pieter Wuille 698c6abb25 Add SCRIPT_VERIFY_MINIMALDATA (BIP62 rules 3 and 4) 10 years ago
Pieter Wuille d752ba86c1 Add SCRIPT_VERIFY_SIGPUSHONLY (BIP62 rule 2) 10 years ago
Cory Fields e9ca4280f3 script: add ToByteVector() for converting anything with begin/end 10 years ago
Pieter Wuille 9df9cf5a9f Make SCRIPT_VERIFY_STRICTENC compatible with BIP62 10 years ago
Pieter Wuille e790c370b5 Replace SCRIPT_VERIFY_NOCACHE by flag directly to checker 10 years ago
Pieter Wuille 8138cbea3c Add automatic script test generation, and actual checksig tests 10 years ago
Pieter Wuille 7c70438dc6 Get rid of the dummy CCoinsViewCache constructor arg 10 years ago
Pieter Wuille c9d1a81ce7 Get rid of CCoinsView's SetCoins and SetBestBlock. 10 years ago
Pieter Wuille 0be990ba34 Move CTxDestination from script/script to script/standard 10 years ago