From 2815afebb708320d5c03b8c1ec34bd4b6bc7ce62 Mon Sep 17 00:00:00 2001 From: Tadge Dryja Date: Sat, 16 Jan 2016 10:45:54 -0800 Subject: [PATCH] update imports to github --- .gitignore | 2 +- chainntfs/btcdnotify/btcd.go | 2 +- channeldb/channel.go | 2 +- cmd/lncli/commands.go | 2 +- cmd/lncli/main.go | 4 ++-- cmd/lnshell/commands.go | 2 +- cmd/lnshell/lnshellmain.go | 2 +- lnstate/lnstate.go | 9 +++++---- lnwallet/channel.go | 4 ++-- lnwallet/reservation.go | 2 +- lnwallet/wallet.go | 8 ++++---- peer.go | 4 ++-- 12 files changed, 22 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 1a426da3..feb149c7 100644 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,7 @@ _testmain.go *.test *.prof -plasma +lnd cmd/cmd **.key diff --git a/chainntfs/btcdnotify/btcd.go b/chainntfs/btcdnotify/btcd.go index 3d02a219..df45d683 100644 --- a/chainntfs/btcdnotify/btcd.go +++ b/chainntfs/btcdnotify/btcd.go @@ -9,7 +9,7 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcwallet/chain" "github.com/btcsuite/btcwallet/wtxmgr" - "li.lan/labs/plasma/chainntfs" + "github.com/lightningnetwork/lnd/chainntfs" ) // BtcdNotifier... diff --git a/channeldb/channel.go b/channeldb/channel.go index 475b9faf..9f69b193 100644 --- a/channeldb/channel.go +++ b/channeldb/channel.go @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/walletdb" - "li.lan/labs/plasma/shachain" + "github.com/lightningnetwork/lnd/shachain" ) var ( diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 3a287251..b919cfc9 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -6,8 +6,8 @@ import ( "os" "github.com/codegangsta/cli" + "github.com/lightningnetwork/lnd/lnrpc" "golang.org/x/net/context" - "li.lan/labs/plasma/lnrpc" ) func printRespJson(resp interface{}) { diff --git a/cmd/lncli/main.go b/cmd/lncli/main.go index 3c88120b..534aaf0d 100644 --- a/cmd/lncli/main.go +++ b/cmd/lncli/main.go @@ -6,7 +6,7 @@ import ( "os" "github.com/codegangsta/cli" - "li.lan/labs/plasma/lnrpc" + "github.com/lightningnetwork/lnd/lnrpc" "google.golang.org/grpc" ) @@ -49,7 +49,7 @@ func main() { cli.StringFlag{ Name: "rpcserver", Value: "localhost:10000", - Usage: "host:port of plasma daemon", + Usage: "host:port of ln daemon", }, } app.Commands = []cli.Command{ diff --git a/cmd/lnshell/commands.go b/cmd/lnshell/commands.go index 70a63598..d746100a 100644 --- a/cmd/lnshell/commands.go +++ b/cmd/lnshell/commands.go @@ -5,8 +5,8 @@ import ( "fmt" "time" + "github.com/lightningnetwork/lnd/lnrpc" "google.golang.org/grpc" - "li.lan/labs/plasma/lnrpc" ) // connects via grpc to the ln node. default (hardcoded?) local:10K diff --git a/cmd/lnshell/lnshellmain.go b/cmd/lnshell/lnshellmain.go index 237ee165..ce41810a 100644 --- a/cmd/lnshell/lnshellmain.go +++ b/cmd/lnshell/lnshellmain.go @@ -7,9 +7,9 @@ import ( "os" "strings" + "github.com/lightningnetwork/lnd/lnrpc" "golang.org/x/net/context" "google.golang.org/grpc" - "li.lan/labs/plasma/lnrpc" ) var z lnrpc.LightningClient diff --git a/lnstate/lnstate.go b/lnstate/lnstate.go index cb69b555..26ea743d 100644 --- a/lnstate/lnstate.go +++ b/lnstate/lnstate.go @@ -4,12 +4,13 @@ import ( "fmt" //"github.com/btcsuite/btcd/btcec" //"atomic" + "sync" + "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcutil" - "li.lan/labs/plasma/channeldb" - "li.lan/labs/plasma/lnwire" - "li.lan/labs/plasma/shachain" - "sync" + "github.com/lightningnetwork/lnd/channeldb" + "github.com/lightningnetwork/lnd/lnwire" + "github.com/lightningnetwork/lnd/shachain" ) //This is a state machine which allows for simultaneous high-volume diff --git a/lnwallet/channel.go b/lnwallet/channel.go index f7f57f73..146d1804 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -5,8 +5,8 @@ import ( "fmt" "sync" - "li.lan/labs/plasma/chainntfs" - "li.lan/labs/plasma/channeldb" + "github.com/lightningnetwork/lnd/chainntfs" + "github.com/lightningnetwork/lnd/channeldb" "github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/txscript" diff --git a/lnwallet/reservation.go b/lnwallet/reservation.go index 0df7b6ab..a5c77892 100644 --- a/lnwallet/reservation.go +++ b/lnwallet/reservation.go @@ -3,7 +3,7 @@ package lnwallet import ( "sync" - "li.lan/labs/plasma/channeldb" + "github.com/lightningnetwork/lnd/channeldb" "github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/wire" diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index 0b708abd..1023fa28 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -12,10 +12,10 @@ import ( "sync" "sync/atomic" - "li.lan/labs/plasma/chainntfs" - "li.lan/labs/plasma/chainntfs/btcdnotify" - "li.lan/labs/plasma/channeldb" - "li.lan/labs/plasma/shachain" + "github.com/lightningnetwork/lnd/chainntfs" + "github.com/lightningnetwork/lnd/chainntfs/btcdnotify" + "github.com/lightningnetwork/lnd/channeldb" + "github.com/lightningnetwork/lnd/shachain" "github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/chaincfg" diff --git a/peer.go b/peer.go index c26abe53..a089ff47 100644 --- a/peer.go +++ b/peer.go @@ -8,8 +8,8 @@ import ( "time" "github.com/btcsuite/btcd/wire" - "li.lan/labs/plasma/lnwallet" - "li.lan/labs/plasma/lnwire" + "github.com/lightningnetwork/lnd/lnwallet" + "github.com/lightningnetwork/lnd/lnwire" ) // channelState...