Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: 0a7543516ced23c7f8f80d5c09ee344511adc263
      
https://github.com/conformal/btcd/commit/0a7543516ced23c7f8f80d5c09ee344511adc263
  Author: Dave Collins <[email protected]>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M blockmanager.go
    M rpcserver.go

  Log Message:
  -----------
  Update block manager chainstate for all sources.

This commit updates the block manager's local chain state when a block
processed by submitting it directly to the block manager as opposed to
only when it comes from the network.

Also, it modifies the submitblock RPC to use the concurrent safe block
manager process block instead of the unsafe btcchain version.

The combination of these two fixes ensure the internal block manager chain
state is properly synced with the actual btcchain state regardless of how
blocks are added.


Reply via email to