add shell spv testing mode
To try uspv, do ./lnd -spv The remote node is hardcoded in shell.go. If you aren't running a full node on localhost, specify where to connect to. Nearby nodes will be much faster but random testnet nodes on the internet should also work.
This commit is contained in:
1 parent
2f9fc87636
commit
624e776987
7 files changed
+358
-20
No files matched your search
@@ -22,8 +22,8 @@ func RpcConnect(args []string) error {
|
||||
}
|
||||
fmt.Printf("connection state: %s\n", state.String())
|
||||
time.Sleep(time.Second * 2)
|
||||
// lnClient := lnrpc.NewLightningClient(conn)
|
||||
// lnClient.NewAddress(nil, nil, nil) // crashes
|
||||
// lnClient := lnrpc.NewLightningClient(conn)
|
||||
// lnClient.NewAddress(nil, nil, nil) // crashes
|
||||
|
||||
state, err = conn.State()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user