Skip to content

Commit

Permalink
Set fork height for BlockingCancel.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pocketnetteam authored Aug 30, 2022
1 parent b8bc0ad commit c1e5845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pocketdb/consensus/social/BlockingCancel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ namespace PocketConsensus
{
protected:
const vector<ConsensusCheckpoint < BlockingCancelConsensus>> m_rules = {
{ 0, 0, [](int height) { return make_shared<BlockingCancelConsensus>(height); }},
{ 5555555, 1114500, [](int height) { return make_shared<BlockingCancelConsensus_checkpoint_multiple_blocking>(height); }}, // TODO (o1q): set checkpoint height for multiple locks
{ 0, 0, [](int height) { return make_shared<BlockingCancelConsensus>(height); }},
{ 1873500, 1114500, [](int height) { return make_shared<BlockingCancelConsensus_checkpoint_multiple_blocking>(height); }}, // TODO (o1q): set checkpoint height for multiple locks
};
public:
shared_ptr<BlockingCancelConsensus> Instance(int height)
Expand All @@ -150,4 +150,4 @@ namespace PocketConsensus
};
}

#endif // POCKETCONSENSUS_BLOCKINGCANCEL_HPP
#endif // POCKETCONSENSUS_BLOCKINGCANCEL_HPP

0 comments on commit c1e5845

Please sign in to comment.