Commit Graph

5 Commits

Author SHA1 Message Date
Conner Fromknecht
8f5d78c875
build+lncli: default to hex encoding for byte slices
This commit swaps out golang/protobuf/jsonpb for a custom variant that
by default prints byte slices as hex, which is more useful for our
setting. Some existing wrapper structs are removed as they can now be
printed directly with the new jsonpb.

!!! NOTE !!!

This commit introduces a breaking change to lncli listinvoices since
payment hashes and preimages will now be printed in hex instead of
base64.
2019-12-20 01:05:08 -08:00
Anton Kovalenko
298f35cdfb lncli addholdinvoice: allow specifying msat with --amt_msat
* pass amt and amt_msat to rpc, letting server give an error if both
are present
* take amt from an extra argument if neither amt nor amt_ms are present
2019-12-09 18:45:27 +03:00
Joost Jager
f6d67945dc
lncli: add settle invoice command 2019-03-15 10:09:26 +01:00
Joost Jager
22b68e5dc7
lncli: add hold invoice 2019-03-15 10:09:00 +01:00
Joost Jager
a8baa23c2e
lncli: add cancel invoice command 2019-02-06 07:29:38 +01:00