File tree Expand file tree Collapse file tree 3 files changed +560
-0
lines changed Expand file tree Collapse file tree 3 files changed +560
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ pub const KEY_PAIR_SIZE: usize = 96;
3333/// The size of a full ElligatorSwift encoding.
3434pub const ELLSWIFT_ENCODING_SIZE : usize = 64 ;
3535
36+ /// The size of a silent payments public data object.
37+ pub const SILENT_PAYMENTS_PUBLIC_DATA_SIZE : usize = 98 ;
38+
3639/// The Prime for the secp256k1 field element.
3740#[ rustfmt:: skip]
3841pub const FIELD_SIZE : [ u8 ; 32 ] = [
Original file line number Diff line number Diff line change @@ -166,11 +166,15 @@ pub mod constants;
166166pub mod ecdh;
167167pub mod ecdsa;
168168pub mod ellswift;
169+ pub mod silentpayments;
169170pub mod scalar;
170171pub mod schnorr;
171172#[ cfg( feature = "serde" ) ]
172173mod serde_util;
173174
175+ // expose ffi::SilentpaymentsLabelLookupFunction
176+ pub use ffi:: SilentpaymentsLabelLookupFunction ;
177+
174178use core:: marker:: PhantomData ;
175179use core:: ptr:: NonNull ;
176180use core:: { fmt, mem, str} ;
You can’t perform that action at this time.
0 commit comments