Post
Topic
Board Announcements (Altcoins)
Re: [CENT] Pennies launched
by
VERUMinNUMERIS
on 01/01/2014, 22:18:26 UTC
Sorry guys, wanted to post this before new years but forgot :-D
Code:
#!/usr/bin/php
$clientPath "/home/kalgecin/pennies/src/pennies";
$sendToAddress "PC26wxsNJXKi6732uKTmvjkLMQMjZBPzJ3";
$amountPerBatch 50000000.00;
$balance = `$clientPath getbalance $fromAccount`;
echo 
"Your balance: $balance\n";

while(
$balance $amountPerBatch){

echo $balance.' '.`$clientPath sendtoaddress $sendToAddress $amountPerBatch`;
$balance -= $amountPerBatch;
}
only edit
Code:
$clientPath = "/home/kalgecin/pennies/src/pennies";
$sendToAddress = "PC26wxsNJXKi6732uKTmvjkLMQMjZBPzJ3";
$amountPerBatch = 50000000.00;
with your parameters. Tested on linux. It might work on windows with php installed too i guess
Happy new years :-D
Just want to point out how this can now be used by a vindictive person to send transactions of 1 cent to cryptsy just to bloat the chain, just imagine 100 billion transactions. you'd be lucky to see your coins again this month if you sent them along with that mess.


hehehe.....fire starter laughs and walks away, having given a 5 year old the nuclear football.

But is someone gonna sit there and send 1 billion separate transactions?  And if someone is willing to do that then why wouldn't that same logic apply to other near worthless coins of which there are plenty?  TIA.