From 9cdf8830206a1ebed87a74b49198588bca022d79 Mon Sep 17 00:00:00 2001 From: clemahieu Date: Tue, 25 Nov 2014 21:00:49 -0600 Subject: [PATCH] Removing block map from push client. --- rai/core/core.cpp | 2 ++ rai/core/core.hpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rai/core/core.cpp b/rai/core/core.cpp index 57d875d5..f225abac 100644 --- a/rai/core/core.cpp +++ b/rai/core/core.cpp @@ -3469,6 +3469,8 @@ void rai::bulk_push_client::push () } return result; }); + rai::frontier frontier; + connection->connection->client->store.latest_get (current->first, frontier); filler.generate (frontier.hash); push_block (); } diff --git a/rai/core/core.hpp b/rai/core/core.hpp index 1098c0d7..e7bae06e 100644 --- a/rai/core/core.hpp +++ b/rai/core/core.hpp @@ -436,7 +436,7 @@ namespace rai { void completed_pushes (); std::unordered_map pulls; std::unordered_map pushes; - std::array receive_buffer; + std::array receive_buffer; std::shared_ptr connection; rai::account_iterator current; rai::account_iterator end; @@ -451,7 +451,7 @@ namespace rai { void received_type (); void received_block (boost::system::error_code const &, size_t); void process_end (); - std::array receive_buffer; + std::array receive_buffer; std::shared_ptr connection; std::unordered_map ::iterator current; std::unordered_map ::iterator end;