P2PServer: load peers from DNS

This commit is contained in:
SChernykh
2021-09-07 21:30:52 +02:00
parent 3244925c66
commit a332ac7d26
6 changed files with 71 additions and 6 deletions

View File

@@ -69,6 +69,7 @@ public:
difficulty_type total_hashes() const;
uint64_t block_time() const { return m_targetBlockTime; }
uint64_t miner_count();
bool is_default() const;
static bool split_reward(uint64_t reward, const std::vector<MinerShare>& shares, std::vector<uint64_t>& rewards);