Skip to content

Commit

Permalink
Remove block_counts (Serg review)
Browse files Browse the repository at this point in the history
  • Loading branch information
wezrule committed Jul 24, 2020
1 parent aa01f60 commit 89aea93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions nano/secure/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,6 @@ nano::epoch nano::account_info::epoch () const
return epoch_m;
}

size_t nano::block_counts::sum () const
{
return send + receive + open + change + state;
}

nano::pending_info::pending_info (nano::account const & source_a, nano::amount const & amount_a, nano::epoch epoch_a) :
source (source_a),
amount (amount_a),
Expand Down
10 changes: 0 additions & 10 deletions nano/secure/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,6 @@ class block_info final
nano::account account{ 0 };
nano::amount balance{ 0 };
};
class block_counts final
{
public:
size_t sum () const;
size_t send{ 0 };
size_t receive{ 0 };
size_t open{ 0 };
size_t change{ 0 };
size_t state{ 0 };
};

class confirmation_height_info final
{
Expand Down

0 comments on commit 89aea93

Please sign in to comment.