Do not export single-indexer wind/unwind/index functions #341
Labels
status: triage
This is awaiting review. Maintainers should this label once triaged
type: bug
This is a bug
Confirmation
Describe the bug
The functions UtxoIndexerUnwind, UtxoIndexerWind, UtxoIndexer, TxIndexerUnwind, TxIndexerWind, TxIndexer cannot effectively be called externally due to s.indexing check w/ panic, since external caller cannot set s.indexing, and upstream use of TBC with "manual" indexing now uses SyncIndexersToHash and does not need direct access to the individual indexers.
Expected behaviour
The functions UtxoIndexerUnwind, UtxoIndexerWind, UtxoIndexer, TxIndexerUnwind, TxIndexerWind, TxIndexer should not be exported.
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: