提交 f023a235 编写于 作者: K Kevin Heifner

Move recovery_cache to thread_local

上级 0da28bb5
......@@ -87,7 +87,7 @@ flat_set<public_key_type> transaction::get_signature_keys( const vector<signatur
using boost::adaptors::transformed;
constexpr size_t recovery_cache_size = 1000;
static recovery_cache_type recovery_cache;
static thread_local recovery_cache_type recovery_cache;
const digest_type digest = sig_digest(chain_id, cfd);
flat_set<public_key_type> recovered_pub_keys;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册