122 Commits (a2ff78620a248bfcf282cb129612fe0ad612740d)

Author SHA1 Message Date
Sean Bowe 6679855147
Check that duplicate Sapling nullifiers don't exist within a transaction. 6 years ago
Jack Grigg b1608eed82
Add a constant for Overwinter's transaction version 6 years ago
Simon 68cc953012 Part of #2966, extending Sprout tests to other epochs. 6 years ago
Jack Grigg be12669982
Add consensus branch ID parameter to SignatureHash, remove SigVersion parameter 6 years ago
Pieter Wuille 6514771a44
Rename to PrecomputedTransactionData 8 years ago
Nicolas DORIER 90285e7b81
Unit test for sighash caching 8 years ago
Pieter Wuille f762d44973
Precompute sighashes 7 years ago
Pieter Wuille c86a1cb86e
BIP143: Verification logic 7 years ago
Pieter Wuille 2d42e1a993
Refactor script validation to observe amounts 8 years ago
Sean Bowe 1a9543d064 Remove crusty old "loadVerifyingKey"/"loadProvingKey" APIs and associated invariants. 7 years ago
Daira Hopwood 00fde35b1c Make transaction test failures print the comments preceding the test JSON. 7 years ago
Daira Hopwood de609b8c54 Strict DER signatures are always enforced; remove the flag and code that used it. 7 years ago
Simon ebe750a882 Part of #1969. Changing min fee calculation also changes the dust threshold. 7 years ago
Jonas Schnelli a10a6e2a0e
[Univalue] add univalue over subtree 9 years ago
Jack Grigg cc71666a51
unsigned int -> size_t for comparing with UniValue.size() 7 years ago
Jonas Schnelli d014114d67
Remove JSON Spirit wrapper, remove JSON Spirit leftovers 9 years ago
Jonas Schnelli 851f58f94e
remove JSON Spirit UniValue wrapper 9 years ago
Jonas Schnelli 9756b7bd29
extend conversion to UniValue 9 years ago
Jeff Garzik ed21d5bd4b
Convert tree to using univalue. Eliminate all json_spirit uses. 10 years ago
Simon 6605125d4e Add comment about fix for #2026. 7 years ago
Sean Bowe 05ec7887f1 Fix use after free in transaction_tests. 7 years ago
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