lnd.xprv/lnrpc/invoicesrpc
Olaoluwa Osuntokun 1e51ec0a2d
lnrpc/invoicesrpc: clamp down on max invoice size
In this commit, we move to clamp down somewhat on the max invoice size
after the limit was removed as part of the mpp changes. In #4210, it was
reported that a value of -1, would underflow and end up as 18 million
BTC, which would trip checks w.r.t the max expressible value in mSAT.
In this commit, we clamp things down to 100k BTC, which should be more
than enough for anybody.

Fixes #4210.
2020-04-21 16:44:44 -07:00
..
addinvoice.go lnrpc/invoicesrpc: clamp down on max invoice size 2020-04-21 16:44:44 -07:00
config_active.go rpc: allow wumbo invoices 2020-04-09 19:02:08 -07:00
config_default.go invoicesrpc: create sub server 2019-02-01 09:42:35 +01:00
driver.go invoicesrpc: create sub server 2019-02-01 09:42:35 +01:00
invoices_server.go rpc: allow wumbo invoices 2020-04-09 19:02:08 -07:00
invoices.pb.go lnrpc: run clang-format 2020-03-10 20:19:08 +01:00
invoices.proto lnrpc: run clang-format 2020-03-10 20:19:08 +01:00
log.go invoicesrpc: create sub server 2019-02-01 09:42:35 +01:00
utils.go multi: rename key_send, key-send and key send to keysend 2020-01-16 18:37:16 -08:00