mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-12 01:41:09 +02:00
Merge pull request #9301 from chuangjinglu/master
multi: fix some function names in interface comment
This commit is contained in:
commit
7e8dc2d389
@ -19,7 +19,7 @@ var EmptyOutPoint wire.OutPoint
|
|||||||
// construct a valid input within a sweeping transaction to sweep this
|
// construct a valid input within a sweeping transaction to sweep this
|
||||||
// lingering UTXO.
|
// lingering UTXO.
|
||||||
type Input interface {
|
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.
|
// construct the corresponding transaction input.
|
||||||
OutPoint() wire.OutPoint
|
OutPoint() wire.OutPoint
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ type MockInput struct {
|
|||||||
// Compile time assertion that MockInput implements Input.
|
// Compile time assertion that MockInput implements Input.
|
||||||
var _ Input = (*MockInput)(nil)
|
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.
|
// the corresponding transaction input.
|
||||||
func (m *MockInput) OutPoint() wire.OutPoint {
|
func (m *MockInput) OutPoint() wire.OutPoint {
|
||||||
args := m.Called()
|
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
|
// UtxoSource is an interface that allows a caller to access a source of UTXOs
|
||||||
// to use when crafting sweep transactions.
|
// to use when crafting sweep transactions.
|
||||||
type UtxoSource interface {
|
type UtxoSource interface {
|
||||||
// ListUnspentWitness returns all UTXOs from the default wallet account
|
// ListUnspentWitnessFromDefaultAccount returns all UTXOs from the
|
||||||
// that have between minConfs and maxConfs number of confirmations.
|
// default wallet account that have between minConfs and maxConfs
|
||||||
|
// number of confirmations.
|
||||||
ListUnspentWitnessFromDefaultAccount(minConfs, maxConfs int32) (
|
ListUnspentWitnessFromDefaultAccount(minConfs, maxConfs int32) (
|
||||||
[]*lnwallet.Utxo, error)
|
[]*lnwallet.Utxo, error)
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ type Message interface {
|
|||||||
// be encoded.
|
// be encoded.
|
||||||
MsgType() MessageType
|
MsgType() MessageType
|
||||||
|
|
||||||
// MaxMessagePayload is the maximum serialized length that a particular
|
// MaxPayloadLength is the maximum serialized length that a particular
|
||||||
// message type can take.
|
// message type can take.
|
||||||
MaxPayloadLength(uint32) uint32
|
MaxPayloadLength(uint32) uint32
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user