Delete more CCs #381
This commit is contained in:
@@ -622,43 +622,9 @@ CPubKey pubkey2pk(std::vector<uint8_t> vpubkey);
|
||||
/// @param tokenid id of token (id of token creation tx)
|
||||
int64_t CCfullsupply(uint256 tokenid);
|
||||
|
||||
/// CCtoken_balance returns token balance for an address
|
||||
/// @param destaddr address to search the balance on
|
||||
/// @param tokenid id of the token
|
||||
int64_t CCtoken_balance(char *destaddr,uint256 tokenid);
|
||||
|
||||
/// @private
|
||||
int64_t CCtoken_balance2(char *destaddr,uint256 tokenid);
|
||||
|
||||
/// _GetCCaddress retrieves the address for the scriptPubKey for the cryptocondition that is made for eval code and public key
|
||||
/// @param[out] destaddr the address for the cc scriptPubKey. Should have at least 64 char buffer space
|
||||
/// @param evalcode eval code for which cryptocondition will be made
|
||||
/// @param pk pubkey for which cryptocondition will be made
|
||||
bool _GetCCaddress(char *destaddr,uint8_t evalcode,CPubKey pk);
|
||||
|
||||
/// GetCCaddress retrieves the address for the scriptPubKey for the cryptocondition that is made for eval code and public key.
|
||||
/// The evalcode is taken from the cp object
|
||||
/// @param cp object of CCcontract_info type
|
||||
/// @param[out] destaddr the address for the cc scriptPubKey. Should have at least 64 char buffer space
|
||||
/// @param pk pubkey for which cryptocondition will be made
|
||||
/// @see CCcontract_info
|
||||
bool GetCCaddress(struct CCcontract_info *cp,char *destaddr,CPubKey pk);
|
||||
|
||||
/// GetCCaddress1of2 retrieves the address for the scriptPubKey for the 1of2 cryptocondition that is made for eval code and two public keys.
|
||||
/// The evalcode is taken from the cp object
|
||||
/// @param cp object of CCcontract_info type
|
||||
/// @param[out] destaddr the address for the cc scriptPubKey. Should have at least 64 char buffer space
|
||||
/// @param pk first pubkey 1of2 cryptocondition
|
||||
/// @param pk2 second pubkey of 1of2 cryptocondition
|
||||
/// @see CCcontract_info
|
||||
bool GetCCaddress1of2(struct CCcontract_info *cp,char *destaddr,CPubKey pk,CPubKey pk2);
|
||||
|
||||
/// @private
|
||||
bool ConstrainVout(CTxOut vout,int32_t CCflag,char *cmpaddr,int64_t nValue);
|
||||
|
||||
/// @private
|
||||
bool PreventCC(Eval* eval,const CTransaction &tx,int32_t preventCCvins,int32_t numvins,int32_t preventCCvouts,int32_t numvouts);
|
||||
|
||||
/// Returns bitcoin address for the scriptPubKey parameter
|
||||
/// @param[out] destaddr the returned address of the scriptPubKey, the buffer should have size of at least 64 chars
|
||||
/// @param scriptPubKey scriptPubKey object
|
||||
|
||||
Reference in New Issue
Block a user