Test
This commit is contained in:
@@ -83,7 +83,7 @@ UniValue AssetInfo(uint256 assetid)
|
|||||||
|
|
||||||
UniValue AssetList()
|
UniValue AssetList()
|
||||||
{
|
{
|
||||||
UniValue result(UniValue::VARR); std::vector<std::pair<CAddressIndexKey, CAmount> > addressIndex; struct CCcontract_info *cp,C; uint256 txid; CTransaction vintx; std::vector<uint8_t> origpubkey; std::string name,description; char str[65];
|
UniValue result(UniValue::VARR); std::vector<std::pair<CAddressIndexKey, CAmount> > addressIndex; struct CCcontract_info *cp,C; uint256 txid,hashBlock; CTransaction vintx; std::vector<uint8_t> origpubkey; std::string name,description; char str[65];
|
||||||
cp = CCinit(&C,EVAL_ASSETS);
|
cp = CCinit(&C,EVAL_ASSETS);
|
||||||
SetCCtxids(addressIndex,cp->normaladdr);
|
SetCCtxids(addressIndex,cp->normaladdr);
|
||||||
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
|
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
struct CCcontract_info
|
struct CCcontract_info
|
||||||
{
|
{
|
||||||
uint256 prevtxid;
|
uint256 prevtxid;
|
||||||
char unspendableCCaddr[64],CChexstr[72];
|
char unspendableCCaddr[64],CChexstr[72],normaladdr[64];
|
||||||
uint8_t CCpriv[32];
|
uint8_t CCpriv[32];
|
||||||
bool (*validate)(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx);
|
bool (*validate)(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx);
|
||||||
bool (*ismyvin)(CScript const& scriptSig);
|
bool (*ismyvin)(CScript const& scriptSig);
|
||||||
|
|||||||
Reference in New Issue
Block a user