mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
chore: fix some comments for struct field
Signed-off-by: linghuying <1599935829@qq.com>
This commit is contained in:
parent
09b38aaa01
commit
91930d4ab8
@ -379,7 +379,7 @@ type Machine struct {
|
|||||||
// errors that cause partial writes.
|
// errors that cause partial writes.
|
||||||
nextHeaderSend []byte
|
nextHeaderSend []byte
|
||||||
|
|
||||||
// nextHeaderBody holds a reference to the remaining body bytes to write
|
// nextBodySend holds a reference to the remaining body bytes to write
|
||||||
// out for a pending message. This allows us to tolerate timeout errors
|
// out for a pending message. This allows us to tolerate timeout errors
|
||||||
// that cause partial writes.
|
// that cause partial writes.
|
||||||
nextBodySend []byte
|
nextBodySend []byte
|
||||||
|
@ -85,7 +85,7 @@ type Config struct {
|
|||||||
// for ease of testing.
|
// for ease of testing.
|
||||||
Clock clock.Clock
|
Clock clock.Clock
|
||||||
|
|
||||||
// WriteFlapCounts records the flap count for a set of peers on disk.
|
// WriteFlapCount records the flap count for a set of peers on disk.
|
||||||
WriteFlapCount func(map[route.Vertex]*channeldb.FlapCount) error
|
WriteFlapCount func(map[route.Vertex]*channeldb.FlapCount) error
|
||||||
|
|
||||||
// ReadFlapCount gets the flap count for a peer on disk.
|
// ReadFlapCount gets the flap count for a peer on disk.
|
||||||
|
@ -3488,7 +3488,7 @@ type ChannelCloseSummary struct {
|
|||||||
// per-commitment-point.
|
// per-commitment-point.
|
||||||
RemoteNextRevocation *btcec.PublicKey
|
RemoteNextRevocation *btcec.PublicKey
|
||||||
|
|
||||||
// LocalChanCfg is the channel configuration for the local node.
|
// LocalChanConfig is the channel configuration for the local node.
|
||||||
LocalChanConfig ChannelConfig
|
LocalChanConfig ChannelConfig
|
||||||
|
|
||||||
// LastChanSyncMsg is the ChannelReestablish message for this channel
|
// LastChanSyncMsg is the ChannelReestablish message for this channel
|
||||||
|
@ -447,7 +447,7 @@ type ChannelCloseSummary struct {
|
|||||||
// per-commitment-point.
|
// per-commitment-point.
|
||||||
RemoteNextRevocation *btcec.PublicKey
|
RemoteNextRevocation *btcec.PublicKey
|
||||||
|
|
||||||
// LocalChanCfg is the channel configuration for the local node.
|
// LocalChanConfig is the channel configuration for the local node.
|
||||||
LocalChanConfig ChannelConfig
|
LocalChanConfig ChannelConfig
|
||||||
|
|
||||||
// LastChanSyncMsg is the ChannelReestablish message for this channel
|
// LastChanSyncMsg is the ChannelReestablish message for this channel
|
||||||
|
@ -583,7 +583,7 @@ type ChannelCloseSummary struct {
|
|||||||
// per-commitment-point.
|
// per-commitment-point.
|
||||||
RemoteNextRevocation *btcec.PublicKey
|
RemoteNextRevocation *btcec.PublicKey
|
||||||
|
|
||||||
// LocalChanCfg is the channel configuration for the local node.
|
// LocalChanConfig is the channel configuration for the local node.
|
||||||
LocalChanConfig ChannelConfig
|
LocalChanConfig ChannelConfig
|
||||||
|
|
||||||
// LastChanSyncMsg is the ChannelReestablish message for this channel
|
// LastChanSyncMsg is the ChannelReestablish message for this channel
|
||||||
|
Loading…
Reference in New Issue
Block a user