mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
noblocknofify: add a small delay before declaring it orphan
This commit is contained in:
parent
051e3fc786
commit
e3374b88c2
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ function BackendBlockFind1()
|
|||
$coin = getdbo('db_coins', $db_block->coin_id);
|
||||
if(!$coin->enable) continue;
|
||||
|
||||
// noblocknofify: add a small delay before declaring it orphan
|
||||
if($coin->symbol == 'DCR' && (time() - $db_block->time) < 60)
|
||||
continue;
|
||||
|
||||
$db_block->category = 'orphan';
|
||||
$remote = new Bitcoin($coin->rpcuser, $coin->rpcpasswd, $coin->rpchost, $coin->rpcport);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue