mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Improved neighbor choosing in full-node-shard
This commit is contained in:
parent
662435462e
commit
910398da92
17 changed files with 185 additions and 105 deletions
|
@ -57,7 +57,7 @@ Config::Config() {
|
|||
out_port = 3278;
|
||||
}
|
||||
|
||||
Config::Config(const ton::ton_api::engine_validator_config_v2 &config) {
|
||||
Config::Config(const ton::ton_api::engine_validator_configV2 &config) {
|
||||
out_port = static_cast<td::uint16>(config.out_port_);
|
||||
if (!out_port) {
|
||||
out_port = 3278;
|
||||
|
|
|
@ -94,7 +94,7 @@ struct Config {
|
|||
ton::tl_object_ptr<ton::ton_api::engine_validator_Config> tl() const;
|
||||
|
||||
Config();
|
||||
Config(const ton::ton_api::engine_validator_config_v2 &config);
|
||||
Config(const ton::ton_api::engine_validator_configV2 &config);
|
||||
};
|
||||
|
||||
class DhtServer : public td::actor::Actor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue