File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 13
13
//! to initiate and request payment for them, respectively. It also manages the payment flow via
14
14
//! implementing [`OffersMessageHandler`]. This module tests that functionality, including the
15
15
//! resulting [`Event`] generation.
16
+ //!
17
+ //! Two-node success tests use an announced channel:
18
+ //!
19
+ //! Alice --- Bob
20
+ //!
21
+ //! While two-node failure tests use an unannounced channel:
22
+ //!
23
+ //! Alice ... Bob
24
+ //!
25
+ //! Six-node tests use unannounced channels for the sender and recipient and announced channels for
26
+ //! the rest of the network.
27
+ //!
28
+ //! nodes[4]
29
+ //! / \
30
+ //! / \
31
+ //! / \
32
+ //! Alice ... Bob -------- Charlie ... David
33
+ //! \ /
34
+ //! \ /
35
+ //! \ /
36
+ //! nodes[5]
37
+ //!
38
+ //! Unnamed nodes are needed to ensure unannounced nodes can create two-hop blinded paths.
39
+ //!
40
+ //! Nodes without channels are disconnected and connected as needed to ensure that deterministic
41
+ //! blinded paths are used.
42
+
16
43
17
44
use core:: time:: Duration ;
18
45
use crate :: blinded_path:: BlindedPath ;
You can’t perform that action at this time.
0 commit comments