lnd/routing/route
Johan T. Halseth 864e64e725
channeldb: validate MPP options when registering attempts
We add validation making sure we are not trying to register MPP shards
for non-MPP payments, and vice versa. We also add validtion of total
sent amount against payment value, and matching MPP options.

We also add methods for copying Route/Hop, since it is useful to use
for modifying the route amount in the test.
2020-04-02 19:31:23 +02:00
..
route_test.go routing/route: define route.ReceiverAmt() method 2020-04-02 10:24:34 +02:00
route.go channeldb: validate MPP options when registering attempts 2020-04-02 19:31:23 +02:00