lnd/lnwire
bryanvu e549a3f0ed fundingmanager: move final funding steps from wallet to funding manager.
Once a channel funding process has advanced to the point of broadcasting
the funding transaction, the state of the channel should be persisted
so that the nodes can disconnect or go down without having to wait for the
funding transaction to be confirmed on the blockchain.

Previously, the finalization of the funding process was handled by a
combination of the funding manager, the peer and the wallet, but if
the remote peer is no longer online or no longer connected, this flow
will no longer work. This commit moves all funding steps following
the transaction broadcast into the funding manager, which is available
as long as the daemon is running.
2017-02-24 11:37:33 -08:00
..
channel_announcement_test.go multi: update btcsuite API's to latest upstream changes 2017-01-05 13:56:34 -08:00
channel_announcement.go multi: fix go vet warnings throughout code base 2017-02-16 19:33:19 +08:00
channel_id_test.go lnwire: separate ChannelID into a distinct struct, add tests 2016-12-27 16:43:24 -08:00
channel_id.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
channel_update_announcement_test.go lnwire: add tests to check payload estimates for channel announcements 2016-12-27 16:43:39 -08:00
channel_update_announcement.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
close_complete_test.go lnwire: directly embed the wire.OutPoint in all commitment update msgs 2017-02-21 01:42:35 -08:00
close_complete.go lnwire: directly embed the wire.OutPoint in all commitment update msgs 2017-02-21 01:42:35 -08:00
close_request_test.go lnwire: directly embed the wire.OutPoint in all commitment update msgs 2017-02-21 01:42:35 -08:00
close_request.go lnwire: directly embed the wire.OutPoint in all commitment update msgs 2017-02-21 01:42:35 -08:00
commit_sig_test.go lnwire: morph CommitSignature into CommitSig 2017-02-21 01:42:23 -08:00
commit_sig.go lnwire: remove obsolete String() method from new wire messages 2017-02-21 01:43:34 -08:00
error_generic_test.go lnwire: directly embed the wire.OutPoint in all commitment update msgs 2017-02-21 01:42:35 -08:00
error_generic.go lnwire: directly embed the wire.OutPoint in all commitment update msgs 2017-02-21 01:42:35 -08:00
features_test.go lnwire: fix features_test.go to not reference removed .String() method 2017-02-22 16:01:42 -08:00
features.go lnwire: remove String() method from FeatureVector 2017-02-22 15:53:47 -08:00
init_message.go lnwire+features: transition to the user friendly list of features 2017-02-21 01:25:05 -08:00
init_test.go lnwire+features: transition to the user friendly list of features 2017-02-21 01:25:05 -08:00
lnwire_test.go lnwire: directly embed the wire.OutPoint in all commitment update msgs 2017-02-21 01:42:35 -08:00
lnwire.go lnwire: add serializing and deserializing for type [6]byte 2017-02-22 15:46:59 -08:00
message.go lnwire: morph HTLCSettleRequest into UpdateFufillHTLC 2017-02-21 01:42:32 -08:00
netaddress.go lnwire: modify NetAddress to implement the net.Addr interface 2016-11-07 18:18:20 -08:00
node_announcement_test.go multi: update btcsuite API's to latest upstream changes 2017-01-05 13:56:34 -08:00
node_announcement.go multi: fix go vet warnings throughout code base 2017-02-16 19:33:19 +08:00
ping_test.go lnwire: add ping and pong messages 2016-11-10 17:09:27 -08:00
ping.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
pong_test.go lnwire: add ping and pong messages 2016-11-10 17:09:27 -08:00
pong.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
README.md multi: add link to LICENSE in README license badges (#100) 2017-01-12 16:31:08 -08:00
revoke_and_ack_test.go lnwire: rename CommitRevocation to RevokeAndAck 2017-02-21 01:42:09 -08:00
revoke_and_ack.go lnwire: rename CommitRevocation to RevokeAndAck 2017-02-21 01:42:09 -08:00
signature_test.go lnwire: switch to using a fixed 64-byte encoding for signatures (#86) 2016-12-08 12:56:37 -08:00
signature.go lnwire: switch to using a fixed 64-byte encoding for signatures (#86) 2016-12-08 12:56:37 -08:00
single_funding_complete_test.go channeldb: change [4]byte obsfucator to [6]byte in test 2017-02-22 15:46:59 -08:00
single_funding_complete.go lnwire: use [6]byte obsfucator 2017-02-22 15:46:59 -08:00
single_funding_open_proof_test.go lnwire: modify fundingOpen to include channel ID rather than SPV proof 2016-12-27 16:44:25 -08:00
single_funding_open_proof.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
single_funding_request_test.go fundingmanager: move final funding steps from wallet to funding manager. 2017-02-24 11:37:33 -08:00
single_funding_request.go fundingmanager: move final funding steps from wallet to funding manager. 2017-02-24 11:37:33 -08:00
single_funding_response_test.go fundingmanager: move final funding steps from wallet to funding manager. 2017-02-24 11:37:33 -08:00
single_funding_response.go fundingmanager: move final funding steps from wallet to funding manager. 2017-02-24 11:37:33 -08:00
single_funding_signcomplete_test.go lnwire: add basic encode/decode tests for single funder workflow 2016-05-30 20:52:13 -07:00
single_funding_signcomplete.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
update_add_htlc_test.go lnwire: rename HTLCAddRequest to UpdateAddHTLC 2017-02-21 01:42:26 -08:00
update_add_htlc.go lnwire: remove obsolete String() method from new wire messages 2017-02-21 01:43:34 -08:00
update_fail_htlc_test.go lnwire: create distinct type for UpdateFailHTLC failure reason 2017-02-21 01:43:36 -08:00
update_fail_htlc.go lnwire: create distinct type for UpdateFailHTLC failure reason 2017-02-21 01:43:36 -08:00
update_fulfill_htlc_test.go lnwire: morph HTLCSettleRequest into UpdateFufillHTLC 2017-02-21 01:42:32 -08:00
update_fulfill_htlc.go lnwire: remove obsolete String() method from new wire messages 2017-02-21 01:43:34 -08:00

lnwire

[Build Status] (https://travis-ci.org/lightningnetwork/lnd) [MIT licensed] (https://github.com/lightningnetwork/lnd/blob/master/LICENSE) [GoDoc] (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