Author

Topic: [ANN] [CHC] Chaincoin - Network Upgrade 16.1 - SegWit Activated - page 167. (Read 321709 times)

legendary
Activity: 2254
Merit: 1290

{"chain":"Chaincoin","code?":"CHC", "address_version":"?", "magic":"?"},


My reading of the runes prompts me to suggest the following config:

Code:
{
  "chain": "Chaincoin",
  "code3": "CHC",
  "address_version": "\u001c",
  "magic": "\u00a3\u00d2\u007a\u0003"
}

For the code3 value, I always consult the source code directly, for canonical accuracy: https://github.com/chaincoin/chaincoin/blob/master/src/qt/bitcoinunits.cpp#L37

address_version is the JSON representation of the hexadecimal representation of the decimal integer which maps to the specified address prefix / leading symbol, i.e. "C" for "Chaincoin". (No, really, I am not making this up).

Here's the necessary map of leading symbols to decimal integers: https://en.bitcoin.it/wiki/List_of_address_prefixes. It yields 'C' = 28, the integer value that is bound to PUBKEY_ADDRESS in https://github.com/chaincoin/chaincoin/blob/master/src/chainparams.cpp#L72

A spell of "render unto JSON" is described in the Abe FAQ https://github.com/bitcoin-abe/bitcoin-abe/blob/master/doc/FAQ.html#L64; in this specific case, decimal 28 becomes hexadecimal 1c and then that is rendered as JSON by prefixing with a backslash, a lowercase u and a coupla zeroes - thus "\u001c" in the JSON code above.

By "magic", I'm guessing that they mean the sequence of four hexadecimal numbers which together form the content of the message start string "pchMessageStart": https://github.com/chaincoin/chaincoin/blob/master/src/chainparams.cpp#L26 ...

Code:
        // The message start string is designed to be unlikely to occur in normal data.
        pchMessageStart[0] = 0xa3;
        pchMessageStart[1] = 0xd2;
        pchMessageStart[2] = 0x7a;
        pchMessageStart[3] = 0x03;

Those four hexadecimal numbers (a3, d2, 7a and 03) are rendered as JSON in the manner described above and the results concatenated (preserving the order), i.e. "\u00a3\u00d2\u007a\u0003".

I haven't tested it, so it's only my best guess. I took my bearings on "magic" from the Abe config for Litecoin given here http://www.jevon.org/wiki/Litecoin which matches precisely the Litecoin pchMessageStart value: https://github.com/litecoin-project/litecoin/blob/master-0.8/src/main.cpp#L3082. Seems a safe bet.

HTH.

Cheers,

Graham

member
Activity: 114
Merit: 10
¡pI∀˥OOʞ ⅄ƎH
legendary
Activity: 2254
Merit: 1290
http://66.172.10.28/chaincoin/block_crawler.php

If anyone could help me out with the net hash input for this crawler I would be very grateful.

Sorry, but could I press you for some more detail on "help me out" ...

According to the github repos, Chaincoin is a clone of Zetacoin, itself a clone of Bitcoin 0.8.2, which doesn't offer getnetworkhashps.

To get that functionality, the  feature would need to be copied across from say, Litecoin 0.8.6.2.

And I was curious whether this was as straightforward as it appeared and that does indeed seem to be the case:

https://github.com/gjhiggins/chaincoin/commit/863404d4d55ce1995022e4fae320b85ac8ad8e91

So, I can report the following initial results, lord knows whether they're accurate or not, does 4Mh/s sound about right for what's basically x11?

Code:
gjh@ashpool:~/minkiz/coinage/coins/ChainCoin.bis$ ./chaincoind -daemon
Chaincoin server starting
gjh@ashpool:~/minkiz/coinage/coins/ChainCoin.bis$ ./chaincoind getinfo
{
    "version" : 89909,
    "protocolversion" : 70001,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 142479,
    "timeoffset" : 1,
    "connections" : 7,
    "proxy" : "",
    "difficulty" : 0.09931863,
    "testnet" : false,
    "keypoololdest" : 1398481919,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

ta-da

Code:
gjh@ashpool:~/minkiz/coinage/coins/ChainCoin.bis$ ./chaincoind getmininginfo
{
    "blocks" : 142479,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : 0.09931863,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "hashespersec" : 30650,
    "networkhashps" : 4829498,
    "pooledtx" : 0,
    "testnet" : false
}

Seems to be quite well-supported with >3 nodes - a good sign unless you're interested in low-diff fossicking.

Code:
gjh@ashpool:~/minkiz/coinage/coins/ChainCoin.bis$ ./chaincoind getpeerinfo
[
    {
        "addr" : "162.243.84.210:11994",
        "services" : "00000001",
        "lastsend" : 1402656218,
        "lastrecv" : 1402656263,
        "bytessent" : 6855,
        "bytesrecv" : 22840,
        "conntime" : 1402655403,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.99.11/",
        "inbound" : false,
        "startingheight" : 142466,
        "banscore" : 0,
        "syncnode" : true
    },
    {
        "addr" : "146.185.148.114:11994",
        "services" : "00000001",
        "lastsend" : 1402656263,
        "lastrecv" : 1402656263,
        "bytessent" : 7783,
        "bytesrecv" : 18628,
        "conntime" : 1402655404,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.99.10/",
        "inbound" : false,
        "startingheight" : 142466,
        "banscore" : 0
    },
    {
        "addr" : "5.9.158.79:11994",
        "services" : "00000001",
        "lastsend" : 1402656263,
        "lastrecv" : 1402656263,
        "bytessent" : 9498,
        "bytesrecv" : 32044,
        "conntime" : 1402655432,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.99.8/",
        "inbound" : false,
        "startingheight" : 142466,
        "banscore" : 0
    },
    {
        "addr" : "62.210.178.237:11994",
        "services" : "00000001",
        "lastsend" : 1402656263,
        "lastrecv" : 1402656263,
        "bytessent" : 2636,
        "bytesrecv" : 16000,
        "conntime" : 1402655461,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.99.11/",
        "inbound" : false,
        "startingheight" : 142467,
        "banscore" : 0
    },
    {
        "addr" : "66.172.10.28:11994",
        "services" : "00000001",
        "lastsend" : 1402656263,
        "lastrecv" : 1402656263,
        "bytessent" : 2941,
        "bytesrecv" : 23632,
        "conntime" : 1402655484,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.99.11/",
        "inbound" : false,
        "startingheight" : 142467,
        "banscore" : 0
    },
    {
        "addr" : "91.199.10.2:11994",
        "services" : "00000001",
        "lastsend" : 1402656263,
        "lastrecv" : 1402656230,
        "bytessent" : 3930,
        "bytesrecv" : 21744,
        "conntime" : 1402655531,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.99.8/",
        "inbound" : false,
        "startingheight" : 142468,
        "banscore" : 0
    },
    {
        "addr" : "208.107.176.95:11994",
        "services" : "00000001",
        "lastsend" : 1402656263,
        "lastrecv" : 1402656229,
        "bytessent" : 2941,
        "bytesrecv" : 31909,
        "conntime" : 1402655546,
        "version" : 70001,
        "subver" : "/Satoshi:0.8.99.11/",
        "inbound" : false,
        "startingheight" : 142468,
        "banscore" : 0
    }
]

(Lots of compiler warnings about overflows when compiling the extra hashfns; suggests those sources might benefit from an update.)

Out of further curiosity (it'll be the ruin of me, one day) - what's your interest in Chaincoin? - technology connoisseur, historian, hodler?

Cheers,

Graham

member
Activity: 114
Merit: 10
¡pI∀˥OOʞ ⅄ƎH
http://66.172.10.28/chaincoin/block_crawler.php

If anyone could help me out with the net hash input for this crawler I would be very grateful.
member
Activity: 114
Merit: 10
¡pI∀˥OOʞ ⅄ƎH
Anyone know what's going on with the wallet? I'm getting "No block source available". I've added all the nodes that were listed, and I've installed it on another machine as well with the same error..
I am connected to these nodes and everything is working fine:
Quote
       "addr" : "62.210.162.235:11994",
        "addr" : "89.177.88.251:38865",
        "addr" : "146.185.148.114:38835",
        "addr" : "50.197.11.193:60963",
        "addr" : "91.199.10.2:11994",
        "addr" : "62.202.6.11:49173",
        "addr" : "118.123.116.219:59882",
        "addr" : "80.143.75.227:51664",
        "addr" : "162.243.84.210:11994",
        "addr" : "82.138.34.183:56630",
        "addr" : "109.205.244.146:57041",
        "addr" : "50.135.57.124:52897",

Thanks!  I'm good now. I have some CHC for you if you'd like.
member
Activity: 117
Merit: 10
Anyone know what's going on with the wallet? I'm getting "No block source available". I've added all the nodes that were listed, and I've installed it on another machine as well with the same error..
I am connected to these nodes and everything is working fine:
Quote
        "addr" : "62.210.162.235:11994",
        "addr" : "89.177.88.251:38865",
        "addr" : "146.185.148.114:38835",
        "addr" : "50.197.11.193:60963",
        "addr" : "91.199.10.2:11994",
        "addr" : "62.202.6.11:49173",
        "addr" : "118.123.116.219:59882",
        "addr" : "80.143.75.227:51664",
        "addr" : "162.243.84.210:11994",
        "addr" : "82.138.34.183:56630",
        "addr" : "109.205.244.146:57041",
        "addr" : "50.135.57.124:52897",
member
Activity: 114
Merit: 10
¡pI∀˥OOʞ ⅄ƎH
Anyone know what's going on with the wallet? I'm getting "No block source available". I've added all the nodes that were listed, and I've installed it on another machine as well with the same error..
sr. member
Activity: 490
Merit: 250
newbie
Activity: 69
Merit: 0
Dev Last Active:   April 13

 Undecided Undecided Undecided
legendary
Activity: 2254
Merit: 1290
I am trying to complete the entry. Does anyone know the Difficulty Retarget time?

The usual suspects assert it as 1 block, or 90 seconds:

https://github.com/chaincoin/chaincoin/blob/master/src/main.cpp#L1273

Code:
static const int64 nTargetTimespan = 90; // 90 seconds
static const int64 nTargetSpacing = 90; // 90 seconds
static const int64 nInterval = 1; // Chaincoin: retarget every block

But ofc, only a detailed inspection of the code can give you a canonical answer.

Cheers,

Graham
hero member
Activity: 938
Merit: 1001
Follow us on Twitter!

ChainCoin has been added to The CPU Coin List.

I am trying to complete the entry. Does anyone know the Difficulty Retarget time?
newbie
Activity: 1
Merit: 0
This coin trying to use CHC even though ChainCoin has it and listed on exchange.

 [ANN][NO IPO][CHC] choiccoin | ★★The real free coin ★★ | POW | Free distribute

https://bitcointalksearch.org/topic/annno-premichcc-chccoin-the-real-free-coin-scrypt-free-distribute-603992

Yeah, but there is that little thing of Chaincoin having the CHC acronym almost 5 months before Choiccoin started. So yeah, there is that..

That thread seems to be filled with bots speaking broken english!
member
Activity: 114
Merit: 10
¡pI∀˥OOʞ ⅄ƎH
This coin trying to use CHC even though ChainCoin has it and listed on exchange.

 [ANN][NO IPO][CHC] choiccoin | ★★The real free coin ★★ | POW | Free distribute

https://bitcointalksearch.org/topic/annno-premichcc-chccoin-the-real-free-coin-scrypt-free-distribute-603992

Yeah, but there is that little thing of Chaincoin having the CHC acronym almost 5 months before Choiccoin started. So yeah, there is that..
sr. member
Activity: 910
Merit: 250
Proof-of-Stake Blockchain Network
This coin trying to use CHC even though ChainCoin has it and listed on exchange.

 [ANN][NO IPO][CHC] choiccoin | ★★The real free coin ★★ | POW | Free distribute

https://bitcointalksearch.org/topic/annno-premichcc-chccoin-the-real-free-coin-scrypt-free-distribute-603992
member
Activity: 114
Merit: 10
¡pI∀˥OOʞ ⅄ƎH
This coin has some great qualities, and no pre-mine.. We need some games or services for it.
hero member
Activity: 938
Merit: 1001
member
Activity: 114
Merit: 10
¡pI∀˥OOʞ ⅄ƎH
Hi Rolihlahla,

I had received this error while trying to compile the new software from github.

http://pastebin.com/PA51E6uF

Thanks for all of your hard work!
sr. member
Activity: 252
Merit: 250
Quiet we are still under the radar get the coins while u can still low difficulty I wonder what does the dev has plain up next  hopefully he can post some details soon
sr. member
Activity: 494
Merit: 250
very interesting coin

too much x11 coin now.

I think this coin would also be very interesting
sr. member
Activity: 910
Merit: 250
Proof-of-Stake Blockchain Network
Looks dead
Tough luck, was good  Sad

Looks like it's going to rise from the dead.  It looks like a good coin.  I like the specifications. 
Jump to: