2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-19 15:25:33 +00:00
Commit Graph

1160 Commits

Author SHA1 Message Date
carla
1bdcc2cd41
looprpc: prefix server and lnd enums to create unique names 2021-06-03 10:52:25 +02:00
Alex Bosworth
9d3d9ce680
Merge pull request #393 from lightninglabs/bump-to-v0.14.0-beta
version: bump version to v0.14.0-beta
2021-06-01 12:57:53 -07:00
Alex Bosworth
2d48842605
version: bump version to v0.14.0-beta 2021-06-01 10:02:31 -07:00
Alex Bosworth
beff8964f7
Merge pull request #391 from mauricepoirrier/patch-1
docs: typo
2021-05-31 16:38:47 -07:00
Maurice Poirrier
346ec2176c
docs: typo 2021-05-31 19:23:57 -04:00
Carla Kirk-Cohen
124eeea9d3
Merge pull request #378 from carlaKC/383-cancelation
loopout: Add swap cancelation for swaps that cannot route off-chain
2021-05-25 15:27:37 +02:00
carla
6350d873e0
release_notes: add swap cancelation feature 2021-05-24 08:46:06 +02:00
carla
3aee9ae924
looprpc: add new server states for client-initiated cancelation 2021-05-24 08:46:05 +02:00
carla
f166ce899d
loopout: cancel swap with server when off-chain fails 2021-05-24 08:46:03 +02:00
carla
6b732bacee
executor: fix linter error 2021-05-24 08:40:15 +02:00
carla
16111352a8
multi: add cancel swap function to execute config 2021-05-24 08:40:14 +02:00
carla
4040bb356d
loopout: refactor payInvoice to return more payment information
We're going to want more information about our failures going
forward, so we refactor payInvoice to return a full payment
status. The primary change in this commit is that we surface
both types of payment failures (result.err when we fail immediately,
and lnrpc.Failure when our payment is failed back) and return them
in the failure() method, rather than combining this information
at a lower level.
2021-05-24 08:40:13 +02:00
carla
969e300241
loop: add cancel swap to server interface 2021-05-24 08:40:13 +02:00
carla
71501ef2e8
looprpc: add server cancelation rpc to server.proto 2021-05-24 08:40:12 +02:00
Alex Bosworth
0a8e037e61
Merge pull request #389 from lightninglabs/alexbosworth-patch-1
docs: remove pending release notice
2021-05-19 10:04:38 -07:00
Alex Bosworth
5df67ddbbf
docs: remove pending release notice 2021-05-19 09:16:40 -07:00
Oliver Gugger
b8e1fb8a34
Merge pull request #388 from lightninglabs/lnd-0.13
Prepare for lnd v0.13.0 and upcoming LiT version
2021-05-19 15:10:05 +02:00
Oliver Gugger
fdbf7e95e1
client: fix double hex encoding of node pubkey 2021-05-19 14:25:28 +02:00
Oliver Gugger
7453a72759
version: bump version to v0.13.0-beta 2021-05-19 14:25:28 +02:00
Oliver Gugger
45dbd582d1
multi: bump lnd min version to v0.11.1-beta
The version v0.10.1-beta of lnd is quite old with v0.13.0-beta just
being published as RC2. Maintaining backward compatibility in the
lndclient library is quite an effort. We decided to merge the v0.11.1
branch into master meaning that all our projects now have this minimum
version requirement.
2021-05-19 14:25:23 +02:00
Oliver Gugger
32f1f2657b
multi: bump lnd to version v0.13.0-beta.rc2
This commit bumps the _compile time_ version of lnd to v0.13.0-beta.rc2.
This does not have an effect on the user, the run time backward compatibility
will be preserved. Only the next commit will bump that minimum version.
2021-05-19 14:24:41 +02:00
Carla Kirk-Cohen
245e6b7917
Merge pull request #372 from carlaKC/sweep-abandon
loopout: do not reveal preimage too close to expiry
2021-05-17 13:28:21 +02:00
carla
9db8bd5f2a
loopout: do not reveal preimage if time to safe reveal has passed 2021-05-12 14:09:28 +02:00
yyforyongyu
8d4404a8fb
loopout: add test for checking preimage reveal after timeout 2021-05-12 14:00:59 +02:00
carla
ab9a662758
loop/test: simplify preimage push test to be less dependent on height
Our preimage push test previously relied on our dropping down to the
default sweep conf target to mock a drop in chain fees. This makes
our test dependent on height, which makes changes to our sweep logic
regarding when we reveal our preimage break this test. In this commit
that logic is replaced with simply locking our mock and updating fees
on the fly.
2021-05-12 14:00:44 +02:00
Alex Bosworth
db56b31b11
Merge pull request #379 from lightninglabs/v0.12.2-beta-release
version: bump to v0.12.2-beta
2021-04-29 08:40:27 -07:00
Alex Bosworth
9b5a3401fc
version: bump to v0.12.2-beta 2021-04-29 08:24:36 -07:00
András Bánki-Horváth
ef296e9c74
Merge pull request #377 from bhandras/chainnoitifer_fix
loop: wait for chain notifier server to start
2021-04-29 12:21:38 +02:00
Andras Banki-Horvath
a0b67da590
loop: wait for chain notifier server to start 2021-04-29 11:38:56 +02:00
Oliver Gugger
5d39ffec42
Merge pull request #375 from guggero/lsat-aperture
lsat: use package from aperture
2021-04-29 10:06:17 +02:00
Oliver Gugger
68c22d7192
lsat: remove local lsat package
We now only use the lsat package imported from aperture and can
therefore delete a whole bunch of duplicated code.
2021-04-29 10:01:19 +02:00
Oliver Gugger
27fd6b3304
multi: use aperture instead of local lsat library
Since the lsat code was copied over to aperture a while ago for other
projects to use as well, we should migrate over to that shared code
also. This will give us the recently added "remove token if payment
failed and try again" feature for free along with some other small
updates to the lsat package.
2021-04-29 10:01:15 +02:00
Oliver Gugger
9fe7ab1a0d
Merge pull request #374 from guggero/db-timeout
loopd+loopdb: add timeout to DB open
2021-04-29 09:26:02 +02:00
Oliver Gugger
39c8c9278d
loopd+loopdb: add timeout to DB open
To make sure we don't just block for forever if another Loop daemon
process is already running, we add a timeout and error out if obtaining
the unique file lock fails after 5 seconds.
2021-04-28 17:16:27 +02:00
András Bánki-Horváth
c4c1f32bd9
Merge pull request #371 from ellemouton/bumpGoVersion
multi: bump minimum golang version to 1.15
2021-04-20 15:35:09 +02:00
Elle Mouton
208e1acc57 multi: bump minimum golang version to 1.15
Bump the minimum golang version to 1.15 in the go.mod file. The go
version is also updated in the Dockerfile and travis.yml file. This is
required so that the correct `errors.Is` method is used.
2021-04-20 11:57:02 +02:00
yyforyongyu
11758dc388
loopout: fix TestCustomSweepConfTarget 2021-04-09 17:08:23 +08:00
Alex Bosworth
4b68fce09a
Merge pull request #367 from yyforyongyu/increase-250
cmd: increase max miner fee multiplier
2021-04-07 15:46:30 -07:00
yyforyongyu
d8f45b645c
cmd: increase max miner fee multiplier 2021-04-08 05:04:48 +08:00
Alex Bosworth
8c3206c785
Merge pull request #363 from lightninglabs/bump-to-v0.12.1-beta
version: bump to v0.12.1-beta
2021-03-25 16:22:27 -07:00
Alex Bosworth
cedd16a178
version: bump to v0.12.1-beta 2021-03-25 13:07:16 -07:00
Carla Kirk-Cohen
1681aafade
Merge pull request #362 from carlaKC/autoloop-includepeers
autoloop: include peer rules for inflight/budget limits
2021-03-25 11:30:17 +02:00
carla
cc10d5b207
release_notes: note update to autoloop reasons for peers 2021-03-25 11:27:00 +02:00
carla
502e47362c
liquidity: add peers to swap interface and include in set reason
This commit adds a peer listing function to our generic swap
interface, which we will use to set reasons for swaps that are
specified by peer pubkey rather than channel.
2021-03-25 11:26:58 +02:00
Oliver Gugger
2e2b38dce3
Merge pull request #358 from justinpobrien/patch-1
Simplify the README
2021-03-25 09:25:36 +01:00
Justin O'Brien
787e37b4cf
Merge branch 'master' into patch-1 2021-03-24 20:36:24 -10:00
carla
7ca7a70430
liquidity/test: add test to demonstrate missing peer reasons 2021-03-24 15:13:30 +02:00
Oliver Gugger
a6acfdaec6
Merge pull request #359 from lightninglabs/regtest-server
docs+Docker: document how to use a regtest Loop server
2021-03-23 09:38:57 +01:00
Justin OBrien
f295dc9c94 Address comments
Added faqs with fees explainer, regtest section from Oli's PR, and several other tweaks
2021-03-21 09:10:17 -10:00
Oliver Gugger
e5a1914433
release_notes: add regtest Loop server 2021-03-19 18:51:38 +01:00