mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 02:52:18 -04:00
Merge pull request #7661
08e4497
Improve cryptonote (block and tx) binary read performance (Lee Clagett)
This commit is contained in:
commit
7499837a6f
29 changed files with 229 additions and 230 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue