File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -431,6 +431,15 @@ where
431
431
/// [`io::ErrorKind::NotFound`] variant correctly. For more information, please see the
432
432
/// documentation for [`MonitorUpdatingPersister`].
433
433
///
434
+ /// For `monitor_key`, channel storage keys be the channel's transaction ID and index, or
435
+ /// [`OutPoint`], with an underscore `_` between them. For example, given:
436
+ ///
437
+ /// - Transaction ID: `deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef`
438
+ /// - Index: `1`
439
+ ///
440
+ /// The correct `monitor_key` would be:
441
+ /// `deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef_1`
442
+ ///
434
443
/// Loading a large number of monitors will be faster if done in parallel. You can use this
435
444
/// function to accomplish this. Take care to limit the number of parallel readers.
436
445
pub fn read_channel_monitor_with_updates < B : Deref , F : Deref + Clone > (
You can’t perform that action at this time.
0 commit comments