lnd.xprv/lnwire
Olaoluwa Osuntokun d884efea29
lnwire+lnd: Make Logging Messages Great Again
This commit modifies the login of sent/recv’d wire messages in trace
mode in order utilize the more detailed, and automatically generated
logging statements using pure spew.Sdump.

In order to avoid the spammy messages due to spew printing the
btcec.S256() curve paramter within wire messages with public keys, we
introduce a new logging function to unset the curve paramter to it
isn’t printed in its entirety. To insure we don’t run into any panics
as a result of a nil pointer defense, we now copy the public keys
during the funding process so we don’t run into a panic due to
modifying a pointer to the same object.
2017-01-14 17:52:18 -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 lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -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: channels are now identified by outpoint 2016-06-21 13:13:07 -07:00
close_complete.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
close_request_test.go lnwire: channels are now identified by outpoint 2016-06-21 13:13:07 -07:00
close_request.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
commit_revocation_test.go lnwire: update CommitRevocation for revoke key scheme 2016-06-30 11:59:46 -07:00
commit_revocation.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
commit_signature_test.go lnwire: add a LogIndex field to CommitSignature 2016-06-30 11:58:39 -07:00
commit_signature.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
error_generic_test.go lnwire: add concrete error type to ErrorGeneric 2016-10-23 13:41:23 -07:00
error_generic.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
htlc_addreject_test.go lnwire: channels are now identified by outpoint 2016-06-21 13:13:07 -07:00
htlc_addreject.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
htlc_addrequest_test.go lnwire+lnwallet+fundingmanager: general improvements 2016-12-13 11:01:57 -08:00
htlc_addrequest.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
htlc_cancel_test.go lnwire: add IncorrectValue as HTLC error type, fix typos 2017-01-07 21:21:58 -08:00
htlc_cancel.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
htlc_settlerequest_test.go lnwire: all hashes within the protocol are now 32-bytes 2016-06-30 11:53:21 -07:00
htlc_settlerequest.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
lnwire_test.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
lnwire.go lnwire: add cancellation reason to htlc cancel messages 2017-01-07 21:20:54 -08:00
message.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -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 lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -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
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 lnwire: add the state hint obsfucator to the SingleFundingComplete msg 2016-11-14 19:04:03 -08:00
single_funding_complete.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -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 lnwire: add new 'PushSatoshis' field to SingleFundingRequest 2017-01-09 17:24:32 -08:00
single_funding_request.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -08:00
single_funding_response_test.go lnwire: add DustLimit to SingleFundingRequest and SingleFundingResponse 2016-12-13 11:01:57 -08:00
single_funding_response.go lnwire+lnd: Make Logging Messages Great Again 2017-01-14 17:52:18 -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

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