Add byte encodings for Binding, SpendAuth basepoints.
These were extracted by adding printlns to the test suite for librustzcash.
This commit is contained in:
parent
1b7f1b0047
commit
faebd2b783
|
@ -0,0 +1,15 @@
|
|||
/// The byte-encoding of the basepoint for `SpendAuthSig`.
|
||||
// Extracted ad-hoc from librustzcash
|
||||
// XXX add tests for this value.
|
||||
pub const SPENDAUTHSIG_BASEPOINT_BYTES: [u8; 32] = [
|
||||
48, 181, 242, 170, 173, 50, 86, 48, 188, 221, 219, 206, 77, 103, 101, 109, 5, 253, 28, 194,
|
||||
208, 55, 187, 83, 117, 182, 233, 109, 158, 1, 161, 215,
|
||||
];
|
||||
|
||||
/// The byte-encoding of the basepoint for `BindingSig`.
|
||||
// Extracted ad-hoc from librustzcash
|
||||
// XXX add tests for this value.
|
||||
pub const BINDINGSIG_BASEPOINT_BYTES: [u8; 32] = [
|
||||
139, 106, 11, 56, 185, 250, 174, 60, 59, 128, 59, 71, 176, 241, 70, 173, 80, 171, 34, 30, 110,
|
||||
42, 251, 230, 219, 222, 69, 203, 169, 211, 129, 237,
|
||||
];
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
//! Docs require the `nightly` feature until RFC 1990 lands.
|
||||
|
||||
mod constants;
|
||||
mod error;
|
||||
mod public_key;
|
||||
mod secret_key;
|
||||
|
@ -44,11 +45,3 @@ mod private {
|
|||
impl Sealed for Binding {}
|
||||
impl Sealed for SpendAuth {}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
assert_eq!(2 + 2, 4);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue