lnwire: replace ChannelPoint with ChannelID, use new PendingChanID

This commit is contained in:
Olaoluwa Osuntokun
2017-04-16 15:22:20 -07:00
parent 8147151fbf
commit c06894a2e6
27 changed files with 151 additions and 223 deletions

View File

@@ -4,7 +4,6 @@ import (
"io"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/wire"
)
// AnnounceSignatures this is a direct message between two endpoints of a
@@ -16,7 +15,7 @@ type AnnounceSignatures struct {
// Channel id is better for users and debugging and short channel id is
// used for quick test on existence of the particular utxo inside the
// block chain, because it contains information about block.
ChannelID wire.OutPoint
ChannelID ChannelID
// ShortChannelID is the unique description of the funding
// transaction. It is constructed with the most significant 3 bytes