lnd.xprv/lnrpc
Olaoluwa Osuntokun 1188fd2bf6
lnd: implement open+close channel workflow in daemon
This commit adds the necessary plumbing within the server, peer, and
rpcServer to handle opening and cooperatively closing a channel with a
remote peer.

Many new data structures have been added to the peer in order to allow
it to efficiently manage opening+.losing new/existing lightning
channels. Additional documentation has been added to several methods
within the peer struct, with some minor renaming along with way. The
peer has also gained a dedicated goroutine whose job it is to manage
any requests pertaining to opening, or closing any channels with the
remote peer.

The messages have been added to lnrpc define the requests and responses
to channel open+close messages. Additional channel logic has been added
between the rpcServer, peer, and server in order to properly manage the
necessary synchronization.
2016-06-21 13:14:05 -07:00
..
gen_protos.sh add gitignore, cli shell 2015-12-30 16:19:09 -04:00
rpc.pb.go lnrpc: add address type param to NewAddress 2016-04-24 20:26:32 -07:00
rpc.proto lnd: implement open+close channel workflow in daemon 2016-06-21 13:14:05 -07:00