5 #include "paxos_protocol.h"
7 class proposer_acceptor;
12 proposer_acceptor *pxs;
14 log (proposer_acceptor*, string _me);
16 void restore(string s);
18 // Log a committed paxos instance
19 void loginstance(unsigned instance, string v);
20 // Log the highest proposal number that the local paxos acceptor has ever seen
21 void logprop(prop_t n_h);
22 // Log the proposal (proposal number and value) that the local paxos acceptor
23 // accept has ever accepted
24 void logaccept(prop_t n_a, string v);