projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8916716
)
Make some more things pub(crate) as they don't need exposed now
author
Matt Corallo
<git@bluematt.me>
Fri, 20 Jul 2018 02:54:20 +0000
(22:54 -0400)
committer
Matt Corallo
<git@bluematt.me>
Fri, 20 Jul 2018 02:54:45 +0000
(22:54 -0400)
src/ln/mod.rs
patch
|
blob
|
history
src/util/mod.rs
patch
|
blob
|
history
diff --git
a/src/ln/mod.rs
b/src/ln/mod.rs
index 7cd4272e13c1013e5e4abe1d38380aa0bd4e76dd..add8b4df1aa2e722dbac5ce577a840c74d2ff5a0 100644
(file)
--- a/
src/ln/mod.rs
+++ b/
src/ln/mod.rs
@@
-2,9
+2,13
@@
pub mod channelmanager;
pub mod channelmonitor;
pub mod msgs;
pub mod router;
pub mod channelmonitor;
pub mod msgs;
pub mod router;
-pub mod peer_channel_encryptor;
pub mod peer_handler;
pub mod peer_handler;
+#[cfg(feature = "fuzztarget")]
+pub mod peer_channel_encryptor;
+#[cfg(not(feature = "fuzztarget"))]
+pub(crate) mod peer_channel_encryptor;
+
#[cfg(feature = "fuzztarget")]
pub mod channel;
#[cfg(not(feature = "fuzztarget"))]
#[cfg(feature = "fuzztarget")]
pub mod channel;
#[cfg(not(feature = "fuzztarget"))]
diff --git
a/src/util/mod.rs
b/src/util/mod.rs
index a39d288488d0a18e984296e106e358dedbab82cf..008a9e1d7e1e0649b4fe07d92f1f2e142751adcc 100644
(file)
--- a/
src/util/mod.rs
+++ b/
src/util/mod.rs
@@
-1,4
+1,3
@@
-pub mod transaction_utils;
pub mod events;
pub(crate) mod byte_utils;
pub mod events;
pub(crate) mod byte_utils;
@@
-6,6
+5,7
@@
pub(crate) mod chacha20poly1305rfc;
pub(crate) mod internal_traits;
pub(crate) mod rng;
pub(crate) mod sha2;
pub(crate) mod internal_traits;
pub(crate) mod rng;
pub(crate) mod sha2;
+pub(crate) mod transaction_utils;
#[cfg(feature = "fuzztarget")]
pub use self::rng::reset_rng_state;
#[cfg(feature = "fuzztarget")]
pub use self::rng::reset_rng_state;