projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support (de)serializing payment_data in onion TLVs and track them
[rust-lightning]
/
lightning
/
src
/
util
/
mod.rs
diff --git
a/lightning/src/util/mod.rs
b/lightning/src/util/mod.rs
index aab77035d387d452d469067329e6db9ad77a69e2..8c94ac5ca2230aac99083f0f7a2b01d900101116 100644
(file)
--- a/
lightning/src/util/mod.rs
+++ b/
lightning/src/util/mod.rs
@@
-23,5
+23,10
@@
pub mod config;
#[cfg(test)]
pub(crate) mod test_utils;
#[cfg(test)]
pub(crate) mod test_utils;
+/// impls of traits that add exra enforcement on the way they're called. Useful for detecting state
+/// machine errors and used in fuzz targets and tests.
+#[cfg(any(test, feature = "fuzztarget"))]
+pub mod enforcing_trait_impls;
+
#[macro_use]
pub(crate) mod fuzz_wrappers;
#[macro_use]
pub(crate) mod fuzz_wrappers;