mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 15:57:39 +00:00
Prepare for mainnet test
This commit is contained in:
parent
27c2aab145
commit
8304d81961
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ namespace p2pool {
|
|||
|
||||
namespace log {
|
||||
|
||||
int GLOBAL_LOG_LEVEL = 5;
|
||||
int GLOBAL_LOG_LEVEL = 4;
|
||||
|
||||
static volatile bool stopped = false;
|
||||
static volatile bool worker_started = false;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
static constexpr char log_category_prefix[] = "SideChain ";
|
||||
|
||||
constexpr uint64_t MIN_DIFFICULTY = 1000;
|
||||
constexpr uint64_t MIN_DIFFICULTY = 100000;
|
||||
constexpr size_t UNCLE_BLOCK_DEPTH = 3;
|
||||
|
||||
static_assert(1 <= UNCLE_BLOCK_DEPTH && UNCLE_BLOCK_DEPTH <= 10, "Invalid UNCLE_BLOCK_DEPTH");
|
||||
|
@ -56,7 +56,7 @@ SideChain::SideChain(p2pool* pool, NetworkType type)
|
|||
, m_networkType(type)
|
||||
, m_chainTip(nullptr)
|
||||
, m_poolName("default")
|
||||
, m_targetBlockTime(1)
|
||||
, m_targetBlockTime(10)
|
||||
, m_minDifficulty(MIN_DIFFICULTY, 0)
|
||||
, m_chainWindowSize(2160)
|
||||
, m_unclePenalty(20)
|
||||
|
|
Loading…
Reference in a new issue