Commit Graph

1390 Commits (master)
 

Author SHA1 Message Date
Slyghtning 7a8c052e8c
Merge pull request #736 from hieblmi/daemon-chore
daemon: fix wrapped errors and typos
5 days ago
Slyghtning 636f8b611b
daemon: fix wrapped errors and typos 1 week ago
András Bánki-Horváth e5dd7add8a
Merge pull request #738 from lightninglabs/sweep-logging
sweepbatcher: add more debug logging
1 week ago
Andras Banki-Horvath 75d7641d74
sweepbatcher: add more debug logging 1 week ago
András Bánki-Horváth 13e8c29520
Merge pull request #730 from starius/s-lsat-l402
multi: replace occurrences of "LSAT" to "L402"
1 week ago
Boris Nagaev 5a1f79557d
loopd: re-add GetLsatTokens method in gRPC
This is needed not to break existing client binaries, e.g. `loop listauth`,
Terminal Web, RTL.

The API should be removed in a couple of releases. For now, GetLsatTokens
just prints a warning message about the API being deprecated and that the
client binary should be updated, and calls GetL402Tokens API, as a wrapper.

Type LsatToken used by GetLsatTokens in the past was renamed to L402Token,
but this does not affect binary encoding, so type L402Token can be used
(as part of TokensResponse) without breaking backward compatibility.

Updated release_notes.md.

See https://github.com/lightninglabs/loop/pull/730#discussion_r1579251294
1 week ago
Boris Nagaev 14dc8e165d
looprpc: additional_bindings for /v1/lsat/tokens
Provide backward compatibility for clients using this API endpoint.
2 weeks ago
Boris Nagaev 7bb04ae6ac
loopd: recorgnize maxlsatcost and maxlsatfee flags
The flags were re-added in hidden mode so that users who specified them
could start the daemon after upgrading. If a flag is used, a deprecation
warning is printed.

Updated release_notes.md.
2 weeks ago
Boris Nagaev 0e7927ac96
multi: replace LSAT with L402
git mv ./cmd/loop/lsat.go ./cmd/loop/l402.go
sed 's@lsat@l402@g' -i `git grep -l lsat`
sed 's@Lsat@L402@g' -i `git grep -l Lsat`
sed 's@LSAT@L402@g' -i `git grep -l LSAT`
make rpc

Updated release_notes.md.
2 weeks ago
Boris Nagaev bfc3f44aa1
update aperture to include lsat to l402 renaming
Fix the build:
go mod tidy
sed 's@\<lsat\>@l402@g' -i `git grep -l -w aperture/lsat`
make rpc
2 weeks ago
Boris Nagaev b99cde172a
go: bump protobuf to v1.33.0-hex-display 2 weeks ago
Boris Nagaev 368432ebb4
looprpc,swapserverrpc: update Go image to 1.21.9-bookworm
This is needed to update protobuf. Version 1.33 breaks in Go 1.16 with
the following error: "//go:build comment without // +build comment".

Distribution was updated from buster (10) to bookworm (12).
protoc was updated from v3.6.1 to v3.21.12.
2 weeks ago
Boris Nagaev e30cb5f2a8
multi: apply make fmt 2 weeks ago
Konstantin Nick cd5dc903f9
Merge pull request #731 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.23.0
build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
2 weeks ago
dependabot[bot] b363118fed
build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks ago
Alex Bosworth e08d9da644
Merge pull request #728 from lightninglabs/alexbosworth-patch-2
version: bump version to v0.28.1-beta
3 weeks ago
Alex Bosworth 99e0c04f5f
version: bump version to v0.28.1-beta 3 weeks ago
Slyghtning f8ff35c0f5
Merge pull request #727 from hieblmi/send-prepay-to-selected-channel
Send loop out prepay over selected outgoing chan set
3 weeks ago
Slyghtning 1cea76bf01
loopout: send prepay over outgoing chan set 3 weeks ago
András Bánki-Horváth 54a6f157f1
Merge pull request #715 from lightninglabs/dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2
build(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
4 weeks ago
András Bánki-Horváth 6ac6ee0549
Merge pull request #725 from bhandras/swap-info-fixup
loop: fill the correct HTLC in loopout update
2 months ago
Andras Banki-Horvath 06fd21fd05
loop: fill the correct HTLC in loopout update 2 months ago
Konstantin Nick c3371fead1
Merge pull request #724 from lightninglabs/dependabot/go_modules/github.com/docker/docker-24.0.9incompatible
build(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible
2 months ago
dependabot[bot] e7d0b3a472
build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot] 2326c15e45
build(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.18.1 to 4.18.2.
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.18.1...v4.18.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
András Bánki-Horváth 664ab04b57
Merge pull request #723 from bhandras/sqlite-sqlc-bump
mod+loopdb: bump sqlite and sqlc dependencies
2 months ago
Andras Banki-Horvath fb0c7f504e
loopdb: bump sqlc to 1.25.0 2 months ago
Andras Banki-Horvath d0847cf2d5
mod: bump modernc.org/sqlite to 1.29.5 2 months ago
Slyghtning bc09440c61
Merge pull request #714 from hieblmi/speed-up-docker
Speed up docker runs
2 months ago
Slyghtning 0babeee084
make: cache docker builds 2 months ago
Alex Bosworth 0d268750ac
Merge pull request #713 from lightninglabs/alexbosworth-patch-1
version: bump version to v0.28.0-beta
2 months ago
Alex Bosworth 67c59fe043
version: bump version to v0.28.0-beta 2 months ago
Konstantin Nick 5d75e99d6d
Merge pull request #708 from sputn1ck/listinstantouts
Add `listinstantouts` command
2 months ago
András Bánki-Horváth 65b8cb6036
Merge pull request #694 from bhandras/cost-cleanup
loop: fix the loopout per sweep onchain cost and cleanup server cost calculation (both loopin and loopout)
2 months ago
András Bánki-Horváth 1cd42078af
Merge pull request #712 from bhandras/db-durability
loopdb: make sqlite sync for extra durability
2 months ago
Andras Banki-Horvath 7fe4ee2f3b
loopdb: make sqlite sync for extra durability 2 months ago
Andras Banki-Horvath 5294b4ff07
loop: clean up server cost calculation for slightly better UX
Previously we'd calculate the server costs (swap fees) by accounting for
both the on-chain HTLC and the off-chain payment which was confusing as
server cost fluctuated by the amount of the swap itself. Now we'll only
add the actual cost when the swap happened, so the server cost will go
form zero to the actual fee value paid.
2 months ago
Andras Banki-Horvath e1ddb50dfe
loopout+sweepbatcher: calculate the per sweep onchain fees correctly
Previously we'd report the fees per sweep as the total sweep cost of a
batch. With this change the reported cost will be the proportional fee
which should be equal for all sweeps except if there's any rounding
difference in which case that is paid by the sweep belonging to the
first input of the batch tx.
2 months ago
Andras Banki-Horvath b4ebb19a77
loopdb+sweepbatcher: add GetParentBatch and TotalSwept calls 2 months ago
Andras Banki-Horvath c094ad4a85
sweepbatcher: refactor monitorSpendAndNotify to return an error 2 months ago
sputn1ck 034bc246ca
cmd: add listinstantouts cmd 2 months ago
sputn1ck 1f211e5647
swapclientserver: add listinstantouts 2 months ago
sputn1ck 1f96a61d21
looprpc: add listinstantouts 2 months ago
sputn1ck b3805b7cad
instantout: add listinstantout func 2 months ago
sputn1ck f3919d976c
instantout: export value and expiry 2 months ago
Konstantin Nick 010b63d75e
Merge pull request #709 from sputn1ck/instantout_custom_addr
instantout: add custom address to send funds to
2 months ago
sputn1ck 6a62be0d09
instantout: add addr to send funds to 2 months ago
Konstantin Nick c19781bd13
Merge pull request #710 from sputn1ck/instantout_ux
instantout: improve ux
2 months ago
sputn1ck 194d021824
cmd: improve instantout ux 2 months ago
sputn1ck 1be6d39677
instantout: log correct expiry 2 months ago