Skip to content

feat(TxExplorer): implement optimized transaction history loading

Danil Martynenko requested to merge hotfix-17874 into master

Architecture:

  • Add TransactionHistoryCache with deduplication, merge modes (Replace/Append/Prepend), and configurable size limits
  • Add TransactionRequestQueue with priority-based sequential execution and lazy sorting optimization
  • Add TxHistoryConfig for centralized limit configuration

Integration:

  • Integrate new components into DapModuleTxExplorer
  • Add pagination support (-limit, -offset) to DapTxHistoryRequest
  • Add LIMIT/OFFSET keys to CommandKeys
  • Implement wallet change handling without cache clearing
  • Add retry mechanism for network availability

Testing:

  • Add unit tests for TransactionHistoryCache
  • Add unit tests for TransactionRequestQueue
  • Add unit tests for TxHistoryConfig
  • Configure CMake test infrastructure

UI:

  • Fix TX Explorer filter panel frame styling

Performance:

  • Cache persists across wallet switches (instant display)
  • Sequential request queue prevents race conditions
  • Pagination reduces initial load time

Merge request reports

Loading