1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// TODO(eduardo): renepaystatus should be similar to paystatus
// TODO(eduardo): MCF should consider pending HTLCs occupy some capacity in the
// routing channels.
// TODO(eduardo): check a problem with param_millionths(), if I input an integer
// should or shouldn't be multiplied by 10^6?
// TODO(eduardo): add an option entry for maxfeepercent
// TODO(eduardo): write a man entry for renepay
// TODO(eduardo): check if paynotes are meaningful
// TODO(eduardo): remove assertions, introduce LOG_BROKEN messages
// TODO(eduardo): Test ideas
// - make a payment to a node that is hidden behind private channels, check that
// private channels are removed from the gossmap and chan_extra_map
// - one payment route hangs, and the rest keep waiting, eventually all MPP
// should timeout and we retry excluding the unresponsive path (are we able to
// identify it?)
// - a particular route fails because fees are wrong, we update the gossip
// information and redo the path.
// - a MPP in which several parts have a common intermediary node
// source -MANY- o -MANY- dest
// - a MPP in which several parts have a common intermediary channel
// source -MANY- o--o -MANY- dest
// - a payment with a direct channel to the destination
// - payment failures:
// - destination is not in the gossmap
// - destination is offline
// - with current knowledge there is no flow solution to destination
/* Our convenient global data, here in one place. */
;
/* Set in init */
extern struct pay_plugin *pay_plugin;
/* LIGHTNING_PLUGINS_RENEPAY_PAYPLUGIN_H */