Skip to content

Commit bce504b

Browse files
dunxenwpaulinojurvis
committed
Initial InteractiveTxConstructor design
Co-authored-by: Wilmer Paulino <[email protected]> Co-authored-by: Duncan Dean <[email protected]> Co-authored-by: Jurvis Tan <[email protected]>
1 parent cd16cdd commit bce504b

File tree

5 files changed

+929
-7
lines changed

5 files changed

+929
-7
lines changed

lightning/src/events/bump_transaction.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ use bitcoin::secp256k1;
3737
use bitcoin::secp256k1::{PublicKey, Secp256k1};
3838
use bitcoin::secp256k1::ecdsa::Signature;
3939

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

4242
const BASE_INPUT_SIZE: u64 = 32 /* txid */ + 4 /* vout */ + 4 /* sequence */;
4343

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

4646
/// The parameters required to derive a channel signer via [`SignerProvider`].
4747
#[derive(Clone, Debug, PartialEq, Eq)]

0 commit comments

Comments
 (0)