Allow passing branchId when calling signrawtransaction

This commit is contained in:
Eirik Ogilvie-Wigley
2018-09-17 09:49:32 -06:00
parent 40b9527301
commit 36a490677c
4 changed files with 28 additions and 2 deletions

View File

@@ -63,6 +63,12 @@ int CurrentEpoch(int nHeight, const Consensus::Params& params);
*/
uint32_t CurrentEpochBranchId(int nHeight, const Consensus::Params& params);
/**
* Returns true if a given branch id is a valid nBranchId for one of the network
* upgrades contained in NetworkUpgradeInfo.
*/
bool IsConsensusBranchId(int branchId);
/**
* Returns true if the given block height is the activation height for the given
* upgrade.