Triggers -> Marmara stubs
This commit is contained in:
@@ -5291,17 +5291,17 @@ UniValue pegsaddress(const UniValue& params, bool fHelp)
|
||||
return(CCaddress(cp,(char *)"Pegs",pubkey));
|
||||
}
|
||||
|
||||
UniValue triggersaddress(const UniValue& params, bool fHelp)
|
||||
UniValue marmaraaddress(const UniValue& params, bool fHelp)
|
||||
{
|
||||
struct CCcontract_info *cp,C; std::vector<unsigned char> pubkey;
|
||||
cp = CCinit(&C,EVAL_TRIGGERS);
|
||||
cp = CCinit(&C,EVAL_MARMARA);
|
||||
if ( fHelp || params.size() > 1 )
|
||||
throw runtime_error("triggersaddress [pubkey]\n");
|
||||
throw runtime_error("Marmaraaddress [pubkey]\n");
|
||||
if ( ensure_CCrequirements() < 0 )
|
||||
throw runtime_error("to use CC contracts, you need to launch daemon with valid -pubkey= for an address in your wallet\n");
|
||||
if ( params.size() == 1 )
|
||||
pubkey = ParseHex(params[0].get_str().c_str());
|
||||
return(CCaddress(cp,(char *)"Triggers",pubkey));
|
||||
return(CCaddress(cp,(char *)"Marmara",pubkey));
|
||||
}
|
||||
|
||||
UniValue paymentsaddress(const UniValue& params, bool fHelp)
|
||||
|
||||
Reference in New Issue
Block a user