Commit Graph

309 Commits (65d6e52299ed41f22f7b56844859890069823fb0)
 

Author SHA1 Message Date
Boris Nagaev 65d6e52299
test: don't modify test data
Copy a file to temp directory before opening it.

Fix https://github.com/lightninglabs/chantools/issues/139
2 weeks ago
Boris Nagaev 551e2a056a
lint: update configs, golangci-lint to v1.59.0
Remove deprecated and deactivated linters from .golangci.yml.

Ignore too noisy linters: protogetter, depguard, mnd.

Fix linter warnings.

Use timeout instead of deadline in .golangci.yml.
2 weeks ago
Boris Nagaev 7bd21fba58
update dependencies (LND v0.18.0-beta and co)
Updated versions:

  - lnd: v0.17.4-beta -> v0.18.0-beta
  - lnd/kvdb: v1.4.4 -> v1.4.8
  - lnd/tor: v1.1.2 -> v1.1.3
  - lnd/healthcheck: v1.2.3 -> v1.2.4
  - lnd/tlv: v1.1.1 -> v1.2.6
  - neutrino: v0.16.0 -> v0.16.1-0.20240425105051-602843d34ffd
  - neutrino/cache: v1.1.1 -> v1.1.2
  - lndclient: v0.17.4-1 -> v0.18.0-2
  - loop: v0.26.6-beta -> v0.28.3
  - loop/swapserverrpc: v1.0.5 -> v1.0.8
  - pool: v0.6.2-beta.0.20230329135228-c3bffb52df3a ->
        v0.6.5-beta.0.20240531084722-4000ec802aaa
  - pool/auctioneerrpc: v1.0.7 -> v1.1.2
  - aperture: v0.1.21-beta.0.20230705004936-87bb996a4030 -> v0.3.2-beta
  - replace of protobuf: v1.30.0-hex-display -> v1.33.0-hex-display
  - Go: 1.21 -> 1.22.3

Pool version v0.6.5-beta.0.20240531084722-4000ec802aaa was used because it uses
LND v0.18.0-beta, not v0.18.0-beta.rc3.

Fixed imports and API changes.

Updated Go version in README.

Updated LND version in cmd/chantools/root.go.
Ran `make docs`.
2 weeks ago
Oliver Gugger 1f43c4a0ad
Merge pull request #142 from lightninglabs/signpsbt-multi
signpsbt: allow signing multiple inputs
2 weeks ago
Oliver Gugger 32fd44dbe1
signpsbt: allow signing multiple inputs
This commit fixes an issue where the signpsbt sub command was only able
to sign for a single input.
To avoid attempting to double sign an input that already has a partial
signature, we also add a check instead of erroring out.
2 weeks ago
Oliver Gugger 85f207c58f
Merge pull request #137 from hieblmi/gitignore-idea
gitignore: .idea folder
1 month ago
Slyghtning da904ae1d7
gitignore: .idea folder 1 month ago
Oliver Gugger 14aa06fa41
Merge pull request #134 from lightninglabs/dependabot/go_modules/tools/github.com/btcsuite/btcd-0.24.0
build(deps): bump github.com/btcsuite/btcd from 0.23.4 to 0.24.0 in /tools
2 months ago
dependabot[bot] 601789f445
build(deps): bump github.com/btcsuite/btcd in /tools
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.23.4 to 0.24.0.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.23.4...v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Oliver Gugger cc284baa67
Merge pull request #132 from lightninglabs/triggerforceclose
triggerforceclose: make compatible with all nodes, add Tor support
2 months ago
Oliver Gugger 6acc81815e
root: bump version to v0.13.1 2 months ago
Oliver Gugger e3285daf5b
triggerforceclose: support Tor connections 2 months ago
Oliver Gugger 179773fdb9
triggerforceclose: make cmd compatible with all nodes 2 months ago
Oliver Gugger 0fd58ee7eb
Merge pull request #130 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 months ago
dependabot[bot] 7c405057bd
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: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Oliver Gugger d07251df9c
Merge pull request #129 from lightninglabs/fix-signpsbt
signpsbt+lnd: fix signing for P2WKH
3 months ago
Oliver Gugger 7f840cf03b
signpsbt+lnd: fix signing for P2WKH 3 months ago
Oliver Gugger f062b53a21
Merge pull request #127 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
3 months ago
Oliver Gugger 24cd530c65
make: update build targets due to sqlite 3 months ago
dependabot[bot] c54184b8d0
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>
3 months ago
Oliver Gugger 997d86cd84
Merge pull request #124 from lightninglabs/createwallet
Add `createwallet` and `signpsbt` subcommands
3 months ago
Oliver Gugger 676ba60197
Merge pull request #113 from sputn1ck/recoverloopin_sqlite
`recoverloopin`: Sqlite option
3 months ago
sputn1ck 3e419da317
recoverloopin: add sqlite option
This commit will allow to recover loop ins that have been made with
sqlite.
3 months ago
sputn1ck 6a81614b1b
go.mod: update loop to v0.26.6-beta 3 months ago
Oliver Gugger 71b824e105
README+doc: update all docs 3 months ago
Oliver Gugger 1a46f9099f
root: bump version to v0.13.0 3 months ago
Oliver Gugger 9f8484bb89
cmd/chantools: add signpsbt subcommand 3 months ago
Oliver Gugger e80dcbfb67
lnd+cmd/chantools: add AddPartialSignatureForPrivateKey to signer 3 months ago
Oliver Gugger 5c39df02d3
cmd/chantools: allow root key to be read from wallet DB
With this commit we allow a third option for reading the master root key
for any command that requires access to it: Reading and decrypting it
directly from an lnd wallet password.
3 months ago
Oliver Gugger 37179e5215
lnd+cmd/chantools: extract functions from walletinfo 3 months ago
Oliver Gugger b169634d85
cmd/chantools: add new createwallet subcommand
This commit adds a new subcommand for creating a new lnd compatible
wallet.db file from an existing aezeed, master root key (xprv) or by
generating a new aezeed.
3 months ago
Oliver Gugger a3a00d410a
lnd: extract ReadPassphrase into own function 3 months ago
Oliver Gugger 450c2777af
Merge pull request #126 from lightninglabs/dependabot/go_modules/tools/google.golang.org/protobuf-1.33.0
build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /tools
4 months ago
dependabot[bot] c4162303b7
build(deps): bump google.golang.org/protobuf in /tools
Bumps google.golang.org/protobuf from 1.28.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Oliver Gugger 486af2e99a
Merge pull request #125 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 months ago
dependabot[bot] 3b3daddfee
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>
4 months ago
Oliver Gugger c75f9ff91a
Merge pull request #121 from sputn1ck/signmessage
signmessage: add signmessage cmd
5 months ago
sputn1ck 3fbf8d0bd2
signmessage: add signmessage cmd
This commit adds the signmessage command which allows a user to sign a
message with the nodes identity key, similiar to `lncli signmessage`.
5 months ago
Oliver Gugger cf4cabbd2a
Merge pull request #120 from ziggie1984/master
Fix Partial Signature Signing.
5 months ago
ziggie 78c41b4acf
zombierecovery-makeoffer: fix witness data for psbt package.
We need to make sure we populate all the necessary
witness/nonwitness because for taproot inputs we need the prevout
so we check for it in the hashcash creation.
5 months ago
Oliver Gugger a0e5f0613d
Merge pull request #118 from Tetrix42/doublespend_rbf
doublespendinputs: allow RBF per default
5 months ago
Felix Passenberg d9af0e36e5
doublespendinputs: remove RBF argument, RBF always on 5 months ago
Felix Passenberg 3b50a5ce16
doublespendinputs: allow RBF per default 5 months ago
Oliver Gugger d5d5a91430
Merge pull request #117 from lightninglabs/zombie-matching
zombierecovery: add --matchonly flag to makeoffer, --numkeys to preparekeys
5 months ago
Oliver Gugger 82a03a65ef
README+root: bump version to v0.12.2 5 months ago
Oliver Gugger 65cc3fdf6e
zombierecovery add --numkeys to preparekeys
With this new flag it will be possible to specify the number of keys to
add to the file when running the preparekeys command.
5 months ago
Oliver Gugger 79f65bb1a1
zombierecovery: add --matchonly flag to makeoffer
With this commit we make it possible to just check whether two lists of
public keys can match the given channels and derive the 2-of-2 multisig
channel funding address.
5 months ago
Oliver Gugger 341d3af108
README: fix broken links 6 months ago
Oliver Gugger 3865a7757e
Merge pull request #114 from sputn1ck/chantools_external_amt
`recoverloopin`: allow setting output value
6 months ago
sputn1ck ad3c1ad2de
recoverloopin: allow setting output value
This commit adds the ability to manually set the output value for a
loop in swap. This is useful for recovering funds from a loop in swap
that has been fund externaly and was sent to with a different amount
than the one specified in the loop in swap.
6 months ago