routing+channeldb: send payment metadata from invoice

This commit is contained in:
Joost Jager
2021-10-04 09:33:12 +02:00
parent 135e27ddd3
commit 9195f29e61
17 changed files with 1580 additions and 1401 deletions

View File

@@ -1971,6 +1971,10 @@ type LightningPayment struct {
// optimize for fees only, to 1 to optimize for reliability only or a
// value in between for a mix.
TimePref float64
// Metadata is additional data that is sent along with the payment to
// the payee.
Metadata []byte
}
// AMPOptions houses information that must be known in order to send an AMP