File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 7
7
// You may not use this file except in accordance with one or both of these
8
8
// licenses.
9
9
10
- //! The top-level network map tracking logic lives here.
10
+ //! The [`NetworkGraph`] stores the network gossip and [`P2PGossipSync`] fetches it from peers
11
11
12
12
use bitcoin:: secp256k1:: constants:: PUBLIC_KEY_SIZE ;
13
13
use bitcoin:: secp256k1:: PublicKey ;
Original file line number Diff line number Diff line change 7
7
// You may not use this file except in accordance with one or both of these
8
8
// licenses.
9
9
10
- //! The top-level routing/network map tracking logic lives here.
11
- //!
12
- //! You probably want to create a P2PGossipSync and use that as your RoutingMessageHandler and then
13
- //! interrogate it to get routes for your own payments.
10
+ //! The router finds paths within a [`NetworkGraph`] for a payment.
14
11
15
12
use bitcoin:: secp256k1:: PublicKey ;
16
13
use bitcoin:: hashes:: Hash ;
You can’t perform that action at this time.
0 commit comments