graph+config: add sql pagination config to ChannelGraph

This commit is contained in:
Elle Mouton committed 2025-07-22 17:16:41 +02:00
1 parent f0d2d1fd0a
commit 2fa30e8735
5 files changed
+17 -6

No files matched your search

+3
View File
@@ -182,6 +182,9 @@ type SQLStoreConfig struct {
// ChainHash is the genesis hash for the chain that all the gossip
// messages in this store are aimed at.
ChainHash chainhash.Hash
// PaginationCfg is the configuration for paginated queries.
PaginationCfg *sqldb.PagedQueryConfig
}
// NewSQLStore creates a new SQLStore instance given an open BatchedSQLQueries