diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-02-14 17:45:04 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-04-05 18:50:22 +0000 |
| commit | 4c94cfecfcb96c218b37234eda2f9c262821cf7c (patch) | |
| tree | af8183f3dacf18298fe0f6f5493c2dc48ebcc1cd /src/common/util.cpp | |
| parent | a345060ace22ca58f0c209db71fede38d78fb435 (diff) | |
| download | monzero-core-4c94cfecfcb96c218b37234eda2f9c262821cf7c.tar.gz monzero-core-4c94cfecfcb96c218b37234eda2f9c262821cf7c.tar.xz monzero-core-4c94cfecfcb96c218b37234eda2f9c262821cf7c.zip | |
store outPk/8 in the tx for speed
It avoids dividing by 8 when deserializing a tx, which is a slow
operation, and multiplies by 8 when verifying and extracing the
amount, which is much faster as well as less frequent
Diffstat (limited to 'src/common/util.cpp')
0 files changed, 0 insertions, 0 deletions
