@@ -147,22 +147,24 @@ class Overlay : public Stoppable, public beast::PropertyStream::Source
147
147
virtual void
148
148
broadcast (protocol::TMValidation& m) = 0 ;
149
149
150
- /* * Relay a proposal. Return set
151
- * of peers, which have already seen the
152
- * message; i.e. the message has been
153
- * received from these peers and added
154
- * to the hash router */
150
+ /* * Relay a proposal.
151
+ * @param m the serialized proposal
152
+ * @param uid the id used to identify this proposal
153
+ * @param validator The pubkey of the validator that issued this proposal
154
+ * @return the set of peers which have already sent us this proposal
155
+ */
155
156
virtual std::set<Peer::id_t >
156
157
relay (
157
158
protocol::TMProposeSet& m,
158
159
uint256 const & uid,
159
160
PublicKey const & validator) = 0 ;
160
161
161
- /* * Relay a validation. Return set
162
- * of peers, which have already seen the
163
- * message; i.e. the message has been
164
- * received from these peers and added
165
- * to the hash router */
162
+ /* * Relay a validation.
163
+ * @param m the serialized validation
164
+ * @param uid the id used to identify this validation
165
+ * @param validator The pubkey of the validator that issued this validation
166
+ * @return the set of peers which have already sent us this validation
167
+ */
166
168
virtual std::set<Peer::id_t >
167
169
relay (
168
170
protocol::TMValidation& m,
0 commit comments