mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 03:49:23 +00:00
stats_mod api: updated min payout value
This commit is contained in:
parent
c9493ec7fa
commit
272d206741
1 changed files with 1 additions and 1 deletions
|
@ -1119,7 +1119,7 @@ void p2pool::api_update_stats_mod()
|
||||||
m_api->set(p2pool_api::Category::GLOBAL, "stats_mod",
|
m_api->set(p2pool_api::Category::GLOBAL, "stats_mod",
|
||||||
[&mainnet_tip, last_block_found_time, &last_block_found_buf, last_block_found_height, miners, hashrate, round_hashes, stratum_port](log::Stream& s)
|
[&mainnet_tip, last_block_found_time, &last_block_found_buf, last_block_found_height, miners, hashrate, round_hashes, stratum_port](log::Stream& s)
|
||||||
{
|
{
|
||||||
s << "{\"config\":{\"ports\":[{\"port\":" << stratum_port << ",\"tls\":false}],\"fee\":0,\"minPaymentThreshold\":400000000},\"network\":{\"height\":"
|
s << "{\"config\":{\"ports\":[{\"port\":" << stratum_port << ",\"tls\":false}],\"fee\":0,\"minPaymentThreshold\":300000000},\"network\":{\"height\":"
|
||||||
<< mainnet_tip.height << "},\"pool\":{\"stats\":{\"lastBlockFound\":\""
|
<< mainnet_tip.height << "},\"pool\":{\"stats\":{\"lastBlockFound\":\""
|
||||||
<< last_block_found_time << "000\"},\"blocks\":[\""
|
<< last_block_found_time << "000\"},\"blocks\":[\""
|
||||||
<< static_cast<char*>(last_block_found_buf) << static_cast<char*>(last_block_found_buf) + HASH_SIZE * 2 - 4 << ':'
|
<< static_cast<char*>(last_block_found_buf) << static_cast<char*>(last_block_found_buf) + HASH_SIZE * 2 - 4 << ':'
|
||||||
|
|
Loading…
Reference in a new issue