lnd/graph/db
Elle Mouton c52c6c962b
graph/db: introduce ForEachChannelCacheable
Implement ForEachChannelCacheable which is like ForEachChannel but its
call-back takes the cached versions of channel info & policies. This is
then used during graph cache population. This will be useful once the
SQL implementation is added so that we can reduce the number of DB trips
on cache population.
2025-06-10 20:10:36 +02:00
..
models graph/db: let GraghCache.AddChannel take CachedEdgeInfo 2025-06-10 20:10:35 +02:00
addr.go graph/db: de(ser)ialise opaque node addrs 2025-02-05 12:41:50 +02:00
addr_test.go graph/db: more test coverage for node addresses 2025-05-22 14:14:42 +02:00
channel_cache.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
channel_cache_test.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
codec.go channeldb/graphdb: move outpoint ser/deser funcs to graphdb 2024-11-28 13:34:08 +02:00
errors.go graph/db: validate edge policy TLV data before persisting 2025-06-09 08:26:11 +02:00
graph.go graph/db: introduce ForEachChannelCacheable 2025-06-10 20:10:36 +02:00
graph_cache.go graph/db: let GraghCache.AddChannel take CachedEdgeInfo 2025-06-10 20:10:35 +02:00
graph_cache_test.go graph/db: let GraghCache.AddChannel take CachedEdgeInfo 2025-06-10 20:10:35 +02:00
graph_test.go graph/db: validate edge policy TLV data before persisting 2025-06-09 08:26:11 +02:00
interfaces.go graph/db: introduce ForEachChannelCacheable 2025-06-10 20:10:36 +02:00
kv_store.go graph/db: introduce ForEachChannelCacheable 2025-06-10 20:10:36 +02:00
log.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
notifications.go graph+rpcserver: add InboundFee to ChannelEdgeUpdate 2025-06-09 08:32:15 +02:00
options.go graph/db: rename KVStoreOptions to StoreOptions 2025-05-23 11:01:17 +02:00
reject_cache.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
reject_cache_test.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
setup_test.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
sql_store.go graph/db+sqldb: add HighestChanID to SQLStore 2025-06-02 14:53:18 +02:00
test_kvdb.go graph/db: skip TestGraphLoading for non-bbolt store 2025-05-23 10:53:27 +02:00
test_postgres.go graph/db: add StoreOptions to NewSQLStore 2025-05-23 11:05:36 +02:00
test_sqlite.go graph/db: add StoreOptions to NewSQLStore 2025-05-23 11:05:36 +02:00