File tree 3 files changed +517
-0
lines changed
3 files changed +517
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ pub const KEY_PAIR_SIZE: usize = 96;
33
33
/// The size of a full ElligatorSwift encoding.
34
34
pub const ELLSWIFT_ENCODING_SIZE : usize = 64 ;
35
35
36
+ /// The size of a silent payment public data.
37
+ pub const SILENT_PAYMENTS_PUBLIC_DATA_SIZE : usize = 98 ;
38
+
36
39
/// The Prime for the secp256k1 field element.
37
40
#[ rustfmt:: skip]
38
41
pub const FIELD_SIZE : [ u8 ; 32 ] = [
Original file line number Diff line number Diff line change @@ -166,11 +166,15 @@ pub mod constants;
166
166
pub mod ecdh;
167
167
pub mod ecdsa;
168
168
pub mod ellswift;
169
+ pub mod silentpayments;
169
170
pub mod scalar;
170
171
pub mod schnorr;
171
172
#[ cfg( feature = "serde" ) ]
172
173
mod serde_util;
173
174
175
+ // expose ffi::SilentpaymentsLabelLookupFunction
176
+ pub use ffi:: SilentpaymentsLabelLookupFunction ;
177
+
174
178
use core:: marker:: PhantomData ;
175
179
use core:: ptr:: NonNull ;
176
180
use core:: { fmt, mem, str} ;
You can’t perform that action at this time.
0 commit comments