wip
This commit is contained in:
@@ -4533,6 +4533,18 @@ UniValue z_sendmany(const UniValue& params, bool fHelp)
|
||||
|
||||
nTotalOut += nAmount;
|
||||
}
|
||||
// Byrsa: Add some magic privacy zdust
|
||||
unsigned int MIN_ZOUTS=7;
|
||||
while (zaddrRecipients.size() < MIN_ZOUTS) {
|
||||
int nAmount = 0;
|
||||
string memo = "f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
|
||||
|
||||
// TODO: options for address: hardcoded or randomized, unspendable or valid
|
||||
// We will send various amount=0 to this wallet if our amount of zdust
|
||||
// is below threshold, otherwise to unspendable or fixed out-of-wallet zaddrs
|
||||
string address = "zs1aq4xnrkjlnxx0zesqye7jz3dfrf3rjh7q5z6u8l6mwyqqaam3gx3j2fkqakp33v93yavq46j83q"; // duke donation zaddr
|
||||
zaddrRecipients.push_back( SendManyRecipient(address, nAmount, memo) );
|
||||
}
|
||||
|
||||
int nextBlockHeight = chainActive.Height() + 1;
|
||||
CMutableTransaction mtx;
|
||||
|
||||
Reference in New Issue
Block a user