1 // This file is Copyright its original authors, visible in version control
2 // history and in the source files from which this was generated.
4 // This file is licensed under the license available in the LICENSE or LICENSE.md
5 // file in the root of this repository or, if no such file exists, the same
6 // license as that which applies to the original source files from which this
7 // source was automatically generated.
9 //! Some utility modules live here. See individual sub-modules for more info.
11 use alloc::str::FromStr;
12 use alloc::string::String;
13 use core::ffi::c_void;
14 use core::convert::Infallible;
15 use bitcoin::hashes::Hash;
16 use crate::c_types::*;
17 #[cfg(feature="no-std")]
18 use alloc::{vec::Vec, boxed::Box};
23 pub mod message_signing;
36 use alloc::str::FromStr;
37 use alloc::string::String;
38 use core::ffi::c_void;
39 use core::convert::Infallible;
40 use bitcoin::hashes::Hash;
41 use crate::c_types::*;
42 #[cfg(feature="no-std")]
43 use alloc::{vec::Vec, boxed::Box};
48 use alloc::str::FromStr;
49 use alloc::string::String;
50 use core::ffi::c_void;
51 use core::convert::Infallible;
52 use bitcoin::hashes::Hash;
53 use crate::c_types::*;
54 #[cfg(feature="no-std")]
55 use alloc::{vec::Vec, boxed::Box};
60 use alloc::str::FromStr;
61 use alloc::string::String;
62 use core::ffi::c_void;
63 use core::convert::Infallible;
64 use bitcoin::hashes::Hash;
65 use crate::c_types::*;
66 #[cfg(feature="no-std")]
67 use alloc::{vec::Vec, boxed::Box};
72 use alloc::str::FromStr;
73 use alloc::string::String;
74 use core::ffi::c_void;
75 use core::convert::Infallible;
76 use bitcoin::hashes::Hash;
77 use crate::c_types::*;
78 #[cfg(feature="no-std")]
79 use alloc::{vec::Vec, boxed::Box};
82 mod transaction_utils {
84 use alloc::str::FromStr;
85 use alloc::string::String;
86 use core::ffi::c_void;
87 use core::convert::Infallible;
88 use bitcoin::hashes::Hash;
89 use crate::c_types::*;
90 #[cfg(feature="no-std")]
91 use alloc::{vec::Vec, boxed::Box};
96 use alloc::str::FromStr;
97 use alloc::string::String;
98 use core::ffi::c_void;
99 use core::convert::Infallible;
100 use bitcoin::hashes::Hash;
101 use crate::c_types::*;
102 #[cfg(feature="no-std")]
103 use alloc::{vec::Vec, boxed::Box};
108 use alloc::str::FromStr;
109 use alloc::string::String;
110 use core::ffi::c_void;
111 use core::convert::Infallible;
112 use bitcoin::hashes::Hash;
113 use crate::c_types::*;
114 #[cfg(feature="no-std")]
115 use alloc::{vec::Vec, boxed::Box};