syncTokensToCache
Sync dust tokens from DustLocalState to database cache.
When to call:
After blockchain events that affect dust (registrations, spends)
After deserializing DustLocalState from backup
Periodically to ensure cache is fresh
Process:
Load DustLocalState from persistent storage
Get all UTXOs from DustLocalState via FFI
Parse and insert into database
Close DustLocalState
Parameters
address
Wallet address to sync