Merge pull request #7661

08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
This commit is contained in:
luigi1111 2021-06-10 12:00:54 -05:00
commit 7499837a6f
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
29 changed files with 229 additions and 230 deletions

View file

@ -1639,8 +1639,7 @@ namespace tools
try
{
std::istringstream iss(blob);
binary_archive<false> ar(iss);
binary_archive<false> ar{epee::strspan<std::uint8_t>(blob)};
if (::serialization::serialize(ar, ptx))
loaded = true;
}