Make header a bit more readable
This commit is contained in:
parent
856e02aeba
commit
cb8836fe64
1 changed files with 7 additions and 2 deletions
|
|
@ -101,9 +101,14 @@ public: // Status
|
|||
nano::election_status status;
|
||||
|
||||
public: // Interface
|
||||
election (nano::node &, std::shared_ptr<nano::block> const &, std::function<void (std::shared_ptr<nano::block> const &)> const &, std::function<void (nano::account const &)> const &, nano::election_behavior);
|
||||
election (nano::node &, std::shared_ptr<nano::block> const & block, std::function<void (std::shared_ptr<nano::block> const &)> const & confirmation_action, std::function<void (nano::account const &)> const & vote_action, nano::election_behavior behavior);
|
||||
|
||||
std::shared_ptr<nano::block> find (nano::block_hash const &) const;
|
||||
nano::election_vote_result vote (nano::account const &, uint64_t, nano::block_hash const &);
|
||||
/*
|
||||
* Process vote. Internally uses cooldown to throttle non-final votes
|
||||
* If the election reaches consensus, it will be confirmed
|
||||
*/
|
||||
nano::election_vote_result vote (nano::account const & representative, uint64_t timestamp, nano::block_hash const & block_hash);
|
||||
bool publish (std::shared_ptr<nano::block> const & block_a);
|
||||
std::size_t insert_inactive_votes_cache (nano::inactive_cache_information const &);
|
||||
// Confirm this block if quorum is met
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue