Skip to content

Commit

Permalink
Merge pull request #2049 from AntelopeIO/remove_unneeded_files
Browse files Browse the repository at this point in the history
IF: Remove unneeded files
  • Loading branch information
linh2931 authored Jan 6, 2024
2 parents 14963e2 + 391c003 commit 965a9fa
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 56 deletions.
1 change: 0 additions & 1 deletion libraries/chain/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ set(CHAIN_HOTSTUFF_SOURCES
hotstuff/chain_pacemaker.cpp
hotstuff/instant_finality_extension.cpp
hotstuff/qc_chain.cpp
hotstuff/finalizer_policy.cpp
hotstuff/hotstuff.cpp
)

Expand Down
21 changes: 0 additions & 21 deletions libraries/chain/hotstuff/finalizer_policy.cpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@
namespace eosio::chain {

struct finalizer_policy {
finalizer_policy();
~finalizer_policy();

finalizer_policy(const finalizer_policy&);
finalizer_policy(finalizer_policy&&) noexcept;

finalizer_policy& operator=(const finalizer_policy&);
finalizer_policy& operator=(finalizer_policy&&) noexcept;

uint32_t generation = 0; ///< sequentially incrementing version number
uint64_t threshold = 0; ///< vote weight threshold to finalize blocks
std::vector<finalizer_authority> finalizers; ///< Instant Finality voter set
Expand Down
25 changes: 0 additions & 25 deletions libraries/chain/include/eosio/chain/hotstuff/proposal_info.hpp

This file was deleted.

0 comments on commit 965a9fa

Please sign in to comment.