2
0
mirror of https://github.com/guggero/chantools synced 2024-11-07 03:20:43 +00:00
Commit Graph

307 Commits

Author SHA1 Message Date
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`.
2024-06-18 11:01:52 -03:00
Oliver Gugger
1f43c4a0ad
Merge pull request #142 from lightninglabs/signpsbt-multi
signpsbt: allow signing multiple inputs
2024-06-17 04:55:24 -06:00
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.
2024-06-17 12:41:51 +02:00
Oliver Gugger
85f207c58f
Merge pull request #137 from hieblmi/gitignore-idea
gitignore: .idea folder
2024-05-23 13:43:00 +02:00
Slyghtning
da904ae1d7
gitignore: .idea folder 2024-05-23 13:24:23 +02:00
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
2024-05-06 17:41:22 +02:00
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>
2024-05-06 14:35:16 +00:00
Oliver Gugger
cc284baa67
Merge pull request #132 from lightninglabs/triggerforceclose
triggerforceclose: make compatible with all nodes, add Tor support
2024-04-29 10:05:01 +02:00
Oliver Gugger
6acc81815e
root: bump version to v0.13.1 2024-04-29 09:54:07 +02:00
Oliver Gugger
e3285daf5b
triggerforceclose: support Tor connections 2024-04-29 09:54:02 +02:00
Oliver Gugger
179773fdb9
triggerforceclose: make cmd compatible with all nodes 2024-04-28 16:03:00 +02:00
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
2024-04-22 01:21:37 -06:00
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>
2024-04-19 13:15:18 +00:00
Oliver Gugger
d07251df9c
Merge pull request #129 from lightninglabs/fix-signpsbt
signpsbt+lnd: fix signing for P2WKH
2024-04-12 08:39:04 +00:00
Oliver Gugger
7f840cf03b
signpsbt+lnd: fix signing for P2WKH 2024-04-12 10:33:24 +02:00
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
2024-03-28 14:57:07 +00:00
Oliver Gugger
24cd530c65
make: update build targets due to sqlite 2024-03-27 18:53:41 +01:00
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>
2024-03-27 17:49:53 +00:00
Oliver Gugger
997d86cd84
Merge pull request #124 from lightninglabs/createwallet
Add `createwallet` and `signpsbt` subcommands
2024-03-27 17:46:25 +00:00
Oliver Gugger
676ba60197
Merge pull request #113 from sputn1ck/recoverloopin_sqlite
`recoverloopin`: Sqlite option
2024-03-27 17:46:15 +00:00
sputn1ck
3e419da317
recoverloopin: add sqlite option
This commit will allow to recover loop ins that have been made with
sqlite.
2024-03-27 18:42:38 +01:00
sputn1ck
6a81614b1b
go.mod: update loop to v0.26.6-beta 2024-03-27 18:42:38 +01:00
Oliver Gugger
71b824e105
README+doc: update all docs 2024-03-27 18:22:50 +01:00
Oliver Gugger
1a46f9099f
root: bump version to v0.13.0 2024-03-27 18:22:50 +01:00
Oliver Gugger
9f8484bb89
cmd/chantools: add signpsbt subcommand 2024-03-27 18:22:50 +01:00
Oliver Gugger
e80dcbfb67
lnd+cmd/chantools: add AddPartialSignatureForPrivateKey to signer 2024-03-27 18:22:49 +01:00
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.
2024-03-27 18:22:49 +01:00
Oliver Gugger
37179e5215
lnd+cmd/chantools: extract functions from walletinfo 2024-03-27 18:22:49 +01:00
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.
2024-03-27 18:17:54 +01:00
Oliver Gugger
a3a00d410a
lnd: extract ReadPassphrase into own function 2024-03-27 18:17:54 +01:00
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
2024-03-14 02:58:18 -06:00
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>
2024-03-13 21:43:39 +00:00
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
2024-03-12 11:33:39 -06:00
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>
2024-03-12 15:32:57 +00:00
Oliver Gugger
c75f9ff91a
Merge pull request #121 from sputn1ck/signmessage
signmessage: add signmessage cmd
2024-02-06 04:03:28 -06:00
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`.
2024-02-06 10:38:47 +01:00
Oliver Gugger
cf4cabbd2a
Merge pull request #120 from ziggie1984/master
Fix Partial Signature Signing.
2024-01-30 09:54:37 -06:00
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.
2024-01-30 13:48:53 +00:00
Oliver Gugger
a0e5f0613d
Merge pull request #118 from Tetrix42/doublespend_rbf
doublespendinputs: allow RBF per default
2024-01-30 05:20:04 -06:00
Felix Passenberg
d9af0e36e5
doublespendinputs: remove RBF argument, RBF always on 2024-01-29 16:13:23 +01:00
Felix Passenberg
3b50a5ce16
doublespendinputs: allow RBF per default 2024-01-26 02:40:59 +01:00
Oliver Gugger
d5d5a91430
Merge pull request #117 from lightninglabs/zombie-matching
zombierecovery: add --matchonly flag to makeoffer, --numkeys to preparekeys
2024-01-23 00:10:42 -06:00
Oliver Gugger
82a03a65ef
README+root: bump version to v0.12.2 2024-01-23 08:03:49 +02:00
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.
2024-01-23 07:59:59 +02:00
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.
2024-01-23 07:56:30 +02:00
Oliver Gugger
341d3af108
README: fix broken links 2024-01-15 17:48:47 +01:00
Oliver Gugger
3865a7757e
Merge pull request #114 from sputn1ck/chantools_external_amt
`recoverloopin`: allow setting output value
2024-01-12 11:28:36 +01:00
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.
2024-01-11 23:34:17 +01:00
Oliver Gugger
399a23adba
Merge pull request #107 from lightninglabs/cli-cleanup
Support P2TR as sweep/change address everywhere
2024-01-04 09:24:29 +01:00
Oliver Gugger
a05962e03e
multi: standardize sweep/change addr support 2024-01-04 09:23:54 +01:00