@staticmethod
async def create(coin_store: CoinStore, block_store: BlockStore, consensus_constants: ConsensusConstants, hint_store: HintStore):
    '\n        Initializes a blockchain with the BlockRecords from disk, assuming they have all been\n        validated. Uses the genesis block given in override_constants, or as a fallback,\n        in the consensus constants config.\n        '
    self = Blockchain()
    self.lock = asyncio.Lock()
    self.compact_proof_lock = asyncio.Lock()
    cpu_count = multiprocessing.cpu_count()
    if (cpu_count > 61):
        cpu_count = 61
    num_workers = max((cpu_count - 2), 1)
    self.pool = ProcessPoolExecutor(max_workers=num_workers)
    log.info(f'Started {num_workers} processes for block validation')
    self.constants = consensus_constants
    self.coin_store = coin_store
    self.block_store = block_store
    self.constants_json = recurse_jsonify(dataclasses.asdict(self.constants))
    self._shut_down = False
    (await self._load_chain_from_store())
    self._seen_compact_proofs = set()
    self.hint_store = hint_store
    return self
Initializes a blockchain with the BlockRecords from disk, assuming they have all been
validated. Uses the genesis block given in override_constants, or as a fallback,
in the consensus constants config.
@staticmethod
async def create(coin_store: CoinStore, block_store: BlockStore, consensus_constants: ConsensusConstants, hint_store: HintStore):
    '\n        Initializes a blockchain with the BlockRecords from disk, assuming they have all been\n        validated. Uses the genesis block given in override_constants, or as a fallback,\n        in the consensus constants config.\n        '
    self = Blockchain()
    self.lock = asyncio.Lock()
    self.compact_proof_lock = asyncio.Lock()
    cpu_count = multiprocessing.cpu_count()
    if (cpu_count > 61):
        cpu_count = 61
    num_workers = max((cpu_count - 2), 1)
    self.pool = ProcessPoolExecutor(max_workers=num_workers)
    log.info(f'Started {num_workers} processes for block validation')
    self.constants = consensus_constants
    self.coin_store = coin_store
    self.block_store = block_store
    self.constants_json = recurse_jsonify(dataclasses.asdict(self.constants))
    self._shut_down = False
    (await self._load_chain_from_store())
    self._seen_compact_proofs = set()
    self.hint_store = hint_store
    return self