Skip to content

Increase visibility for external integration tests #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions lightning/src/ln/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ pub type ChannelFeatures = Features<sealed::ChannelContext>;

impl InitFeatures {
/// Create a Features with the features we support
#[cfg(not(feature = "fuzztarget"))]
pub(crate) fn supported() -> InitFeatures {
InitFeatures {
flags: vec![2 | 1 << 5],
mark: PhantomData,
}
}
#[cfg(feature = "fuzztarget")]
pub fn supported() -> InitFeatures {
InitFeatures {
flags: vec![2 | 1 << 5],
Expand Down
6 changes: 1 addition & 5 deletions lightning/src/ln/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,13 @@ pub mod msgs;
pub mod router;
pub mod peer_handler;
pub mod chan_utils;
pub mod features;

#[cfg(feature = "fuzztarget")]
pub mod peer_channel_encryptor;
#[cfg(not(feature = "fuzztarget"))]
pub(crate) mod peer_channel_encryptor;

#[cfg(feature = "fuzztarget")]
pub mod features;
#[cfg(not(feature = "fuzztarget"))]
pub(crate) mod features;

mod channel;
mod onion_utils;

Expand Down
5 changes: 3 additions & 2 deletions lightning/src/ln/msgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,10 @@ pub struct FundingSigned {

/// A funding_locked message to be sent or received from a peer
#[derive(Clone, PartialEq)]
#[allow(missing_docs)]
pub struct FundingLocked {
pub(crate) channel_id: [u8; 32],
pub(crate) next_per_commitment_point: PublicKey,
pub channel_id: [u8; 32],
pub next_per_commitment_point: PublicKey,
}

/// A shutdown message to be sent or received from a peer
Expand Down