Skip to content
Snippets Groups Projects

#397: Replace singletons with @functools.lru_cache() decorator

Merged #397: Replace singletons with @functools.lru_cache() decorator
Merged Moul requested to merge 397_rm_singleton into main
  • Replace BlockchainParams() singleton with @functools.lru_cache()
  • Replace HeadBlock() singleton with @functools.lru_cache()
  • Replace UDValue() singleton with @functools.lru_cache()
  • Replace CurrencySymbol() singleton with @functools.lru_cache()
  • Replace ClientInstance() singleton with @functools.lru_cache()

Close #397 (closed).

Edited by Moul

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading