Skip to content

Commit 1b9bd8f

Browse files
Add onion_messages module
Git makes it difficult to add parts of a new file unless the file is already tracked. This was the quickest workaround to split up adding onion_message.rs in parts
1 parent 8e5cf75 commit 1b9bd8f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

lightning/src/ln/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pub mod functional_test_utils;
2828
pub mod channelmanager;
2929
pub mod inbound_payment;
3030
pub mod msgs;
31+
pub mod onion_message;
3132
pub mod peer_handler;
3233
pub mod chan_utils;
3334
pub mod features;

lightning/src/ln/onion_message.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// This file is Copyright its original authors, visible in version control
2+
// history.
3+
//
4+
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
5+
// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
7+
// You may not use this file except in accordance with one or both of these
8+
// licenses.
9+
10+
//! Onion Messages: sending, receiving, forwarding, and ancillary utilities live here

0 commit comments

Comments
 (0)