Skip to content

Commit 8354e0c

Browse files
authored
Merge pull request #2419 from jurvis/2023-03-interactivetxs
Interactive Transaction Construction
2 parents 9b7bbe1 + c56198a commit 8354e0c

File tree

5 files changed

+1401
-6
lines changed

5 files changed

+1401
-6
lines changed

lightning/src/events/bump_transaction.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ use bitcoin::secp256k1;
4141
use bitcoin::secp256k1::{PublicKey, Secp256k1};
4242
use bitcoin::secp256k1::ecdsa::Signature;
4343

44-
const EMPTY_SCRIPT_SIG_WEIGHT: u64 = 1 /* empty script_sig */ * WITNESS_SCALE_FACTOR as u64;
44+
pub(crate) const EMPTY_SCRIPT_SIG_WEIGHT: u64 = 1 /* empty script_sig */ * WITNESS_SCALE_FACTOR as u64;
4545

4646
const BASE_INPUT_SIZE: u64 = 32 /* txid */ + 4 /* vout */ + 4 /* sequence */;
4747

48-
const BASE_INPUT_WEIGHT: u64 = BASE_INPUT_SIZE * WITNESS_SCALE_FACTOR as u64;
48+
pub(crate) const BASE_INPUT_WEIGHT: u64 = BASE_INPUT_SIZE * WITNESS_SCALE_FACTOR as u64;
4949

5050
/// A descriptor used to sign for a commitment transaction's anchor output.
5151
#[derive(Clone, Debug, PartialEq, Eq)]

0 commit comments

Comments
 (0)