mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-12 07:08:24 +01:00
lnwallet: add additional BlockChainIO methods
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
b440005219
commit
1119d75996
@@ -210,8 +210,15 @@ type BlockChainIO interface {
|
||||
GetUtxo(txid *wire.ShaHash, index uint32) (*wire.TxOut, error)
|
||||
|
||||
// GetTransaction returns the full transaction identified by the passed
|
||||
// transaction ID.
|
||||
GetTransaction(txid *wire.ShaHash) (*wire.MsgTx, error)
|
||||
// transaction ID.
|
||||
GetTransaction(txid *wire.ShaHash) (*wire.MsgTx, error)
|
||||
|
||||
// GetBlockHash returns the hash of the block in the best block chain at the
|
||||
// given height.
|
||||
GetBlockHash(blockHeight int64) (*wire.ShaHash, error)
|
||||
|
||||
// GetBlock returns a block by the given hash.
|
||||
GetBlock(blockHash *wire.ShaHash) (*wire.MsgBlock, error)
|
||||
}
|
||||
|
||||
// SignDescriptor houses the necessary information required to successfully sign
|
||||
|
||||
Reference in New Issue
Block a user