Commit Graph

30 Commits (a473ab5d79dc7c1f6167854ed4ff52dfb040f04b)

Author SHA1 Message Date
Oliver Gugger 1811aa49a3
looprpc: remove streaming REST endpoint, fix comment 4 years ago
Joost Jager b69e8cb275
multi: allow loop in last hop restriction 4 years ago
Joost Jager 535e964ec9
loopdb: migrate loop in channel to last hop
A database field was already in place to allow channel selection for
loop in. Unfortunately this field, which contains a short channel id,
isn't easily usable for controlling the loop server payment. Because of
non-strict forwarding, it is only possible to constrain a route to a
specific last hop pubkey.

This commit converts the existing field into a pubkey field.
4 years ago
Olaoluwa Osuntokun fec3586e21
looprpc: re-gen protos 4 years ago
Olaoluwa Osuntokun 39640d2465
looprpc: add cli commands to all calls 4 years ago
Oliver Gugger b694a76be0
looprpc+loopd: deprecate string ID 4 years ago
Oliver Gugger 3e25bc3174
loopd+looprpc: add REST compatible status calls 4 years ago
Johan T. Halseth b102802ce5
looprpc: add SwapPublicationDeadline to QuoteRequest 4 years ago
Johan T. Halseth 48f6f0fc5c
looprpc: add updated server proto 4 years ago
Oliver Gugger 47bf510bd8
loopd: add RPC method to list tokens 4 years ago
Johan T. Halseth ea1f9ff8ba
looprpc: add SwapPublicationDeadline to client proto
cmd/loopd swapclient_server: use SwapPublicationDeadline from LoopOutRequest
4 years ago
Johan T. Halseth ae3893c2d4
looprpc: add swap_publication_deadline to ServerLoopOutRequest 4 years ago
Johan T. Halseth 0023d1a0da
looprpc: update to new server protos
We update to new set of server protos where new Terms calls are added.
Here static information will be returned from the server.

We no longer have a feebase+feerate, but get a final fee directly
returned by the server.
5 years ago
Johan T. Halseth 0cff92d265
looprpc+cmd: deprecate dynamic terms
We move destination and cltv to QuoteResponse, and deprecate the
non-static fields.

Terms will now only show max/min swap sizes.
5 years ago
Johan T. Halseth 5fd51c0a3f
looprpc: remove go_package option
Not needed.
5 years ago
Oliver Gugger be9a2b9a47
looprpc: add external HTLC flag to quote request 5 years ago
Oliver Gugger 036db6646f
looprpc: regenerate with correct version 5 years ago
Nigel Christian 861808530a loop: add REST endpoints for Loop In 5 years ago
Wilmer Paulino c16e170338
multi: expose confirmation target for loop out HTLC sweep 5 years ago
Wilmer Paulino a138790822
multi: expose confirmation target for loop out quotes 5 years ago
Wilmer Paulino 5d2aaeb7ef
looprpc: update generated protos to use protobuf v1.3.1
Although loop already depends on protobuf v1.3.1, the generated protos
were not updated to use this version.
5 years ago
Joost Jager 6aa9071c4d
looprpc+loop: report swap cost over rpc 5 years ago
Joost Jager b5d2fb3894
loopd: add loop in state InvoiceSettled 5 years ago
Joost Jager f7f9751a1a
loop: hide loop in channel selection flag 5 years ago
Joost Jager 2e48ead6d6
loopd: loop in from external address
Allow user to specify that htlc will be published by an external source.
In that case no internal htlc tx will be published.

To facilitate sending to the htlc address, the swap initiation response
is extended with that address.
5 years ago
Joost Jager 3e960b8b54
multi: loop in swap 5 years ago
Wilmer Paulino 9edb910f53
looprpc: generate client REST definitions 5 years ago
Olaoluwa Osuntokun e299dc696c
looprpc: rename service actions from uncharge to loop out
In this commit, we rename all the service actions from uncharge, to loop
out instead. We do this in order to be line with the new naming scheme
for the service.
5 years ago
Olaoluwa Osuntokun 68d49eee88
multi: update import paths to point to new looprpc pacakge 5 years ago
Olaoluwa Osuntokun ba1f427cf4
looprpc: move client+server protos to new looprpc package 5 years ago