Skip to content

Commit d35239c

Browse files
authored
Merge pull request #3290 from tnull/2024-09-add-tx-sync-copyright
Add copyright notices to `lightning-transaction-sync` modules
2 parents b023eed + c15968c commit d35239c

File tree

5 files changed

+35
-0
lines changed

5 files changed

+35
-0
lines changed

lightning-transaction-sync/src/common.rs

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This file is Copyright its original authors, visible in version control history.
2+
//
3+
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5+
// http://opensource.org/licenses/MIT>, at your option. You may not use this file except in
6+
// accordance with one or both of these licenses.
7+
18
use bitcoin::block::Header;
29
use bitcoin::{BlockHash, OutPoint, Transaction, Txid};
310
use lightning::chain::channelmonitor::ANTI_REORG_DELAY;

lightning-transaction-sync/src/electrum.rs

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This file is Copyright its original authors, visible in version control history.
2+
//
3+
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5+
// http://opensource.org/licenses/MIT>, at your option. You may not use this file except in
6+
// accordance with one or both of these licenses.
7+
18
use crate::common::{ConfirmedTx, FilterQueue, SyncState};
29
use crate::error::{InternalError, TxSyncError};
310

lightning-transaction-sync/src/error.rs

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This file is Copyright its original authors, visible in version control history.
2+
//
3+
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5+
// http://opensource.org/licenses/MIT>, at your option. You may not use this file except in
6+
// accordance with one or both of these licenses.
7+
18
use std::fmt;
29

310
#[derive(Debug)]

lightning-transaction-sync/src/esplora.rs

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This file is Copyright its original authors, visible in version control history.
2+
//
3+
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5+
// http://opensource.org/licenses/MIT>, at your option. You may not use this file except in
6+
// accordance with one or both of these licenses.
7+
18
use crate::common::{ConfirmedTx, FilterQueue, SyncState};
29
use crate::error::{InternalError, TxSyncError};
310

lightning-transaction-sync/src/lib.rs

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This file is Copyright its original authors, visible in version control history.
2+
//
3+
// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5+
// http://opensource.org/licenses/MIT>, at your option. You may not use this file except in
6+
// accordance with one or both of these licenses.
7+
18
//! Provides utilities for syncing LDK via the transaction-based [`Confirm`] interface.
29
//!
310
//! The provided synchronization clients need to be registered with a [`ChainMonitor`] via the

0 commit comments

Comments
 (0)