sync to latest from btcd