aboutsummaryrefslogblamecommitdiff
path: root/include/hotstuff/liveness.h
blob: c3d7d73998d8ea6bc143de24e99e25d3732870b5 (plain) (tree)
1
2
3
4
5
6
7
8


                            
                            



                               


                     

                                                

                      

                                   

                                                                      
                                                         
                                                                             

                                                                          
                                 
                                    
                                         


                                                                               
                                                   







                                                                               



                                                                           























                                                                         


                                                                              
                                          



                                        
              




                                              

                                                                   














                                                            



                                           


                               



                                       













                                                               
                                                                      




                                                             
                                            



                                                  




                                              



                                       






                                                 


















                                                                               
                                                  


















                                                         
                                                              




                                       





                                            











                                                    

                                                                             




                                                          
                                                  


                                            

                                                            
                                                            
                 
             
                                                       
                                     
                             










                                                                       
                                     







                                                         

                                                                






                                               









                                                                    

                                                                 




                                                    

                                                                              


                                                           







                                                                    


                                              
                                                







                                                     
                                                           





                                                    


                        
                                                













                                                              
                                                 


                                 
                                



                                                     

                                                                                



                                           
                             
                       






                                       
                             


                                   

                                         


                                 
                                                                 



                                     

                                                             




                                 




                                                                      


      
#ifndef _HOTSTUFF_LIVENESS_H
#define _HOTSTUFF_LIVENESS_H

#include "salticidae/util.h"
#include "hotstuff/consensus.h"

namespace hotstuff {

using salticidae::_1;
using salticidae::_2;

/** Abstraction for liveness gadget (oracle). */
class PaceMaker {
    protected:
    HotStuffCore *hsc;
    public:
    virtual ~PaceMaker() = default