mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
d884efea29
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. |
||
---|---|---|
.. | ||
channel_announcement_test.go | ||
channel_announcement.go | ||
channel_id_test.go | ||
channel_id.go | ||
channel_update_announcement_test.go | ||
channel_update_announcement.go | ||
close_complete_test.go | ||
close_complete.go | ||
close_request_test.go | ||
close_request.go | ||
commit_revocation_test.go | ||
commit_revocation.go | ||
commit_signature_test.go | ||
commit_signature.go | ||
error_generic_test.go | ||
error_generic.go | ||
htlc_addreject_test.go | ||
htlc_addreject.go | ||
htlc_addrequest_test.go | ||
htlc_addrequest.go | ||
htlc_cancel_test.go | ||
htlc_cancel.go | ||
htlc_settlerequest_test.go | ||
htlc_settlerequest.go | ||
lnwire_test.go | ||
lnwire.go | ||
message.go | ||
netaddress.go | ||
node_announcement_test.go | ||
node_announcement.go | ||
ping_test.go | ||
ping.go | ||
pong_test.go | ||
pong.go | ||
README.md | ||
signature_test.go | ||
signature.go | ||
single_funding_complete_test.go | ||
single_funding_complete.go | ||
single_funding_open_proof_test.go | ||
single_funding_open_proof.go | ||
single_funding_request_test.go | ||
single_funding_request.go | ||
single_funding_response_test.go | ||
single_funding_response.go | ||
single_funding_signcomplete_test.go | ||
single_funding_signcomplete.go |
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