lnd/chainreg
positiveblue c602ac07e7
chainntnfs: move cache implementation to channeldb
This commit moves the `HeightHintCache` implementation to the
`channeldb` package and inverts the dependency relation between
`chainntnfs` and `channeldb`.

Many packages depend on channeldb for type definitions,
interfaces, etc. `chainntnfs` is an example of that. `chainntnfs`
defines the  `SpendHintCache` and `ConfirmHintCache` interfaces but
it also implments them (`HeightHintCache` struct). The implementation
uses logic that should not leak from channeldb (ex: bucket paths).
This makes our code highly coupled + it would not allow us to use any
of these interfaces in a package that is imported by `channeldb`
(circular dependency).
2023-01-16 03:13:17 -08:00
..
chaincode.go
chainparams.go multi: add signet parameters 2021-05-18 13:06:03 +02:00
chainregistry.go chainntnfs: move cache implementation to channeldb 2023-01-16 03:13:17 -08:00
log.go chainreg: register logger 2020-11-09 14:11:31 +02:00
no_chain_backend.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
taproot_check.go chainreg: update tapoort node awareness to account for bitcoind 19+ 2022-08-12 15:35:32 -07:00