-
Notifications
You must be signed in to change notification settings - Fork 84
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
Upgrade to LDK 0.0.119 #214
Upgrade to LDK 0.0.119 #214
Conversation
608f53d
to
59da31c
Compare
Currently blocked as we need to figure out what to do about the |
59da31c
to
e261ba9
Compare
e261ba9
to
8ac035a
Compare
8ac035a
to
06db0fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes related to onion message and offers PRs all seem fine. Since the OnionMessenger
is configured to ignore all messages -- and we don't expose offer creation from ChannelManager
-- the FakeMessageRouter
should never be reached. Nor does the ConnectionNeeded
event need to be handled yet as we'll never see one generated given the above configuration.
let locked_outputs = self.outputs.lock().unwrap(); | ||
locked_outputs | ||
.iter() | ||
.filter_map(|o| { | ||
if let Some(confirmation_hash) = o.confirmation_hash { | ||
if let Some(latest_spending_tx) = o.latest_spending_tx.as_ref() { | ||
return Some((latest_spending_tx.txid(), Some(confirmation_hash))); | ||
if let Some(confirmation_height) = o.confirmation_height { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is duplicated from the previous line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mh, no, oneconfirmation_hash
, the other is confirmation_height
? Or am I misunderstanding what you're saying?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, no, I just misread it.
06db0fb
to
c13fe2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Feel free to squash
let locked_outputs = self.outputs.lock().unwrap(); | ||
locked_outputs | ||
.iter() | ||
.filter_map(|o| { | ||
if let Some(confirmation_hash) = o.confirmation_hash { | ||
if let Some(latest_spending_tx) = o.latest_spending_tx.as_ref() { | ||
return Some((latest_spending_tx.txid(), Some(confirmation_hash))); | ||
if let Some(confirmation_height) = o.confirmation_height { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, no, I just misread it.
c13fe2d
to
c9cd694
Compare
Squashed without further changes. |
We upgrade LDK to 0.0.119, BDK to 0.29.0, and rust-bitcoin to 0.30, esplora-client to 0.6, etc.