{"push_id":1366190145,"size":1,"distinct_size":1,"ref":"refs/heads/mempool_expire_orphans","head":"a34b3e1501c12c7b61098cc024b0e954b6cc5220","before":"812092ee3dbd560d5c1b9d111b2d9d45a651a632","commits":[{"sha":"a34b3e1501c12c7b61098cc024b0e954b6cc5220","author":{"name":"Dave Collins","email":"4b5cc8591e1af5b3606cf32bb53d8e0bf0bb626a@conformal.com"},"message":"mempool: Implement orphan expiration.\n\nThis implements orphan expiration in the mempool such that any orphans\nthat have not had their ancestors materialize within 15 minutes of their\ninitial arrival time will be evicted which in turn will remove any other\norphans that attempted to redeem it.\n\nIn order to perform the evictions with reasonable efficiency, an\nopportunistic scan interval of 5 minutes is used.  That is to say that\nthere is not a hard deadline on the scan interval and instead it runs\nwhen a new orphan is added to the pool if enough time has passed.\n\nThe following is an example of running this code against the main\nnetwork for around 30 minutes:\n\n23:05:34 2016-10-24 [DBG] TXMP: Expired 3 orphans (254 in orphan pool)\n23:10:38 2016-10-24 [DBG] TXMP: Expired 112 orphans (231 in orphan pool)\n23:15:43 2016-10-24 [DBG] TXMP: Expired 95 orphans (206 in orphan pool)\n23:20:44 2016-10-24 [DBG] TXMP: Expired 90 orphans (191 in orphan pool)\n23:25:51 2016-10-24 [DBG] TXMP: Expired 71 orphans (191 in orphan pool)\n23:30:55 2016-10-24 [DBG] TXMP: Expired 70 orphans (105 in orphan pool)\n23:36:19 2016-10-24 [DBG] TXMP: Expired 55 orphans (107 in orphan pool)\n\nAs can be seen from the above, without orphan expiration on this data\nset, the orphan pool would have grown an additional 496 entries.","distinct":true,"url":"https://api.github.com/repos/davecgh/btcd/commits/a34b3e1501c12c7b61098cc024b0e954b6cc5220"}]}
{"actor":{"display_login":"davecgh"}}