Kagome
Polkadot Runtime Engine in C++17
|
#include <stream_engine.hpp>
Public Member Functions | |
RandomGossipStrategy (const int candidates_num, const int lucky_peers_num) | |
bool | operator() (const PeerId &) |
Private Attributes | |
Rng | gen_ |
int | candidates_num_ |
Rng::result_type | threshold_ |
Definition at line 57 of file stream_engine.hpp.
|
inline |
Definition at line 58 of file stream_engine.hpp.
|
inline |
Definition at line 66 of file stream_engine.hpp.
|
private |
Definition at line 73 of file stream_engine.hpp.
|
private |
Definition at line 72 of file stream_engine.hpp.
|
private |
Definition at line 74 of file stream_engine.hpp.