mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
multi: fix some function names in interface comment
Signed-off-by: chuangjinglu <chuangjinglu@outlook.com>
This commit is contained in:
parent
94f7ed46de
commit
bcfd8d5b47
4 changed files with 6 additions and 5 deletions
|
@ -19,7 +19,7 @@ var EmptyOutPoint wire.OutPoint
|
|||
// construct a valid input within a sweeping transaction to sweep this
|
||||
// lingering UTXO.
|
||||
type Input interface {
|
||||
// Outpoint returns the reference to the output being spent, used to
|
||||
// OutPoint returns the reference to the output being spent, used to
|
||||
// construct the corresponding transaction input.
|
||||
OutPoint() wire.OutPoint
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ type MockInput struct {
|
|||
// Compile time assertion that MockInput implements Input.
|
||||
var _ Input = (*MockInput)(nil)
|
||||
|
||||
// Outpoint returns the reference to the output being spent, used to construct
|
||||
// OutPoint returns the reference to the output being spent, used to construct
|
||||
// the corresponding transaction input.
|
||||
func (m *MockInput) OutPoint() wire.OutPoint {
|
||||
args := m.Called()
|
||||
|
|
|
@ -152,8 +152,9 @@ func (f FeeEstimateInfo) Estimate(estimator chainfee.Estimator,
|
|||
// UtxoSource is an interface that allows a caller to access a source of UTXOs
|
||||
// to use when crafting sweep transactions.
|
||||
type UtxoSource interface {
|
||||
// ListUnspentWitness returns all UTXOs from the default wallet account
|
||||
// that have between minConfs and maxConfs number of confirmations.
|
||||
// ListUnspentWitnessFromDefaultAccount returns all UTXOs from the
|
||||
// default wallet account that have between minConfs and maxConfs
|
||||
// number of confirmations.
|
||||
ListUnspentWitnessFromDefaultAccount(minConfs, maxConfs int32) (
|
||||
[]*lnwallet.Utxo, error)
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ type Message interface {
|
|||
// be encoded.
|
||||
MsgType() MessageType
|
||||
|
||||
// MaxMessagePayload is the maximum serialized length that a particular
|
||||
// MaxPayloadLength is the maximum serialized length that a particular
|
||||
// message type can take.
|
||||
MaxPayloadLength(uint32) uint32
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue