Replace singletons with @functools.lru_cache() decorator
-
CurrencySymbol
-
BlockchainParams
-
HeadBlock
-
UDValue
-
ClientInstance
Use @functools.lru_cache(maxsize=1)
decorator:
Edited by Moul
CurrencySymbol
BlockchainParams
HeadBlock
UDValue
ClientInstance
Use @functools.lru_cache(maxsize=1)
decorator: