Skip to content

347 with travis fix and a few nits. #414

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 20 commits into from
Dec 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
201fb4b
Add MIN_RELAY_FEE_SAT_PER_1000_WEIGHT
Nov 19, 2019
09ca1e9
Add log_trace on bump candidates tracking-buffer insertions
Jul 4, 2019
0011713
Move our_claim_txn_waiting_first_conf to pending_claim_requests
Dec 10, 2019
6a7c471
Remove superflous pending_claims
Dec 10, 2019
116b1eb
Implement bumping engine in ChannelMonitor::block_connected
Jul 2, 2019
6eb290d
Add RBF-bumping of preimage/timeout txn on remote HTLC outputs
Jul 3, 2019
4e63dff
Add test_bump_penalty_txn_on_revoked_commitment
Jul 2, 2019
d2b5999
Add test_bump_penalty_txn_on_revoked_htlcs
Dec 7, 2019
a0373dc
Add test_bump_penalty_txn_on_remote_commitment
Dec 7, 2019
feb472d
Track and react to remote partial-claiming of pending claim request
Dec 9, 2019
d421816
Add test_set_outpoints_partial_claiming
Dec 6, 2019
7be903b
Dont forget RBF previous-feerate info if tx size changed.
TheBlueMatt Dec 9, 2019
2c8bc3c
Correct input comparison for input-subset RBF bump creation
TheBlueMatt Dec 10, 2019
9eb8780
Log block tick in ChannelMonitor
Dec 10, 2019
475719d
If 2 claimable-outpoint-spending txn are in 1 block, clean up properly
TheBlueMatt Dec 10, 2019
ae042eb
Clean up claimable_outpoints when pending_claim_requests is cleaned
TheBlueMatt Dec 10, 2019
6a775ea
Dont RBF a tx twice if it hits RBF timer when one input is spent
TheBlueMatt Dec 10, 2019
0150b1f
Sanitize pending_claim_requests if no more outpoints to claim
Dec 10, 2019
85c03c1
Add test_bump_txn_sanitize_tracking_maps
Dec 10, 2019
4275b77
Avoid cloning RBF state when we just want to modify fields.
TheBlueMatt Dec 10, 2019
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
6 changes: 5 additions & 1 deletion fuzz/fuzz_targets/full_stack_target.rs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lightning/src/chain/chaininterface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ pub trait FeeEstimator: Sync + Send {
fn get_est_sat_per_1000_weight(&self, confirmation_target: ConfirmationTarget) -> u64;
}

/// Minimum relay fee as required by bitcoin network mempool policy.
pub const MIN_RELAY_FEE_SAT_PER_1000_WEIGHT: u64 = 4000;

/// Utility for tracking registered txn/outpoints and checking for matches
pub struct ChainWatchedUtil {
watch_all: bool,
Expand Down
Loading