CBlockIndex *komodo_chainactive(int32_t height)
This commit is contained in:
@@ -135,6 +135,7 @@ void CCclearvars(struct CCcontract_info *cp);
|
|||||||
UniValue CClib(struct CCcontract_info *cp,char *method,cJSON *params);
|
UniValue CClib(struct CCcontract_info *cp,char *method,cJSON *params);
|
||||||
UniValue CClib_info(struct CCcontract_info *cp);
|
UniValue CClib_info(struct CCcontract_info *cp);
|
||||||
CBlockIndex *komodo_blockindex(uint256 hash);
|
CBlockIndex *komodo_blockindex(uint256 hash);
|
||||||
|
CBlockIndex *komodo_chainactive(int32_t height);
|
||||||
|
|
||||||
static const uint256 zeroid;
|
static const uint256 zeroid;
|
||||||
bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlock);
|
bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlock);
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ UniValue rogue_txidinfo(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
|||||||
UniValue rogue_pending(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
UniValue rogue_pending(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
||||||
{
|
{
|
||||||
UniValue result(UniValue::VOBJ),a(UniValue::VARR);
|
UniValue result(UniValue::VOBJ),a(UniValue::VARR);
|
||||||
char coinaddr[64]; uint64_t seed; int64_t nValue,total=0; uint256 txid,hashBlock; CTransaction tx; int32_t ht,vout,numvouts; CPubKey roguepk; CBlockIndex *pindex;
|
char coinaddr[64]; uint64_t seed; int64_t amount,nValue,total=0; uint256 txid,hashBlock; CTransaction tx; int32_t ht,vout,numvouts; CPubKey roguepk; CBlockIndex *pindex;
|
||||||
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
|
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
|
||||||
roguepk = GetUnspendable(cp,0);
|
roguepk = GetUnspendable(cp,0);
|
||||||
GetCCaddress(cp,coinaddr,roguepk);
|
GetCCaddress(cp,coinaddr,roguepk);
|
||||||
|
|||||||
Reference in New Issue
Block a user