projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3cba654
)
Add more logs in OnchainTxHandler
2020-03-519-nits
author
Antoine Riard
<ariard@student.42.fr>
Wed, 26 Feb 2020 23:21:53 +0000
(18:21 -0500)
committer
Matt Corallo
<git@bluematt.me>
Tue, 17 Mar 2020 18:09:21 +0000
(14:09 -0400)
lightning/src/ln/onchaintx.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/onchaintx.rs
b/lightning/src/ln/onchaintx.rs
index 3e985a37f903dbdc35d2fbfb49ef0c5556617319..3f21d4c1f64b4a4a73b708c9e924863960384e50 100644
(file)
--- a/
lightning/src/ln/onchaintx.rs
+++ b/
lightning/src/ln/onchaintx.rs
@@
-482,6
+482,7
@@
impl OnchainTxHandler {
where B::Target: BroadcasterInterface,
F::Target: FeeEstimator
{
where B::Target: BroadcasterInterface,
F::Target: FeeEstimator
{
+ log_trace!(self, "Block at height {} connected with {} claim requests", height, claimable_outpoints.len());
let mut new_claims = Vec::new();
let mut aggregated_claim = HashMap::new();
let mut aggregated_soonest = ::std::u32::MAX;
let mut new_claims = Vec::new();
let mut aggregated_claim = HashMap::new();
let mut aggregated_soonest = ::std::u32::MAX;
@@
-638,6
+639,7
@@
impl OnchainTxHandler {
}
// Build, bump and rebroadcast tx accordingly
}
// Build, bump and rebroadcast tx accordingly
+ log_trace!(self, "Bumping {} candidates", bump_candidates.len());
for first_claim_txid in bump_candidates.iter() {
if let Some((new_timer, new_feerate)) = {
if let Some(claim_material) = self.pending_claim_requests.get(first_claim_txid) {
for first_claim_txid in bump_candidates.iter() {
if let Some((new_timer, new_feerate)) = {
if let Some(claim_material) = self.pending_claim_requests.get(first_claim_txid) {