Skip to content

LightningMate 0.10.0

Choose a tag to compare

@opensourceminers opensourceminers released this 12 Nov 19:15
· 1 commit to master since this release

A large round of fixes from a full review of the app: Magma sales complete reliably, fees and refills decide on what really earned, LSP mode can't be tied up, and the app is harder to misuse.

Selling on Magma

  • A sale whose buyer paid Amboss completes by itself: the channel is opened first (Amboss pays the seller only after the open), never twice, and the payment is claimed when it arrives.
  • No channel is opened for more on-chain fee than the order brings. An order is tried at a faster rate in its last six hours; if it still costs more, it is ended at its last moment to open and the refund is said, with both numbers.
  • An accept Amboss answers with an error, an old deadline, high fees or an offline buyer no longer lose the order.
  • The offer is priced on what buyers paid, never on listings that only undercut, and is not created twice or written on a read-only install. Amboss still decides which seller gets an order.

Fees and refills

  • A fee that sells is kept, a slightly higher one is tried and taken back when it earns less; a raise nobody buys at goes back.
  • A refill is judged per peer and booked on the channel it arrived on; it goes out of the channel it is meant to come from, also on LND 0.21.
  • No second channel is opened to a node one is already opening to.
  • An alert names the capital in channels that routed nothing in 60 days. Closing stays yours.

LSP mode (experimental)

  • A buyer who pays and stays away holds your coins six hours at most; one buyer's unpaid quotes turn no one else away; a stalled open no longer blocks other on-chain work; switching the mode off withdraws unpaid quotes.

Safety

  • Closing or opening a channel at a fee far above the next block's asks again and names the fee. A cooperative close never agrees to more than that line with the peer.
  • An on-chain send is never sent twice, and a close or send LND doesn't answer within 45 seconds says so instead of hanging.
  • Every request the app makes itself goes through Umbrel's Tor proxy; the app's log and Settings → Privacy say the route, and a faulty proxy setting is named.
  • Settings → Sessions → "Sign out everywhere" ends every sign-in at once.
  • Security headers on every page, stricter checks on every request, and the app's data files readable by the app only.

Tested

  • On a regtest network with real LND nodes: a Magma sale end to end, an LSP buy over LSPS1 end to end, manual close and on-chain send through the app. Not yet with a real Magma buyer or a real wallet since these fixes.