mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
This is needed to cover the code of SQLStore with tests. To achieve compatibility with loopdb (SQLite), the following changes were done: - DestAddr is filled to avoid crash in SQL layer - Preimage is filled to avoid uniqueness checks by the DB - the code working with batch IDs was changed to work correctly when batch_id starts with 1 instead of 0 - SQL swap store has to have a swap with swap_hash from sweep to satisfy foreign key constraint of the DB |
||
|---|---|---|
| .. | ||
| log.go | ||
| store.go | ||
| store_mock.go | ||
| sweep_batch.go | ||
| sweep_batcher.go | ||
| sweep_batcher_test.go | ||