lnd/routing
yyforyongyu 34d0e5d4c5 routing+channeldb: make MPPayment into an interface
This commit turns `MPPayment` into an interface inside `routing`. Having
this interface gives us the benefit to write more granular unit tests
inside payment lifecycle. As seen from the modified unit tests, several
hacky ways of testing the `SendPayment` method is now replaced by a mock
over `MPPayment`.
2023-10-06 16:38:33 -07:00
..
2023-09-21 22:35:33 -04:00
2022-01-24 12:19:02 +02:00
2023-01-17 07:26:57 +08:00
2022-01-24 12:19:02 +02:00
2021-09-29 17:00:04 +02:00
2019-12-11 00:17:04 +01:00
2023-09-21 22:35:33 -04:00
2023-09-21 22:35:33 -04:00

routing

Build Status MIT licensed GoDoc

The routing package implements authentication+validation of channel announcements, pruning of the channel graph, path finding within the network, sending outgoing payments into the network and synchronizing new peers to our channel graph state.

Installation and Updating

$  go get -u github.com/lightningnetwork/lnd/routing