update imports to github
This commit is contained in:
parent
d47105217b
commit
2815afebb7
2
.gitignore
vendored
2
.gitignore
vendored
@ -24,7 +24,7 @@ _testmain.go
|
|||||||
*.test
|
*.test
|
||||||
*.prof
|
*.prof
|
||||||
|
|
||||||
plasma
|
lnd
|
||||||
|
|
||||||
cmd/cmd
|
cmd/cmd
|
||||||
**.key
|
**.key
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/btcsuite/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
"github.com/btcsuite/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
"li.lan/labs/plasma/chainntfs"
|
"github.com/lightningnetwork/lnd/chainntfs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BtcdNotifier...
|
// BtcdNotifier...
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/btcsuite/btcwallet/walletdb"
|
"github.com/btcsuite/btcwallet/walletdb"
|
||||||
"li.lan/labs/plasma/shachain"
|
"github.com/lightningnetwork/lnd/shachain"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
|
"github.com/lightningnetwork/lnd/lnrpc"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
"li.lan/labs/plasma/lnrpc"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func printRespJson(resp interface{}) {
|
func printRespJson(resp interface{}) {
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
"li.lan/labs/plasma/lnrpc"
|
"github.com/lightningnetwork/lnd/lnrpc"
|
||||||
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
)
|
)
|
||||||
@ -49,7 +49,7 @@ func main() {
|
|||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "rpcserver",
|
Name: "rpcserver",
|
||||||
Value: "localhost:10000",
|
Value: "localhost:10000",
|
||||||
Usage: "host:port of plasma daemon",
|
Usage: "host:port of ln daemon",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
app.Commands = []cli.Command{
|
app.Commands = []cli.Command{
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/lightningnetwork/lnd/lnrpc"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"li.lan/labs/plasma/lnrpc"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// connects via grpc to the ln node. default (hardcoded?) local:10K
|
// connects via grpc to the ln node. default (hardcoded?) local:10K
|
||||||
|
@ -7,9 +7,9 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/lightningnetwork/lnd/lnrpc"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"li.lan/labs/plasma/lnrpc"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var z lnrpc.LightningClient
|
var z lnrpc.LightningClient
|
||||||
|
@ -4,12 +4,13 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
//"github.com/btcsuite/btcd/btcec"
|
//"github.com/btcsuite/btcd/btcec"
|
||||||
//"atomic"
|
//"atomic"
|
||||||
|
"sync"
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
"li.lan/labs/plasma/channeldb"
|
"github.com/lightningnetwork/lnd/channeldb"
|
||||||
"li.lan/labs/plasma/lnwire"
|
"github.com/lightningnetwork/lnd/lnwire"
|
||||||
"li.lan/labs/plasma/shachain"
|
"github.com/lightningnetwork/lnd/shachain"
|
||||||
"sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
//This is a state machine which allows for simultaneous high-volume
|
//This is a state machine which allows for simultaneous high-volume
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"li.lan/labs/plasma/chainntfs"
|
"github.com/lightningnetwork/lnd/chainntfs"
|
||||||
"li.lan/labs/plasma/channeldb"
|
"github.com/lightningnetwork/lnd/channeldb"
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/btcsuite/btcd/txscript"
|
"github.com/btcsuite/btcd/txscript"
|
||||||
|
@ -3,7 +3,7 @@ package lnwallet
|
|||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"li.lan/labs/plasma/channeldb"
|
"github.com/lightningnetwork/lnd/channeldb"
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
|
@ -12,10 +12,10 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"li.lan/labs/plasma/chainntfs"
|
"github.com/lightningnetwork/lnd/chainntfs"
|
||||||
"li.lan/labs/plasma/chainntfs/btcdnotify"
|
"github.com/lightningnetwork/lnd/chainntfs/btcdnotify"
|
||||||
"li.lan/labs/plasma/channeldb"
|
"github.com/lightningnetwork/lnd/channeldb"
|
||||||
"li.lan/labs/plasma/shachain"
|
"github.com/lightningnetwork/lnd/shachain"
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/btcsuite/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
|
4
peer.go
4
peer.go
@ -8,8 +8,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"li.lan/labs/plasma/lnwallet"
|
"github.com/lightningnetwork/lnd/lnwallet"
|
||||||
"li.lan/labs/plasma/lnwire"
|
"github.com/lightningnetwork/lnd/lnwire"
|
||||||
)
|
)
|
||||||
|
|
||||||
// channelState...
|
// channelState...
|
||||||
|
Loading…
Reference in New Issue
Block a user