Removing block map from push client.

This commit is contained in:
clemahieu 2014-11-25 21:00:49 -06:00
commit 9cdf883020
2 changed files with 4 additions and 2 deletions

View file

@ -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 ();
}

View file

@ -436,7 +436,7 @@ namespace rai {
void completed_pushes ();
std::unordered_map <rai::account, rai::block_hash> pulls;
std::unordered_map <rai::account, rai::block_hash> pushes;
std::array <uint8_t, 4000> receive_buffer;
std::array <uint8_t, 200> receive_buffer;
std::shared_ptr <rai::bootstrap_client> 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 <uint8_t, 4000> receive_buffer;
std::array <uint8_t, 200> receive_buffer;
std::shared_ptr <rai::frontier_req_client> connection;
std::unordered_map <rai::account, rai::block_hash>::iterator current;
std::unordered_map <rai::account, rai::block_hash>::iterator end;