Commit bc88329 1 parent f845765 commit bc88329 Copy full SHA for bc88329
File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2014-2021 The Gridcoin developers
2
2
// Distributed under the MIT/X11 software license, see the accompanying
3
3
// file COPYING or https://opensource.org/licenses/mit-license.php.
4
-
5
4
#ifndef GRIDCOIN_SCRAPER_SCRAPER_H
6
5
#define GRIDCOIN_SCRAPER_SCRAPER_H
7
6
@@ -49,8 +48,8 @@ extern bool SCRAPER_CMANIFEST_RETAIN_NONCURRENT;
49
48
extern int64_t SCRAPER_CMANIFEST_RETENTION_TIME;
50
49
extern bool SCRAPER_CMANIFEST_INCLUDE_NONCURRENT_PROJ_FILES;
51
50
extern std::atomic<double > MAG_ROUND;
52
- extern std::atomic<double > NETWORK_MAGNITUDE;
53
- extern std::atomic<double > CPID_MAG_LIMIT;
51
+ extern std::atomic<double > NETWORK_MAGNITUDE;
52
+ extern std::atomic<double > CPID_MAG_LIMIT;
54
53
extern unsigned int SCRAPER_CONVERGENCE_MINIMUM;
55
54
extern double SCRAPER_CONVERGENCE_RATIO;
56
55
extern double CONVERGENCE_BY_PROJECT_RATIO;
Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ EXCLUSIVE_LOCKS_REQUIRED(CScraperManifest::cs_mapManifest)
423
423
}
424
424
}
425
425
426
- bool CScraperManifest::UnserializeCheck (CDataStream& ss, unsigned int & banscore_out)
426
+ [[nodiscard]] bool CScraperManifest::UnserializeCheck (CDataStream& ss, unsigned int & banscore_out)
427
427
EXCLUSIVE_LOCKS_REQUIRED(CScraperManifest::cs_mapManifest, CSplitBlob::cs_manifest)
428
428
{
429
429
const auto pbegin = ss.begin ();
You can’t perform that action at this time.
0 commit comments