Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 365b1bd156bdb9e4972d155ae8c7f939cf786e18
https://github.com/btcsuite/btcd/commit/365b1bd156bdb9e4972d155ae8c7f939cf786e18
Author: David Hill <[email protected]>
Date: 2015-11-13 (Fri, 13 Nov 2015)
Changed paths:
M mempool.go
Log Message:
-----------
mempool: convert orphansByPrev from a list to a map.
This is more efficient and prevents duplicate entries which can
lead to no-longer-orphans being attempted be added to the mempool
multiple times.
Bug found by me, debugged with @davecgh, and patch from @davecgh