Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc cleanup #1384

Merged
merged 3 commits into from
Nov 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rai/node/lmdb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class mdb_val
operator MDB_val const & () const;
MDB_val value;
std::shared_ptr<std::vector<uint8_t>> buffer;
rai::epoch epoch;
rai::epoch epoch{ rai::epoch::unspecified };
};
class block_store;

Expand Down
4 changes: 2 additions & 2 deletions rai/node/testing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ work (1, nullptr)
for (auto i (nodes.begin ()), j (nodes.begin () + 1), n (nodes.end ()); j != n; ++i, ++j)
{
auto starting1 ((*i)->peers.size ());
auto new1 (starting1);
decltype (starting1) new1;
auto starting2 ((*j)->peers.size ());
auto new2 (starting2);
decltype (starting2) new2;
(*j)->network.send_keepalive ((*i)->network.endpoint ());
do
{
Expand Down
1 change: 0 additions & 1 deletion rai/secure/ledger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <rai/secure/common.hpp>

struct MDB_txn;
namespace rai
{
class block_store;
Expand Down