Speedup SideChain::get_outputs_blob()

This commit is contained in:
SChernykh
2022-08-15 11:16:00 +02:00
parent ea6a19a260
commit 30861bbf91
8 changed files with 81 additions and 11 deletions

View File

@@ -198,7 +198,7 @@ void BlockCache::load_all(SideChain& side_chain, P2PServer& server)
continue;
}
if (block.deserialize(data + sizeof(uint32_t), n, side_chain) == 0) {
if (block.deserialize(data + sizeof(uint32_t), n, side_chain, uv_default_loop_checked()) == 0) {
server.add_cached_block(block);
++blocks_loaded;
}