delete stuck transactions from mempool

This commit is contained in:
Arionum
2018-04-01 17:29:00 +03:00
parent 148c002f93
commit a5ec44dd6d
3 changed files with 8 additions and 2 deletions

View File

@@ -396,6 +396,9 @@ if($current['height']<$largest_height&&$largest_height>1){
}
// deleting mempool transactions older than 14 days
$db->run("DELETE FROM `mempool` WHERE `date` < UNIX_TIMESTAMP()-(3600*24*14)");
//rebroadcasting local transactions