Author

Topic: [ANN][CACH] CACHeCoin released based on scrypt-jane - page 120. (Read 224425 times)

hero member
Activity: 819
Merit: 1000
Updated Build, at the request of jasinlee:

https://mega.co.nz/#!DAE11QoZ!JexVS1XRcfL7oAjR-dIiOwhQ0fFfOj47hBZnYJW3m-Y

kalgecin, your windows .ico is wonky, I recreated it from the .png to get it to compile.

Would love a few CACH's for my collection if there's any you might feel like sharing!

CWMBZCncyewyFGwtSoxRkme96FFZpJcZUp




57586a6ac6f691d6d69229772c5af4bddbe513da2348c752a23468c0363ca72a

Thanks :-) sent you some cach :-) Could you upload the ico? so i can also change it in git

anyone can setup an explorer?
full member
Activity: 157
Merit: 100
Hello Coins
Damn, I really have to wait 7 days to get hands on CACH? Cheesy
full member
Activity: 218
Merit: 115
Updated Build, at the request of jasinlee:

https://mega.co.nz/#!DAE11QoZ!JexVS1XRcfL7oAjR-dIiOwhQ0fFfOj47hBZnYJW3m-Y

kalgecin, your windows .ico is wonky, I recreated it from the .png to get it to compile.

Would love a few CACH's for my collection if there's any you might feel like sharing!

CWMBZCncyewyFGwtSoxRkme96FFZpJcZUp



hero member
Activity: 819
Merit: 1000
added the irc channel on the OP
hero member
Activity: 819
Merit: 1000
I created an IRC bot for CACH, join us in #cachecoin on freenode and idle a bit Smiley

Code:
23:26:23  donschoe | .help
23:26:23 sternburg | Cachecoin Statistics: .cach .diff .solo .info 
23:26:25  donschoe | .cach
23:26:25 sternburg | Cachecoin Network Block: 4049, Difficulty: 4.36787732 PoW, 0.00024414 PoS, Reward: 19.55 CACH, Minted: 176736.93 CACH.
23:26:28  donschoe | .diff
23:26:28 sternburg | Cachecoin Difficulty: 4.36787732 PoW, 0.00024414 PoS, Current blocktime: 21.088 minutes, Network hashrate: 14.826 MH/s.
23:26:33  donschoe | .solo
23:26:33 sternburg | Shows expected time to find a block mining solo. Usage: .solo .
23:26:39  donschoe | .solo 0.6 
23:26:40 sternburg | Time to find a block mining solo: 8.685 hours, Turnout: 54.023 CACH/day. 
23:26:45  donschoe | .info
23:26:45 sternburg | Sternburg is a ruby bot instance of fantasy-irc gem by v2px: https://rubygems.org/gems/fantasy-irc | Plugins for Cachecoin statistics written by don-Schoe.
23:26:45 sternburg | CACH donations for the bot accepted: CK8fDAgyPPp2KQ4kq8GMXvBbaJKuzw4afq, type .help for usage instructoins. Join ##CACH-Spam for excessive usage.

Cool :-)

Code:
$path "~/cachecoin/src/cachecoind";
$action $argv[1];
if(
$action == "getdiffstats"){
echo "block,block time,difficulty,target time\n";
$lasttime = `$path getblockhash $argv[2]`;
$lasttime json_decode(`$path getblock $lasttime`,true)['time'];

for($i=$argv[2];$i<=$argv[3];$i++){
$hash = `$path getblockhash $i`;
$result json_decode(`$path getblock $hash`,true);

echo $result['height'].",".($result['time']-$lasttime).",".$result['difficulty'].",900\n";
$lasttime $result['time'];
}
}else if(
$action == "lastaverage"){
printLastAgerage();
}else if(
$action == "activestats"){
$targetDiff 60 15;
$lastBlock getBlock(null);
$timeDiff time() - $lastBlock['time'];
$genesisTimeDiff time() - getBlock(1)['time'];
$seconds $timeDiff;
$target round(($seconds 100) / $targetDiff,2);
$timeDiff = (int)($timeDiff/60);
$seconds -= $timeDiff 60;
$lastDiff $lastBlock['difficulty'];
$lastButOneBlockDiff getBlock($lastBlock['height']-1)['difficulty'];
$percIncreaseDiff round((($lastDiff $lastButOneBlockDiff) * 100) / $lastButOneBlockDiff,4);
$info json_decode(`$path getinfo`,true);
$mininginfo json_decode(`$path getmininginfo`,true);
$own round(($info['balance'] * 100) / $info['moneysupply'],2);
$genesisSeconds $genesisTimeDiff;

$genesisDays = (int)($genesisSeconds / (60 60 *24));
$genesisHrs  = (int)($genesisSeconds / (60 60)) - ($genesisDays 24);
$genesisMins = (int)($genesisSeconds 60) - ($genesisDays 24 60) - ($genesisHrs 60);
$genesisSeconds -= ($genesisDays 24 60 60) + ($genesisHrs 60 60) + ($genesisMins 60);
$genesisTimeDiffText "$genesisDays d $genesisHrs hrs $genesisMins m $genesisSeconds s";
echo "Current block being mined: ".($lastBlock['height']+1) .", difficulty: ".getNextDiff(true).", ".getNextDiff()." next\n";
printLastAgerage();
echo "$timeDiff m $seconds s since last block mined (".(time() - $lastBlock['time'])."s)\n";
echo "$target% of target\n";
echo "Total network hashpower: ".round($mininginfo['networkhashps']/1000000,2)." Mhps\n";
echo "$percIncreaseDiff% last diff increase\n";
echo "Total coins in existance: ".$info['moneysupply']." you own $own% of them\n";
echo "Time since genesis: $genesisTimeDiffText \n";
echo "Average coin generation speed ".round($info['moneysupply']/($genesisTimeDiff/(60*60)),2)." cach/hr\n";
}
function 
printLastAgerage(){
$interval 10;
$average getaveragetime($interval);
$minutes = (int)($average 60);
$average-=$minutes 60;
$average = (int)$average;
echo "Average time for last $interval blocks is $minutes minutes $average seconds\n";
}
function 
getaveragetime($interval){
global $path;
$block getBlock(null);
$lastTime $block['time'];

$last10 $block['height'] - $interval 1;
$last10block getBlock($last10);
$last10Time $last10block['time'];

$timeDiff $lastTime $last10Time;
$average $timeDiff $interval;
return $average;
}

function 
getBlock($height){
global $path;
if($height == null){
$blocks json_decode(`$path getinfo`,true);
$height $blocks["blocks"];
}
$hash = `$path getblockhash $height`;
return json_decode(`$path getblock $hash`,true);
}

function 
getNextDiff($current=false){
$targetSpacing 60 15;
$targetTimespan 24 60 60;
$targetLimit hexdec("1e0fffff");

$lastBlock getBlock(null);
$lastButOneBlock getBlock($lastBlock['height']-1);
if($current)
$actualSpacing =  $lastBlock['time'] - $lastButOneBlock['time'];
else
$actualSpacing =  time() - $lastBlock['time'];// - $lastButOneBlock['time'];

$interval $targetTimespan $targetSpacing;
$newdiff hexdec($lastBlock['bits']);

$newdiff *= (($interval 1) * $targetSpacing $actualSpacing $actualSpacing);
$newdiff /= (($interval 1) * $targetSpacing);

if($newdiff $targetLimit)
$newdiff $targetLimit;
$newdiff hexdec($lastBlock['bits']) / (int)$newdiff;
if($current)
$newdiff *= $lastBlock['difficulty'];
else
$newdiff *= getNextDiff(true);

return round($newdiff,8);
}


Here's a script that I'm using. The diff stats are correct. The difficulty provided by the client is that of last mined block. By calling getNextDiff(true) you get current mining difficulty. getNextDiff() to get the next diff, which changes with time
full member
Activity: 140
Merit: 100
Yes, if all security gets checked out tonight we may have it up to sell shares before opening.

Great ! Good luck with the launch.
full member
Activity: 157
Merit: 100
Hello Coins
I created an IRC bot for CACH, join us in #cachecoin on freenode and idle a bit Smiley

Code:
23:26:23  donschoe | .help
23:26:23 sternburg | Cachecoin Statistics: .cach .diff .solo .info 
23:26:25  donschoe | .cach
23:26:25 sternburg | Cachecoin Network Block: 4049, Difficulty: 4.36787732 PoW, 0.00024414 PoS, Reward: 19.55 CACH, Minted: 176736.93 CACH.
23:26:28  donschoe | .diff
23:26:28 sternburg | Cachecoin Difficulty: 4.36787732 PoW, 0.00024414 PoS, Current blocktime: 21.088 minutes, Network hashrate: 14.826 MH/s.
23:26:33  donschoe | .solo
23:26:33 sternburg | Shows expected time to find a block mining solo. Usage: .solo .
23:26:39  donschoe | .solo 0.6 
23:26:40 sternburg | Time to find a block mining solo: 8.685 hours, Turnout: 54.023 CACH/day. 
23:26:45  donschoe | .info
23:26:45 sternburg | Sternburg is a ruby bot instance of fantasy-irc gem by v2px: https://rubygems.org/gems/fantasy-irc | Plugins for Cachecoin statistics written by don-Schoe.
23:26:45 sternburg | CACH donations for the bot accepted: CK8fDAgyPPp2KQ4kq8GMXvBbaJKuzw4afq, type .help for usage instructoins. Join ##CACH-Spam for excessive usage.
hero member
Activity: 742
Merit: 500
Its as easy as 0, 1, 1, 2, 3
Yes, if all security gets checked out tonight we may have it up to sell shares before opening.
full member
Activity: 140
Merit: 100
The one that isnt open to the public yet Cheesy

You plan on making it available soon or is this only for certain people at this time?
hero member
Activity: 819
Merit: 1000
Yeah it's the same, sorry - just comitted it with your mentioned changes so more ppl can mine this coin, less coins for more but possibly more miner, gotta start somewhere Cheesy

You should consider updating the first post, list the gpu miner (the changed one and appleminer) and the windows wallet.

Updated :-) thanks
full member
Activity: 157
Merit: 100
Hello Coins
WTB @ 0.013 BTC for 1k CACH, buying high volumes, PM me.
hero member
Activity: 742
Merit: 500
Its as easy as 0, 1, 1, 2, 3
The one that isnt open to the public yet Cheesy
full member
Activity: 140
Merit: 100
What exchange would this be?
hero member
Activity: 742
Merit: 500
Its as easy as 0, 1, 1, 2, 3
Well we have everything needed to place it on the exchange now, so I will have my devs add it this weekend.
Sy
legendary
Activity: 1484
Merit: 1003
Bounty Detective
Yeah it's the same, sorry - just comitted it with your mentioned changes so more ppl can mine this coin, less coins for more but possibly more miner, gotta start somewhere Cheesy

You should consider updating the first post, list the gpu miner (the changed one and appleminer) and the windows wallet.
hero member
Activity: 819
Merit: 1000
I've created a git with the modified timestamp
https://github.com/Sykh/cacheminer

Someone test it pls Smiley ah and i left the ADL files in include - i guess everyone removes them on purpose? xD

I'll test it. Is it faster than yacminer?
edit:
oh it's the same :-D I think the ADL stuff was removed cos of licensing stuff or something
Sy
legendary
Activity: 1484
Merit: 1003
Bounty Detective
You should add the windows-qt link to the first post too...
hero member
Activity: 742
Merit: 500
Its as easy as 0, 1, 1, 2, 3
Sy
legendary
Activity: 1484
Merit: 1003
Bounty Detective
I've created a git with the modified timestamp
https://github.com/Sykh/cacheminer

Someone test it pls Smiley ah and i left the ADL files in include - i guess everyone removes them on purpose? xD
hero member
Activity: 819
Merit: 1000
Buying 0.012 per 1k cach

oh come on :-P :-D
Jump to: