Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: 102fc5f513c948eea0e5b1816a90bd379d3bb2dc
      
https://github.com/conformal/btcd/commit/102fc5f513c948eea0e5b1816a90bd379d3bb2dc
  Author: Dave Collins <[email protected]>
  Date:   2013-10-21 (Mon, 21 Oct 2013)

  Changed paths:
    M mempool.go

  Log Message:
  -----------
  Rework the mempool locking code.

It was previously possible for the unprotected iteration of the mempool
orphans to lead to undefined results.  This commit remedies that by
reworking the locking code a bit.  It also embeds the mutex directly into
the mempool struct rather than having a separate field for it so the
syntax is a slightly cleaner.



Reply via email to