We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca20af commit 4d088faCopy full SHA for 4d088fa
1 file changed
src/consensus/aft/impl/state.h
@@ -129,24 +129,6 @@ namespace aft
129
}
130
};
131
132
- class Replica
133
- {
134
- public:
135
- Replica(ccf::NodeId id_, const std::vector<uint8_t>& cert_) :
136
- id(std::move(id_)),
137
- verifier(ccf::crypto::make_unique_verifier(cert_))
138
- {}
139
-
140
- [[nodiscard]] ccf::NodeId get_id() const
141
142
- return id;
143
- }
144
145
- private:
146
- ccf::NodeId id;
147
- ccf::crypto::VerifierUniquePtr verifier;
148
- };
149
150
struct State
151
{
152
State(ccf::NodeId node_id_, bool pre_vote_enabled_ = true) :
0 commit comments