Merge pull request #3 from PaulCapestany/master
Make lnd go-gettable, add install instructions to readme
This commit is contained in:
commit
1f11e011de
13
README.md
13
README.md
@ -8,6 +8,19 @@ This version of Lnd is not yet fully-operational, but a proof of concept on test
|
|||||||
|
|
||||||
Don't try to port it to mainnet or an altcoin and use it today! No really. Lightning transactions will be fast, but for now, please wait just a little bit.
|
Don't try to port it to mainnet or an altcoin and use it today! No really. Lightning transactions will be fast, but for now, please wait just a little bit.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
* If necessary, install Go according to the installation instructions here: http://golang.org/doc/install. It is recommended to add `$GOPATH/bin` to your `PATH` at this point.
|
||||||
|
* Run the following command to obtain and install lnd, lncli, lnshell and all dependencies:
|
||||||
|
|
||||||
|
```
|
||||||
|
go get -u -v github.com/lightningnetwork/lnd/...
|
||||||
|
```
|
||||||
|
|
||||||
|
Feel free to disregard any errors/warnings related to the lnstate and uspv packages.
|
||||||
|
|
||||||
|
## Packages and Utilities
|
||||||
|
|
||||||
### chainntfs
|
### chainntfs
|
||||||
|
|
||||||
A package centered around a generic interface for receiving transaction/confirmation based notifications concerning the blockchain. Such notifications are required in order for pending payment channels to be notified once the funding transaction gains a specified number of confirmations, and in order to catch a counter-party attempting a non-cooperative close using a past commitment transaction to steal funds.
|
A package centered around a generic interface for receiving transaction/confirmation based notifications concerning the blockchain. Such notifications are required in order for pending payment channels to be notified once the funding transaction gains a specified number of confirmations, and in order to catch a counter-party attempting a non-cooperative close using a past commitment transaction to steal funds.
|
||||||
|
@ -24,7 +24,9 @@ func printRespJson(resp interface{}) {
|
|||||||
var ShellCommand = cli.Command{
|
var ShellCommand = cli.Command{
|
||||||
Name: "shell",
|
Name: "shell",
|
||||||
Usage: "enter interactive shell",
|
Usage: "enter interactive shell",
|
||||||
Action: shell,
|
Action: func(c *cli.Context) {
|
||||||
|
println("not implemented yet")
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
var NewAddressCommand = cli.Command{
|
var NewAddressCommand = cli.Command{
|
||||||
|
4
peer.go
4
peer.go
@ -9,8 +9,8 @@ import (
|
|||||||
|
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/lightningnetwork/lnd/lndc"
|
"github.com/lightningnetwork/lnd/lndc"
|
||||||
"li.lan/labs/plasma/lnwallet"
|
"github.com/lightningnetwork/lnd/lnwallet"
|
||||||
"li.lan/labs/plasma/lnwire"
|
"github.com/lightningnetwork/lnd/lnwire"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user