• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 13035292482

29 Jan 2025 03:59PM UTC coverage: 49.3% (-9.5%) from 58.777%
13035292482

Pull #9456

github

mohamedawnallah
docs: update release-notes-0.19.0.md

In this commit, we warn users about the removal
of RPCs `SendToRoute`, `SendToRouteSync`, `SendPayment`,
and `SendPaymentSync` in the next release 0.20.
Pull Request #9456: lnrpc+docs: deprecate warning `SendToRoute`, `SendToRouteSync`, `SendPayment`, and `SendPaymentSync` in Release 0.19

100634 of 204126 relevant lines covered (49.3%)

1.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lntest/mock/chainio.go
1
package mock
2

3
import (
4
        "github.com/btcsuite/btcd/chaincfg"
5
        "github.com/btcsuite/btcd/chaincfg/chainhash"
6
        "github.com/btcsuite/btcd/wire"
7
)
8

9
// ChainIO is a mock implementation of the BlockChainIO interface.
10
type ChainIO struct {
11
        BestHeight int32
12
}
13

14
// GetBestBlock currently returns dummy values.
15
func (c *ChainIO) GetBestBlock() (*chainhash.Hash, int32, error) {
×
16
        return chaincfg.TestNet3Params.GenesisHash, c.BestHeight, nil
×
17
}
×
18

19
// GetUtxo currently returns dummy values.
20
func (c *ChainIO) GetUtxo(op *wire.OutPoint, _ []byte,
21
        heightHint uint32, _ <-chan struct{}) (*wire.TxOut, error) {
×
22

×
23
        return nil, nil
×
24
}
×
25

26
// GetBlockHash currently returns dummy values.
27
func (c *ChainIO) GetBlockHash(blockHeight int64) (*chainhash.Hash, error) {
×
28
        return nil, nil
×
29
}
×
30

31
// GetBlock currently returns dummy values.
32
func (c *ChainIO) GetBlock(blockHash *chainhash.Hash) (*wire.MsgBlock, error) {
×
33
        return nil, nil
×
34
}
×
35

36
// GetBlockHeader currently returns dummy values.
37
func (c *ChainIO) GetBlockHeader(blockHash *chainhash.Hash) (*wire.BlockHeader,
38
        error) {
×
39

×
40
        return nil, nil
×
41
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc