Skip to content

Releases: lightninglabs/loop

v0.15.0-beta

03 Aug 16:06
v0.15.0-beta
63f34ec
Compare
Choose a tag to compare

New Features

  • Loop-in quote now asks the server to optionally probe the client to test
    inbound liquidity. The server may use this information to give more accurate
    quotes.

Bug Fixes

  • Grpc error codes returned by the swap server when swap initiation fails are
    now surfaced to the client. Previously these error codes would be returned
    as a string.

Maintenance

  • Updated compile time dependencies of lnd, grpc-gateway, protobuf and
    grpc.

v0.14.2-beta

20 Jul 17:42
v0.14.2-beta
b9a3d1d
Compare
Choose a tag to compare

Bug Fixes

  • Certain versions of the Python gRPC library
    weren't able to connect to
    loopd's gRPC interface, getting the missing selected ALPN property error.
    A server side fix was introduced to get rid of that error message.

v0.14.1-beta

09 Jun 17:47
v0.14.1-beta
12d8fd0
Compare
Choose a tag to compare

Bug Fixes

  • A protobuf warning that was being logged on loopd startup and loop cli calls has been addressed.

v0.14.0-beta

01 Jun 20:37
v0.14.0-beta
9d3d9ce
Compare
Choose a tag to compare

New Features

  • The loopd client reports off-chain routing failures for loop out swaps if it cannot find a route to the server for the swap's prepay or invoice payment. This allows the server to release accepted invoices, if there are any, earlier, reducing the amount of time that funds are held off-chain. If the swap failed on one of the loop server's channels, it will report failure location of its off-chain failure. If the failure occurred outside of the loop server's infrastructure, a generic failure will be used so that no information about the client's position in the network is leaked.

v0.13.0-beta

19 May 18:24
v0.13.0-beta
b8e1fb8
Compare
Choose a tag to compare

Breaking Changes

A breaking change is required due to poold changes.

  • Bumped the minimum required version of lnd to v0.11.1-beta.

v0.12.2-beta

29 Apr 16:20
v0.12.2-beta
db56b31
Compare
Choose a tag to compare

New Features

  • If the payment for an LSAT fails, it is now automatically re-tried.

Bug Fixes

  • Instead of just blocking for forever without any apparent reason if another
    Loop daemon process is already running, we now exit with an error after 5
    seconds if acquiring the unique lock on the Loop bbolt DB fails.

v0.12.1-beta

26 Mar 00:08
v0.12.1-beta
8c3206c
Compare
Choose a tag to compare

New Features

  • A new flag, --verbose, or -v, is added to loop in, loop out and
    loop quote. Responses from these commands are also updated to provide more
    verbose info, giving users a more intuitive view about money paid
    on/off-chain and fees incurred. Use loop in -v, loop out -v,
    loop quote in -v or loop quote out -v to view the details.
  • A stripped down version of the Loop server is now provided as a
    Docker image. A quick
    start script and example docker-compose environment as well as
    documentation on how to use the regtest Loop server
    was added too.

Bug Fixes

  • A bug that would not list autoloop rules set on a per-peer basis when they
    were excluded due to insufficient budget, or the number of swaps in flight
    has been corrected. These rules will now be included in the output of
    suggestswaps with other autoloop peer rules.

v0.12.0-beta

06 Mar 17:36
v0.12.0-beta
0fa3625
Compare
Choose a tag to compare

New Features

  • Autoloop can now be configured on a per-peer basis, rather than only on an
    individual channel level. This change allows desired liquidity thresholds
    to be set for an individual peer, rather than a specific channel, and
    leverages multi-loop-out to more efficiently manage liquidity. To configure
    peer-level rules, provide the 'setrule' command with the peer's pubkey.
  • Autoloop's fee API has been simplified to allow setting a single percentage
    which will be used to limit total swap fees to a percentage of the amount
    being swapped, the default budget has been updated to reflect this. Use
    loop setparams --feepercent={percentage} to update this value. This fee
    setting has been updated to the default for autoloop.
  • The default confirmation target for automated loop out swap sweeps has been
    increased to 100 blocks. This change will not affect the time it takes to
    acquire inbound liquidity, but will decrease the cost of swaps.

Bug Fixes

  • The loop dockerfile has been updated to use the make command so that the
    latest commit hash of the code being run will be included in loopd.
  • A bug where loop in on-chain fees were not recorded properly has been
    addressed.

v0.11.4-beta

11 Feb 19:01
v0.11.4-beta
271215e
Compare
Choose a tag to compare
  • Default for --lnd.macaroonpath is set to the default path for the LND admin.macaroon (#336)

v0.11.3-beta

09 Feb 21:28
v0.11.3-beta
7d5e1a9
Compare
Choose a tag to compare
  • Fixed compile time compatibility with lnd v0.12.0-beta.

New Features

  • If lnd is locked when the loop client starts up, it will wait for lnd to be
    unlocked. Previous versions would exit with an error.
  • Loop will no longer need all lnd subserver macaroons to be present in the
    --lnd.macaroondir. Instead the new --lnd.macaroonpath option can be
    pointed to a single macaroon, for example the admin.macaroon or a custom
    baked one with the exact permissions needed for Loop. If the now deprecated
    flag/option --lnd.macaroondir is used, it will fall back to use only the
    admin.macaroon from that directory.
  • The rules used for autoloop have been relaxed to allow autoloop to dispatch
    swaps even if there are manually initiated swaps that are not limited to a
    single channel in progress. This change was made to allow autoloop to coexist
    with manual swaps.
  • The SuggestSwaps endpoint has been updated to include reasons that indicate
    why the Autolooper is not currently dispatching swaps for the set of rules
    that the client is configured with. See the autoloop documentation for a
    detailed explanations of these reasons.

Breaking Changes

  • The AutoOut, AutoOutBudgetSat and AutoOutBudgetStartSec fields in the
    LiquidityParameters message used in the experimental autoloop API have
    been renamed to Autoloop, AutoloopBudgetSat and AutoloopBudgetStartSec.
  • The autoout flag for enabling automatic dispatch of loop out swaps has been
    renamed to autoloop so that it can cover loop out and loop in.
  • The SuggestSwaps rpc call will now fail with a FailedPrecondition grpc
    error code if no rules are configured for the autolooper. Previously the rpc
    would return an empty response.