mirror of https://github.com/BTCPrivate/lnd.git
a658fabf48
This commit adds a new restriction around funding channels at the daemon level: lnd nodes will not allow either the initiation or the acceptance of a channel before the node is fully synced to the best known chain. This fixes a class of bug that arises when a new node joins the network and either attempts to open a channel or has a channel extended to them before the node is fully synced to the network. |
||
---|---|---|
.. | ||
README.md | ||
channel_announcement.go | ||
channel_announcement_test.go | ||
channel_id.go | ||
channel_id_test.go | ||
channel_update_announcement.go | ||
channel_update_announcement_test.go | ||
close_complete.go | ||
close_complete_test.go | ||
close_request.go | ||
close_request_test.go | ||
commit_revocation.go | ||
commit_revocation_test.go | ||
commit_signature.go | ||
commit_signature_test.go | ||
error_generic.go | ||
error_generic_test.go | ||
htlc_addreject.go | ||
htlc_addreject_test.go | ||
htlc_addrequest.go | ||
htlc_addrequest_test.go | ||
htlc_cancel.go | ||
htlc_cancel_test.go | ||
htlc_settlerequest.go | ||
htlc_settlerequest_test.go | ||
lnwire.go | ||
lnwire_test.go | ||
message.go | ||
netaddress.go | ||
node_announcement.go | ||
node_announcement_test.go | ||
ping.go | ||
ping_test.go | ||
pong.go | ||
pong_test.go | ||
signature.go | ||
signature_test.go | ||
single_funding_complete.go | ||
single_funding_complete_test.go | ||
single_funding_open_proof.go | ||
single_funding_open_proof_test.go | ||
single_funding_request.go | ||
single_funding_request_test.go | ||
single_funding_response.go | ||
single_funding_response_test.go | ||
single_funding_signcomplete.go | ||
single_funding_signcomplete_test.go |
README.md
lnwire
[] (https://travis-ci.org/lightningnetwork/lnd) [] (https://github.com/lightningnetwork/lnd/blob/master/LICENSE) [] (http://godoc.org/github.com/lightningnetwork/lnd/lnwire)
The lnwire package implements the Lightning Network wire protocol.
This package has intentionally been designed so it can be used as a standalone package for any projects needing to interface with lightning peers at the wire protocol level.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/lnwire