zebra/zebra-chain/src/transaction
Deirdre Connolly 9734ea1014
Check jubjub key correctness independent of redjubjub / jubjub (#3154)
* Ensure that sapling::keys::TransmissionKey jubjub point is always in the prime order group

* Adjust TransmissionKey check; add AuthorizingKey check

* Move ValueCommitment small order check to deserialization

* Apply suggestions from code review

Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>

* Use is_torsion_free() instead of is_identity() and is_prime_order()

* Add EphemeralPublicKey small order check on instantiation; remove old checks

* Use VerificationKey instead of VerificationKeyBytes; fix tests

* Use ValidatingKey instead of VerificationKeyBytes for rk

* Reject identity when creating an Orchard EphemeralPublicKey

* Make documentation more consistent, use generator in tests

* s/JubJub/Jubjub/

* Fix zebra-consensus tests (insert_fake_orchard_shielded_data)

* Create NotSmallOrderValueCommitment, since intermediate values can be the identity

* Clarify documentation

* rustdoc

* Tidy rustdoc

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
2021-12-22 15:10:34 +00:00
..
tests Validate coinbase expiration height (#3082) 2021-11-23 05:17:05 +00:00
arbitrary.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
auth_digest.rs Stop ignoring the mempool conflicting transaction reject list size limit (#2855) 2021-10-12 10:35:50 +10:00
hash.rs
joinsplit.rs Sprout note commitment trees (#3051) 2021-11-18 23:05:52 +00:00
lock_time.rs Validate transaction lock times (#3060) 2021-11-23 05:53:53 +00:00
memo.rs Fix new clippy lints in clippy nightly (#3176) 2021-12-09 14:19:14 +00:00
serialize.rs Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
sighash.rs
tests.rs
txid.rs
unmined.rs ZIP-401: weighted random mempool eviction (#2889) 2021-10-27 00:21:19 +00:00