diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-27 20:54:01 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-27 20:54:01 +0000 |
| commit | e45a8c9768d942868fbe7f62ea5f521947e9f671 (patch) | |
| tree | 1ad6cbf3725936d34a7ac0fa59efd946bcca779e /src/simplewallet/simplewallet.cpp | |
| parent | 4061a32082554f3b18429b85b35398469b061faa (diff) | |
| download | monzero-core-e45a8c9768d942868fbe7f62ea5f521947e9f671.tar.gz monzero-core-e45a8c9768d942868fbe7f62ea5f521947e9f671.tar.xz monzero-core-e45a8c9768d942868fbe7f62ea5f521947e9f671.zip | |
core: serialize block major/minor versions as bytes, not varints
This allows them to be saved as a fixed (one byte) chunk whatever
the value. Using a varint will use two bytes as the high bit gets
set.
This is backward compatible with current usage (0-2 values).
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
0 files changed, 0 insertions, 0 deletions
