projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a scoring decay method to the `ScoreUpdate` trait
[rust-lightning]
/
lightning
/
src
/
util
/
mod.rs
diff --git
a/lightning/src/util/mod.rs
b/lightning/src/util/mod.rs
index cc1b5f581afb233fd1ee5e6c265d9d5f9ea492ae..e86885a83dbd0160b42bc103ecb5e737ea39bb7b 100644
(file)
--- a/
lightning/src/util/mod.rs
+++ b/
lightning/src/util/mod.rs
@@
-22,14
+22,14
@@
pub mod invoice;
pub mod persist;
pub mod string;
pub mod wakers;
pub mod persist;
pub mod string;
pub mod wakers;
+#[cfg(fuzzing)]
+pub mod base32;
+#[cfg(not(fuzzing))]
+pub(crate) mod base32;
pub(crate) mod atomic_counter;
pub(crate) mod byte_utils;
pub(crate) mod chacha20;
pub(crate) mod atomic_counter;
pub(crate) mod byte_utils;
pub(crate) mod chacha20;
-#[cfg(fuzzing)]
-pub mod zbase32;
-#[cfg(not(fuzzing))]
-pub(crate) mod zbase32;
#[cfg(not(fuzzing))]
pub(crate) mod poly1305;
pub(crate) mod chacha20poly1305rfc;
#[cfg(not(fuzzing))]
pub(crate) mod poly1305;
pub(crate) mod chacha20poly1305rfc;