mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
5ff5225245
Now that we have the new package `lnd/channeldb/models` we can invert the depenency between `channeldb` and `invoices`. - Move all the invoice related types and errors to the `invoices` package. - Ensure that all the packages dealing with invoices use the types and interfaces defined in the `invoices` package. - Implement the InvoiceDB interface (defined in `lnd/invoices`) in channeldb. - Add new mock for InterfaceDB. - `InvoiceRegistery` tests are now in its own subpacakge (they need to import both invoices & channeldb). This is temporary until we can decouple them. |
||
---|---|---|
.. | ||
addinvoice_test.go | ||
addinvoice.go | ||
config_active.go | ||
config_default.go | ||
driver.go | ||
invoices_grpc.pb.go | ||
invoices_server.go | ||
invoices.pb.go | ||
invoices.pb.gw.go | ||
invoices.pb.json.go | ||
invoices.proto | ||
invoices.swagger.json | ||
invoices.yaml | ||
log.go | ||
utils.go |