Skip to content

Commit 9fbec87

Browse files
authored
Merge pull request #69 from lightninglabs/handover-fixups
Rename and add more documentation
2 parents 2a19978 + e6a9395 commit 9fbec87

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+429
-277
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PKG := github.com/guggero/chantools
1+
PKG := github.com/lightninglabs/chantools
22
TOOLS_DIR := tools
33

44
GOTEST := GO111MODULE=on go test -v

README.md

Lines changed: 331 additions & 170 deletions
Large diffs are not rendered by default.

btc/bip39.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
"github.com/btcsuite/btcd/btcutil/hdkeychain"
1414
"github.com/btcsuite/btcd/chaincfg"
15-
"github.com/guggero/chantools/bip39"
15+
"github.com/lightninglabs/chantools/bip39"
1616
"golang.org/x/crypto/pbkdf2"
1717
"golang.org/x/crypto/ssh/terminal"
1818
)

btc/bitcoind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/btcsuite/btcd/btcutil/hdkeychain"
1111
"github.com/btcsuite/btcd/chaincfg"
1212
"github.com/btcsuite/btcd/wire"
13-
"github.com/guggero/chantools/lnd"
13+
"github.com/lightninglabs/chantools/lnd"
1414
)
1515

1616
const (

btc/summary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55

66
"github.com/btcsuite/btclog"
7-
"github.com/guggero/chantools/dataformat"
7+
"github.com/lightninglabs/chantools/dataformat"
88
)
99

1010
func SummarizeChannels(apiURL string, channels []*dataformat.SummaryEntry,

cmd/chantools/chanbackup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/guggero/chantools/lnd"
6+
"github.com/lightninglabs/chantools/lnd"
77
"github.com/lightningnetwork/lnd/chanbackup"
88
"github.com/spf13/cobra"
99
)

cmd/chantools/closepoolaccount.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"github.com/btcsuite/btcd/btcutil/hdkeychain"
1111
"github.com/btcsuite/btcd/txscript"
1212
"github.com/btcsuite/btcd/wire"
13-
"github.com/guggero/chantools/btc"
14-
"github.com/guggero/chantools/lnd"
13+
"github.com/lightninglabs/chantools/btc"
14+
"github.com/lightninglabs/chantools/lnd"
1515
"github.com/lightninglabs/pool/account"
1616
"github.com/lightninglabs/pool/poolscript"
1717
"github.com/lightningnetwork/lnd/input"

cmd/chantools/closepoolaccount_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/btcsuite/btcd/btcec/v2"
88
"github.com/btcsuite/btcd/btcutil/hdkeychain"
99
"github.com/btcsuite/btcd/chaincfg"
10-
"github.com/guggero/chantools/lnd"
10+
"github.com/lightninglabs/chantools/lnd"
1111
"github.com/lightninglabs/pool/poolscript"
1212
"github.com/lightningnetwork/lnd/keychain"
1313
"github.com/stretchr/testify/require"

cmd/chantools/deletepayments.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/guggero/chantools/lnd"
6+
"github.com/lightninglabs/chantools/lnd"
77
"github.com/spf13/cobra"
88
)
99

@@ -25,7 +25,7 @@ If only the failed payments should be deleted (and not the successful ones), the
2525
2626
CAUTION: Running this command will make it impossible to use the channel DB
2727
with an older version of lnd. Downgrading is not possible and you'll need to
28-
run lnd v0.16.0-beta or later after using this command!'`,
28+
run lnd ` + lndVersion + ` or later after using this command!'`,
2929
Example: `chantools deletepayments --failedonly \
3030
--channeldb ~/.lnd/data/graph/mainnet/channel.db`,
3131
RunE: cc.Execute,

cmd/chantools/derivekey.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/btcsuite/btcd/btcutil"
77
"github.com/btcsuite/btcd/btcutil/hdkeychain"
8-
"github.com/guggero/chantools/lnd"
8+
"github.com/lightninglabs/chantools/lnd"
99
"github.com/spf13/cobra"
1010
)
1111

0 commit comments

Comments
 (0)