Rewards functions

This commit is contained in:
jl777
2018-07-26 03:31:05 -11:00
parent 2e20239906
commit fac8776497
3 changed files with 67 additions and 23 deletions

View File

@@ -72,6 +72,7 @@ bool Myprivkey(uint8_t myprivkey[]);
// CCtx
std::string FinalizeCCTx(struct CCcontract_info *cp,CMutableTransaction &mtx,CPubKey mypk,uint64_t txfee,CScript opret);
void SetCCunspents(std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > &unspentOutputs,char *coinaddr);
void SetCCtxids(std::vector<std::pair<CAddressIndexKey, CAmount> > &addressIndex,char *coinaddr);
uint64_t AddNormalinputs(CMutableTransaction &mtx,CPubKey mypk,uint64_t total,int32_t maxinputs);
#endif