refs to changes for bitcoin implement