projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve routing-related documentation
[rust-lightning]
/
lightning
/
src
/
util
/
events.rs
diff --git
a/lightning/src/util/events.rs
b/lightning/src/util/events.rs
index 43a2dc3bd6f881ab4ec69241f30f5a2b37651a8e..82c215a2697692b453e50581edcedf572faf5d32 100644
(file)
--- a/
lightning/src/util/events.rs
+++ b/
lightning/src/util/events.rs
@@
-13,7
+13,7
@@
use util::ser::{Writeable, Writer, MaybeReadable, Readable};
use bitcoin::blockdata::script::Script;
use bitcoin::blockdata::script::Script;
-use secp256k1::key::PublicKey;
+use
bitcoin::
secp256k1::key::PublicKey;
use std::time::Duration;
use std::time::Duration;
@@
-332,9
+332,9
@@
pub enum MessageSendEvent {
action: msgs::ErrorAction
},
/// When a payment fails we may receive updates back from the hop where it failed. In such
action: msgs::ErrorAction
},
/// When a payment fails we may receive updates back from the hop where it failed. In such
- /// cases this event is generated so that we can inform the
router
of this information.
+ /// cases this event is generated so that we can inform the
network graph
of this information.
PaymentFailureNetworkUpdate {
PaymentFailureNetworkUpdate {
- /// The channel/node update which should be sent to
rout
er
+ /// The channel/node update which should be sent to
NetGraphMsgHandl
er
update: msgs::HTLCFailChannelUpdate,
}
}
update: msgs::HTLCFailChannelUpdate,
}
}