remove unused data from in-mem blockchain (small mem savings)

This commit is contained in:
Javier Smooth
2015-08-01 02:24:27 -07:00
parent b5d19efd6f
commit bf65fe5b67
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -38,6 +38,7 @@
#include <boost/multi_index/member.hpp>
#include <boost/foreach.hpp>
#include <atomic>
#include <cstddef>
#include "syncobj.h"
#include "string_tools.h"
@@ -65,7 +66,6 @@ namespace cryptonote
{
transaction tx;
uint64_t m_keeper_block_height;
size_t m_blob_size;
std::vector<uint64_t> m_global_output_indexes;
};
@@ -29,6 +29,7 @@
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
#pragma once
#include <cstddef>
namespace boost
{
@@ -41,7 +42,8 @@ namespace boost
{
ar & te.tx;
ar & te.m_keeper_block_height;
ar & te.m_blob_size;
size_t dummy;
ar & dummy; // formerly te.m_blob_size;
ar & te.m_global_output_indexes;
}