No description
Find a file
Bufo 7e5fb5cdeb
feat: multi-hop swaps with circular rebalancing (#749)
* feat: multihop swaps

* fix: fee limit

* fix: circular rebalancing

* chore: simplify and fix post-review issues

- magma: guard allChannels against undefined (??= [])
- magma: restore peer filter on btcOpen and btcPending — both were
  accidentally widened to all channels by the multi-hop refactor
- TradingPartners: remove btcChannelPubkeys dead code (filter that used
  it was removed; useMemo and stale dep array entry remain)
- trade: move fullHops array from info to debug log to avoid large
  object serialisation on every rebalance
- trade: fix misleading 'No bitcoin channels found' error when the real
  condition is insufficient outbound liquidity
- test: add debug to mock logger

---------

Co-authored-by: Bufo <bufo24@users.noreply.github.com>
Co-authored-by: Anthony Potdevin <31413433+apotdevin@users.noreply.github.com>
2026-05-02 18:24:23 -06:00
.github chore(ci): bump all GitHub Actions versions (AMB-2436) (#683) 2026-04-02 09:27:20 +00:00
.husky feat: big cleanup and refactor (#644) 2026-02-19 16:16:23 -05:00
.vscode chore: add auto format on save (#524) 2023-03-28 10:05:38 +02:00
docker/litd chore: add sqlite config in docker compose (#688) 2026-04-09 15:17:31 +02:00
docs feat: allow for other LN providers 2026-03-17 18:15:21 -06:00
drizzle feat: per-channel notes (inline editing in channels table) (#744) 2026-04-29 21:31:54 -06:00
patches fix: patch tapd-api to make TLS cert optional (#678) 2026-03-26 13:54:22 +01:00
scripts chore: initial user and team tables 2026-04-01 17:31:01 -06:00
src feat: multi-hop swaps with circular rebalancing (#749) 2026-05-02 18:24:23 -06:00
.dockerignore chore: add litd in Dockerignore (#670) 2026-03-20 14:30:58 +00:00
.env feat: node tables 2026-04-02 14:28:13 -06:00
.gitignore chore: fix two factor authentication (#674) 2026-03-24 12:11:02 -06:00
.nvmrc feat: big cleanup and refactor (#644) 2026-02-19 16:16:23 -05:00
.prettierrc Feat/nextjs (#25) 2020-04-12 18:27:01 +02:00
.release-please-manifest.json chore(master): release 0.17.0 (#743) 2026-04-29 21:37:31 -06:00
AGENTS.md docs: make CLAUDE.md agent-agnostic and add AGENTS.md symlink (#666) 2026-03-20 12:28:04 +02:00
CHANGELOG.md chore(master): release 0.17.0 (#743) 2026-04-29 21:37:31 -06:00
CLAUDE.md docs: add GraphQL codegen step to CLAUDE.md (#677) 2026-03-25 11:23:29 +00:00
codegen.yml chore: migration 2021-12-07 22:16:40 -05:00
components.json chore: change to mira theme 2026-04-22 19:54:22 -06:00
docker-compose.yaml chore: docker changes (#679) 2026-03-26 11:47:41 +01:00
Dockerfile fix: docker build drizzle (#713) 2026-04-20 11:01:45 +02:00
drizzle.config.ts chore: initial user and team tables 2026-04-01 17:31:01 -06:00
eslint.config.js feat: db initial setup 2026-04-01 13:54:23 -06:00
flake.lock feat: add nix flake (#584) 2023-11-30 18:25:49 +01:00
flake.nix feat: add nix flake (#584) 2023-11-30 18:25:49 +01:00
fly.toml feat: add fly.toml file (#752) 2026-05-02 18:12:17 -06:00
LICENSE chore: update readme and license 2020-02-27 09:06:53 +01:00
nest-cli.json chore: migration 2021-12-07 22:16:40 -05:00
package-lock.json chore(master): release 0.17.0 (#743) 2026-04-29 21:37:31 -06:00
package.json chore(master): release 0.17.0 (#743) 2026-04-29 21:37:31 -06:00
README.md docs: move readme 2021-08-22 11:31:52 +02:00
release-please-config.json ci: move to release-please 2026-03-24 16:45:18 -06:00
schema.gql feat: per-channel notes (inline editing in channels table) (#744) 2026-04-29 21:31:54 -06:00
tsconfig.build.json chore: migration 2021-12-07 22:16:40 -05:00
tsconfig.json feat: big cleanup and refactor (#644) 2026-02-19 16:16:23 -05:00

ThunderHub - Lightning Node Manager

Documentation has moved! Find the documentation here.