Bitcoin Forum
June 22, 2024, 11:46:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 »  All
  Print  
Author Topic: j-Coin information thread  (Read 30807 times)
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
August 03, 2013, 11:22:41 AM
 #201

With such complexity is sourced it should cost 1jcoin/0.5BTC  Grin

no 10 btc per j-coin! gah!

My negative trust rating is reflective of a personal vendetta by someone on default trust.
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
August 03, 2013, 12:42:50 PM
 #202

this coin survived through the night with all the bigboys throwing as much hash at it as they could, trying to drop it off at high diff. its still standing and going strong, retargeting like a beast.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
GSnak
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
August 03, 2013, 01:36:41 PM
 #203

Well that's a good sign... when it lasts a few hours. Should be on Cryptsy by this afternoon.
ig0tik3d
Legendary
*
Offline Offline

Activity: 1246
Merit: 1000



View Profile
August 03, 2013, 01:52:37 PM
 #204

what exact nChainStartTime???
in source is 1374863975 but more later on this message
https://bitcointalk.org/index.php?topic=264556.msg2858033#msg2858033 is 1375158511
DogtownHero (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10

j-coin//just 4 cpu's


View Profile
August 03, 2013, 01:56:24 PM
 #205

what exact nChainStartTime???
in source is 1374863975 but more later on this message
https://bitcointalk.org/index.php?topic=264556.msg2858033#msg2858033 is 1375158511

the second one is correct

shazbits
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile
August 03, 2013, 06:49:46 PM
 #206

Actually this coin is already DEAD, because of '1 coin per block'

But little bit interest, how this coin works.....

K.

The genisblock line fixed? Thanks

replace line 2588

with

Code:
assert(block.GetHash("0x000000c249386a215da8af52ccf04a8d8b175146844a73f0b6bfb25aa5081e50") == hashGenesisBlock);


2588? That's

        if (!block.AddToBlockIndex(nFile, nBlockPos))

maybe 2580?

edit, yep, you're right.

then

Code:
main.cpp: In function âbool LoadBlockIndex(bool)â:
main.cpp:2580:9: error: no matching function for call to âCBlock::GetHash(const char [67])â
main.cpp:2580:9: note: candidate is:
main.h:908:13: note: uint256 CBlock::GetHash() const
main.h:908:13: note:   candidate expects 0 arguments, 1 provided
make: *** [obj/main.o] Error 1


uploaded a fix for main.cpp

try it

https://docs.google.com/file/d/0B5V5vln-sS3EUllBZE9yZkh3VTA/edit?usp=sharing

The main.cpp from this link is totally different from the one of the 7z source package. It has the assert line fix mentionned earlier but also a lot of other changes, and anyway it doesn't compile (getHash is expecting 0 arguments and lots of other errors).

Here is the diff on main.cpp:
Code:
43c43
< int64 nChainStartTime = 1374863975;
---
> int64 nChainStartTime = 1375158511;
980a981,984
> static const int64 nMin = .777 * COIN;
> static const int nA = 777;
> static const int nB = 228.7992277992278;
> static const int nMult = 1.5;
984c988
<     int64 nSubsidy = 1 * COIN;
---
>     int64 nSubsidy = (nMult * 5.18) * COIN;
986c990
< if (nHeight == 1)
---
> if (nHeight == 1) //giveaway *777 coins
988c992
<     nSubsidy= 777 * COIN;
---
>     nSubsidy= (518 * nMult) * COIN;
990c994
< else if (nHeight == 2)
---
> else if (nHeight == 7)
992c996
< nSubsidy = 210000 * COIN;
---
> nSubsidy = (nA * nB) * COIN;
994c998
< else if (nHeight < 2000 && nHeight > 2)
---
> else if (nHeight < 2000 && nHeight > 8)
1019c1023
< else {nSubsidy = 10 * COIN;}
---
> else {nSubsidy = (nMult * 5.18) * COIN;}
1023a1028,1032
> //prevent subsidy from dropping under 1 coin due to the subsidy halving
> if (nSubsidy < nMin)
>     {
>         nSubsidy = nMin;
>     }
1038c1047
< static const int64 nTargetTimespan = 1 * 30;  // 30 second blocks
---
> static const int64 nTargetTimespan = 12 * 60;  // every 12 minutes
2532,2537c2541,2545
<         // Genesis Block:
<         // CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)
<         //   CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
<         //     CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)
<         //     CTxOut(nValue=50.00000000, scriptPubKey=0x5F1DF16B2B704C8A578D0B)
<         //   vMerkleTree: 4a5e1e
---
>         CBlock(hash=000000c249386a215da8, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=7a550e40fe, nTime=1375158511, nBits=1e0fffff, nNonce=3716373, vtx=1, vchBlockSig=)
>         Coinbase(hash=7a550e40fe, nTime=1375158491, ver=1, vin.size=1, vout.size=1, nLockTime=0)
>         CTxIn(COutPoint(0000000000, 4294967295), coinbase 04ffff001d020f271d5475652c203330204a756c20323031332030343a32383a303620474d54)
>         CTxOut(empty)
>         vMerkleTree: 7a550e40fe
2540c2548
<         const char* pszTimestamp = "MehCoin? Really? How damn easy can one person make this??";
---
>         const char* pszTimestamp = "Tue, 30 Jul 2013 04:28:06 GMT";
2554c2562
<         block.nNonce   = 3444140;
---
>         block.nNonce   = 3716373
2556c2564
<     if (true  && (block.GetHash() != hashGenesisBlock)) {
---
>     if (false  && (block.GetHash() != hashGenesisBlock)) {
2577c2585
<         assert(block.hashMerkleRoot == uint256("0x6200a3522fa96dfa4309ddf105c0009ea3e6487ecbded73bcdee0fe664ff3df0"));
---
>         assert(block.hashMerkleRoot == uint256("0x7a550e40fea56322b3d4e9a1cf7d5d8a5d1a7d26f18645cc0d3c0635bbdc80e7"));
2580c2588
<         assert(block.GetHash() == hashGenesisBlock);
---
>         assert(block.GetHash(0x000000c249386a215da8af52ccf04a8d8b175146844a73f0b6bfb25aa5081e50) == hashGenesisBlock);
4193a4202
>     //thanks adam m for this fix to override nBits.
4195c4204
<             pblock->vtx[0].vout[0].nValue = GetProofOfWorkReward(pblock->nBits);
---
>             pblock->vtx[0].vout[0].nValue = GetProofOfWorkReward(pindexPrev->nHeight+1, nFees, pindexPrev->GetBlockHash());

So what's going on? Can the sources be re-released with the fix? Thanks.
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
August 03, 2013, 06:54:02 PM
 #207

Is it possible to make some changes in YAC GPUminer to make it work with J-coin?
not sure any changes are needed but i found the hashrate 10 times lower than with CPU

LTC:  LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7  DGC:  DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d  XPM:  AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
August 03, 2013, 10:23:05 PM
 #208

Seriously has anyone managed to compile this for Linux? I can't even get the zip file to unzip into the right paths so the makefile doesn't work.

Also where are the pool details?
shazbits
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile
August 03, 2013, 10:26:29 PM
 #209

It compiles but assert (see my post above where I talk about the suggested fix and how this fix doesn't work in many ways).

Also the source .7z contains the mehcoind binary in src/.
kwukduck
Legendary
*
Offline Offline

Activity: 1937
Merit: 1001


View Profile
August 03, 2013, 10:30:06 PM
 #210

*watching*
*rolling out botnet*

14b8PdeWLqK3yi3PrNHMmCvSmvDEKEBh3E
whlx
Member
**
Offline Offline

Activity: 63
Merit: 10


View Profile
August 04, 2013, 02:59:23 AM
 #211

I cann't get block anymore!
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
August 04, 2013, 03:50:19 AM
 #212

It compiles but assert (see my post above where I talk about the suggested fix and how this fix doesn't work in many ways).

Also the source .7z contains the mehcoind binary in src/.

ok i will give you the correct variables. its up to you to plug them in

Code:
block.GetHash() == 00000d2ce10281089f47d707942122e011925e22a33aa06dd13959b12c1b80db
block.hashMerkleRoot == 0e7abe3621183101283aa99a5b1fa9d345a1a6f56d90faa8b384b3af6e0d69bb
block.nTime = 1375158531
block.nNonce = 829036
CBlock(hash=00000d2ce10281089f47, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=0e7abe3621, nTime=1375158531, nBits=1e0fffff, nNonce=829036, vtx=1, vchBlockSig=)
  Coinbase(hash=0e7abe3621, nTime=1375158511, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 04ffff001d020f271d5475652c203330204a756c20323031332030343a32383a303620474d54)
    CTxOut(empty)
  vMerkleTree: 0e7abe3621
SetBestChain: new best=00000d2ce10281089f47  height=0  trust=1  date=07/30/13 04:28:51




That breaks down to:

merkle = 0x0e7abe3621183101283aa99a5b1fa9d345a1a6f56d90faa8b384b3af6e0d69bb

genblock = 0x00000d2ce10281089f47d707942122e011925e22a33aa06dd13959b12c1b80db

nTime = 1375158531

nNonce = 829036

please let me know if that fixes it.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
sensecrack
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
August 04, 2013, 05:13:40 AM
 #213

Can't run with win7 64bit ,how to do it?
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
August 04, 2013, 05:18:39 AM
 #214

Can't run with win7 64bit ,how to do it?


if you installed with Jinstaller:

1. right click the program icon on your desktop
 
2. click properties in the drop down menu.
 
3. then click on the "Compatibility" tab.

4. select the checkbox that says "run this program in compatibility for..." "Windows XP Service Pack 3"  should be the first option. if its not, select it from the drop down menu.

5. click apply.

6. run the program.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
August 04, 2013, 06:58:50 AM
 #215

It compiles but assert (see my post above where I talk about the suggested fix and how this fix doesn't work in many ways).

Also the source .7z contains the mehcoind binary in src/.

ok i will give you the correct variables. its up to you to plug them in

Code:
block.GetHash() == 00000d2ce10281089f47d707942122e011925e22a33aa06dd13959b12c1b80db
block.hashMerkleRoot == 0e7abe3621183101283aa99a5b1fa9d345a1a6f56d90faa8b384b3af6e0d69bb
block.nTime = 1375158531
block.nNonce = 829036
CBlock(hash=00000d2ce10281089f47, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=0e7abe3621, nTime=1375158531, nBits=1e0fffff, nNonce=829036, vtx=1, vchBlockSig=)
  Coinbase(hash=0e7abe3621, nTime=1375158511, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 04ffff001d020f271d5475652c203330204a756c20323031332030343a32383a303620474d54)
    CTxOut(empty)
  vMerkleTree: 0e7abe3621
SetBestChain: new best=00000d2ce10281089f47  height=0  trust=1  date=07/30/13 04:28:51




That breaks down to:

merkle = 0x0e7abe3621183101283aa99a5b1fa9d345a1a6f56d90faa8b384b3af6e0d69bb

genblock = 0x00000d2ce10281089f47d707942122e011925e22a33aa06dd13959b12c1b80db

nTime = 1375158531

nNonce = 829036

please let me know if that fixes it.

Umm the version of main.cpp in the source is different to this.  The genesis block line is commented out.  WTF is going on?
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
August 04, 2013, 07:39:55 AM
 #216

It compiles but assert (see my post above where I talk about the suggested fix and how this fix doesn't work in many ways).

Also the source .7z contains the mehcoind binary in src/.

ok i will give you the correct variables. its up to you to plug them in

Code:
block.GetHash() == 00000d2ce10281089f47d707942122e011925e22a33aa06dd13959b12c1b80db
block.hashMerkleRoot == 0e7abe3621183101283aa99a5b1fa9d345a1a6f56d90faa8b384b3af6e0d69bb
block.nTime = 1375158531
block.nNonce = 829036
CBlock(hash=00000d2ce10281089f47, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=0e7abe3621, nTime=1375158531, nBits=1e0fffff, nNonce=829036, vtx=1, vchBlockSig=)
  Coinbase(hash=0e7abe3621, nTime=1375158511, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 04ffff001d020f271d5475652c203330204a756c20323031332030343a32383a303620474d54)
    CTxOut(empty)
  vMerkleTree: 0e7abe3621
SetBestChain: new best=00000d2ce10281089f47  height=0  trust=1  date=07/30/13 04:28:51




That breaks down to:

merkle = 0x0e7abe3621183101283aa99a5b1fa9d345a1a6f56d90faa8b384b3af6e0d69bb

genblock = 0x00000d2ce10281089f47d707942122e011925e22a33aa06dd13959b12c1b80db

nTime = 1375158531

nNonce = 829036

please let me know if that fixes it.

Umm the version of main.cpp in the source is different to this.  The genesis block line is commented out.  WTF is going on?

thats the old genesis block. this was built on mehcoin, shakezula likes to comment everything out to give you an idea of what all has been changed.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
August 04, 2013, 07:55:31 AM
 #217

Ok maybe it's just early here, but I'm still not following you. Are you saying I should use the original mehcoin source and modify that.  I tried modifying dogtownheros source but couldn't get it to run.

Why don't people just publish working code? The only reason I even want to use it is to try my modded GPU miner, which I can't without jcoind or a pool.

r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
August 04, 2013, 08:02:09 AM
 #218

Ok maybe it's just early here, but I'm still not following you. Are you saying I should use the original mehcoin source and modify that.  I tried modifying dogtownheros source but couldn't get it to run.

Why don't people just publish working code? The only reason I even want to use it is to try my modded GPU miner, which I can't without jcoind or a pool.



actually yes, if you modify mehcoin to the specifications of j-coin it should work, as long as everythings the same

ports
maxmint proof of work
maxmoney
targettimespan
pow target spacing
block rewards
genesis
merkle
nNonce
epoch
timestamp
etc.


. in fact DogtownHero should get on that asap....

My negative trust rating is reflective of a personal vendetta by someone on default trust.
jestronix
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
August 04, 2013, 08:33:30 AM
 #219

45 j-coins in my breakfast, these bastards better be worth somfin
Bakaboy
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
August 04, 2013, 09:10:26 AM
Last edit: August 04, 2013, 09:29:37 AM by Bakaboy
 #220

Just in case anybody needs it (or is to lazy to edit two lines from the YAC cpuminer). Here's a modified version of cpuminer that should work with j-coin. Note, I just started testing it and I haven't gotten any blocks yet.

https://mega.co.nz/#!VcRhhSYb!V-1OVB8nOWWd9NndKCLzZnWdZw0pwl1AqJQ-Xll8SNg

Modified from mikaelh's source here -> http://yacointalk.com/index.php/topic,264.0.html
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!