def register_ts_store_batch_handlers(self): ts_store_b_h = TsStoreBatchHandler(self.node.db_manager) for lid in [DOMAIN_LEDGER_ID, CONFIG_LEDGER_ID]: self.node.write_manager.register_batch_handler(ts_store_b_h, ledger_id=lid)
def ts_store_batch_handler(database_manager): return TsStoreBatchHandler(database_manager)