Check network type at startup

- Make network type part of consensus ID to avoid mixing p2pool nodes from mainnet and testnet/stagenet
- Check that wallet address matches the network type of monerod
This commit is contained in:
SChernykh
2021-08-27 11:25:25 +02:00
parent afca83d6c2
commit 27c2aab145
9 changed files with 110 additions and 30 deletions

View File

@@ -102,6 +102,9 @@ private:
void stratum_on_block();
void get_info();
void parse_get_info_rpc(const char* data, size_t size);
void get_miner_data();
void parse_get_miner_data_rpc(const char* data, size_t size);