mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Send validator telemetry to the private overlay (#1325)
* Send validator telemetry to the private overlay * Improve rotating neighbours in overlays
This commit is contained in:
parent
52b010ff34
commit
061c82f89c
30 changed files with 426 additions and 13 deletions
|
@ -32,6 +32,7 @@ namespace validator {
|
|||
|
||||
class ValidatorSetQ : public ValidatorSet {
|
||||
public:
|
||||
const ValidatorDescr* get_validator(const NodeIdShort& id) const override;
|
||||
bool is_validator(NodeIdShort id) const override;
|
||||
CatchainSeqno get_catchain_seqno() const override {
|
||||
return cc_seqno_;
|
||||
|
@ -62,8 +63,6 @@ class ValidatorSetQ : public ValidatorSet {
|
|||
ValidatorWeight total_weight_;
|
||||
std::vector<ValidatorDescr> ids_;
|
||||
std::vector<std::pair<NodeIdShort, size_t>> ids_map_;
|
||||
|
||||
const ValidatorDescr* find_validator(const NodeIdShort& id) const;
|
||||
};
|
||||
|
||||
class ValidatorSetCompute {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue