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.
2020-02-17 19:59:05 +01:00
Oliver Gugger
8771d06aad
Merge pull request #155 from wpaulino/signer-compute-input-script
...
lndclient: expose ComputeInputScript in SignerClient
2020-02-14 09:58:47 +01:00
Wilmer Paulino
0b053e6868
lndclient: expose ComputeInputScript in SignerClient
2020-02-12 17:01:45 -08:00
Alex Bosworth
4d2018e852
Merge pull request #150 from lightninglabs/v0.4.1-beta
...
version: bump version to 0.4.1-beta
2020-02-11 09:02:40 -08:00
Joost Jager
1ebba410ea
Merge pull request #151 from joostjager/last-hop-restriction
...
lndclient: add last hop restriction
2020-02-11 14:06:31 +01:00
Joost Jager
f3887ebb97
lndclient: add last hop restriction
2020-02-11 12:32:24 +01:00
Oliver Gugger
736daafb5a
Merge pull request #143 from wpaulino/lightning-client-channel-backups
...
lndclient: expose retrieval of channel backups through LightningClient
2020-02-11 09:27:36 +01:00
Wilmer Paulino
a5f56342df
lndclient: expose retrieval of channel backups through LightningClient
2020-02-10 11:50:34 -08:00
Alex Bosworth
29fa117c75
version: bump version to 0.4.1-beta
2020-02-10 09:48:11 -08:00
Oliver Gugger
79c54b9334
lsat: add stream interceptor
2020-02-10 10:13:01 +01:00
Alex Bosworth
e8dce9e67f
Merge pull request #149 from guggero/quote-fix
...
cmd/loop: remove number of flags restriction
2020-02-06 11:11:39 -08:00
Alex Bosworth
ba7a018a5c
Merge pull request #148 from guggero/cors-header
...
loopd: add option to configure CORS origin
2020-02-06 11:10:24 -08:00
Oliver Gugger
60e1fd2481
cmd/loop: remove number of flags restriction
...
With the restriction in place, it is not possible to use the
--conf_target and --fast flag at the same time. To avoid similar
problems in the future, the check for the number of amounts is
removed completely.
2020-02-06 14:04:26 +01:00
Oliver Gugger
ae376a49ba
loopd: fix linter issue
2020-02-06 11:59:48 +01:00
Oliver Gugger
8c7eee2ba9
loopd: add option to configure CORS origin
2020-02-06 11:48:09 +01:00
Oliver Gugger
bcd92cead4
lsat: extract runtime info into interceptContext
...
To make the code easier to be reused for the upcoming stream
interceptor, all generic information about the interceptor's context
is extracted into a struct and the helper methods are adapted to
work with that struct.
2020-02-06 10:41:50 +01:00
Olaoluwa Osuntokun
7b4eb6eac4
build: update grpc-gateway dep
2020-02-04 18:53:09 -08:00
Olaoluwa Osuntokun
fec3586e21
looprpc: re-gen protos
2020-02-04 18:45:27 -08:00
Olaoluwa Osuntokun
39640d2465
looprpc: add cli commands to all calls
2020-02-04 18:42:32 -08:00
Olaoluwa Osuntokun
0dae5460e8
Merge pull request #144 from lightninglabs/v0.4.0-beta
...
version: bump version to 0.4.0-beta
2020-02-04 15:15:01 -08:00
Alex Bosworth
7e2d6a20a8
version: bump version to 0.4.0-beta
2020-02-03 17:50:05 -08:00
Olaoluwa Osuntokun
6a078ff598
Merge pull request #140 from guggero/monitor-rest
...
loopd+looprpc: add REST compatible status calls
2020-02-03 15:51:37 -08:00
Oliver Gugger
2dc7d465fa
mod+cli: default to hex encoding for byte slices
2020-01-31 13:57:29 +01:00
Oliver Gugger
b694a76be0
looprpc+loopd: deprecate string ID
2020-01-31 13:57:28 +01:00
Oliver Gugger
26c0c17dbd
loopd+cli: set max gRPC message receive size
2020-01-31 13:57:26 +01:00
Oliver Gugger
d446d68eeb
cmd/loop: add listswaps and swapinfo commands
2020-01-31 13:57:25 +01:00
Oliver Gugger
e070494565
loopd: instruct REST proxy to print default values
2020-01-31 13:57:24 +01:00
Oliver Gugger
3e25bc3174
loopd+looprpc: add REST compatible status calls
2020-01-31 13:57:22 +01:00
Oliver Gugger
403b4097de
loopd: move global state into server state
2020-01-31 13:57:21 +01:00
Alex Bosworth
55908dbec5
Merge pull request #141 from lightninglabs/0.4.0-rc1.beta
...
version: bump version to 0.4.0-rc1.beta
2020-01-24 13:06:31 -08:00
Alex Bosworth
cb533d576c
version: bump version to 0.4.0-rc1.beta
2020-01-24 12:07:19 -08:00
Alex Bosworth
37a245a8dd
Merge pull request #138 from guggero/prepare-lsat
...
loopd: add LSAT enabled server ports
2020-01-22 11:54:11 -08:00
Oliver Gugger
098e269fe6
loopd: add LSAT enabled server ports
2020-01-22 11:25:01 +01:00
Oliver Gugger
a486760ebf
Merge pull request #137 from wpaulino/signer-derive-shared-key
...
lndclient: expose DeriveSharedKey for SignerClient
2020-01-22 09:41:43 +01:00
Wilmer Paulino
3e2a7240d7
lndclient: expose DeriveSharedKey for SignerClient
2020-01-21 16:40:56 -08:00
Joost Jager
fcff783c0a
Merge pull request #135 from joostjager/loopin-timeout-sig
...
loopin: fix handling of incorrect amount in external htlc tx
2020-01-15 16:46:23 +01:00
Joost Jager
9aaef3fd07
loopin: use discovered htlc value for timeout tx
2020-01-15 16:42:53 +01:00
Joost Jager
edac1a4054
loopin/test: extend test with external htlcs
2020-01-15 16:42:51 +01:00
Joost Jager
a05e46697d
test: assert raw output signing requests
2020-01-15 16:42:49 +01:00
Olaoluwa Osuntokun
cecb26c495
Merge pull request #133 from lightninglabs/v0.3.1
...
version: bump version to 0.3.1
2020-01-14 16:09:43 -08:00
Alex Bosworth
9025aa7b6a
version: bump version to 0.3.1
2020-01-14 15:13:49 -08:00
Oliver Gugger
ea43a16577
Merge pull request #132 from guggero/validate-lsat-cost
...
lsat: validate cost of auth token
2020-01-14 09:26:23 +01:00
Olaoluwa Osuntokun
e4ffb0803c
Merge pull request #128 from Free-FreeThinker/free--max-routing-fee-config
...
Add option for max swap off-chain routing fee
2020-01-13 22:01:28 -08:00
FreeThinker
321f5f791d
cmd/loop: add an option for max off chain swap fee
2020-01-12 14:20:39 -08:00
Oliver Gugger
202edd05f2
lsat: test cost maximum in interceptor
2020-01-10 12:15:08 +01:00
Oliver Gugger
ccdbc3b21b
multi: thread new config values through client
2020-01-10 12:15:08 +01:00
Oliver Gugger
8aeeaefbaf
loopd+lsat: add LSAT cost configuration parameters
2020-01-10 12:15:02 +01:00
Johan T. Halseth
d9597e8387
Merge pull request #129 from halseth/loop-out-quote-deadline
...
Loop out quote with fast option
2020-01-08 12:33:30 +01:00
Johan T. Halseth
d5c9a66c60
swap_server_client: call server with SwapPublicationDeadline set
2020-01-08 11:58:27 +01:00
Olaoluwa Osuntokun
68ebd14235
Merge pull request #130 from guggero/lsat-header-rfc
...
lsat: change WWW-Authenticate header format
2020-01-07 16:21:31 -08:00