mirror of
https://github.com/monero-project/monero.git
synced 2025-08-08 20:32:19 -04:00
Improve cryptonote (block and tx) binary read performance
This commit is contained in:
parent
0a1ddc2eff
commit
08e4497c6e
29 changed files with 229 additions and 230 deletions
|
@ -1555,8 +1555,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue