Replace singletons with @functools.lru_cache() decorator
-
CurrencySymbol
-
BlockchainParams
-
HeadBlock
-
UDValue
-
ClientInstance
Use @functools.lru_cache(maxsize=1)
decorator:
CurrencySymbol
BlockchainParams
HeadBlock
UDValue
ClientInstance
Use @functools.lru_cache(maxsize=1)
decorator:
mentioned in merge request !182 (merged)
changed the description
HeadBlock
as completed marked the checklist item HeadBlock
as completed
changed the description
UDValue
as completed marked the checklist item UDValue
as completed
mentioned in merge request !211 (merged)
changed title from Get rid of singleton usage to Get rid of singleton usage, replace with @functools.lru_cache decorator
changed title from Get rid of singleton usage, replace with @functools.lru_cache decorator to Get rid of singleton usage, replace with @functools.lru_cache() decorator
changed the description