File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1313//! to initiate and request payment for them, respectively. It also manages the payment flow via
1414//! implementing [`OffersMessageHandler`]. This module tests that functionality, including the
1515//! 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+
1643
1744use core:: time:: Duration ;
1845use crate :: blinded_path:: BlindedPath ;
You can’t perform that action at this time.
0 commit comments