Pages:
Author

Topic: [ANN] chain2 -- Pure SHA256 PoW coin | Real-Time Targeting - page 2. (Read 964 times)

member
Activity: 450
Merit: 10
No explorer yet.  It would be great if someone wanted to put one up!


I'll make one when ill be back home Smiley

EDIT: It's compiling & will be ready soon



I'm just gonna need a logo of the coin, do you have one ?
newbie
Activity: 16
Merit: 1
Hey. Tell me I wanted to include Your coin in my calculator https://calcminer.info/ but I didn't find the coin Explorer. Does it exist?

No explorer yet.  It would be great if someone wanted to put one up!
copper member
Activity: 201
Merit: 0
Hey. Tell me I wanted to include Your coin in my calculator https://calcminer.info/ but I didn't find the coin Explorer. Does it exist?
member
Activity: 450
Merit: 10
Looks easy for you, getting all the blocks now  Wink
Difficulty up to the millions, block 26, average blocktime 555 seconds!

Oh sorry for all blocks xp !

Yes for difficulty it even went to 9 trillion for a moment lol

newbie
Activity: 54
Merit: 0
RTT difficulty ajustment make it really difficult to mine, its very interesting  Smiley

Looks easy for you, getting all the blocks now  Wink

Difficulty up to the millions, block 26, average blocktime 555 seconds!
member
Activity: 450
Merit: 10
Is there another way ?

The simplest thing is to restart chain2 with -usecashaddr=0.

Functions to accept multiple formats or translate between formats could be added to the RPC.

Sometimes I've used this python-bitcoinlib script to get a legacy address from a pubkey (you can get the pubkey from chain2 using validateaddress):

python pubkey-to-mainnet-address.py

#!/usr/bin/env python
import sys
import bitcoin
from bitcoin.core import Hash160, x, lx
from bitcoin.wallet import CBitcoinAddress
def main():
    bitcoin.SelectParams('mainnet')
    print(CBitcoinAddress.from_bytes(Hash160(x(sys.argv[1])),0))
if __name__ == '__main__':
    main()



It worked ty !



RTT difficulty ajustment make it really difficult to mine, its very interesting  Smiley
newbie
Activity: 16
Merit: 1
Is there another way ?

The simplest thing is to restart chain2 with -usecashaddr=0.

Functions to accept multiple formats or translate between formats could be added to the RPC.

Sometimes I've used this python-bitcoinlib script to get a legacy address from a pubkey (you can get the pubkey from chain2 using validateaddress):

python pubkey-to-mainnet-address.py

#!/usr/bin/env python
import sys
import bitcoin
from bitcoin.core import Hash160, x, lx
from bitcoin.wallet import CBitcoinAddress
def main():
    bitcoin.SelectParams('mainnet')
    print(CBitcoinAddress.from_bytes(Hash160(x(sys.argv[1])),0))
if __name__ == '__main__':
    main()
member
Activity: 450
Merit: 10
Hey Twinkledoe thanks!  Lets see if it can survive. For a SHA256 coin that would be valuable Smiley


hi

How can we avoid the problem with the prefix on wallet address, therefore we cannot mine it.


I've tried the pubkey generated with the prefix ctwo:address

ctwo:qr8ewlqzf85v0szmxtmfypunsmrtq9nm2gct7tdk8n



, it starts with c :   cf977c0249e8c7c05b32f692079386c6b0167b52



Also cannot create a legacy wallet address as you mentioned that it was possible. I've tried with the command :  

getnewaddress "nameofaccount"  "legacy" 



Is there another way ?


Thanks
newbie
Activity: 16
Merit: 1
Hey Twinkledoe thanks!  Lets see if it can survive. For a SHA256 coin that would be valuable Smiley
full member
Activity: 1904
Merit: 138
★Bitvest.io★ Play Plinko or Invest!
No website yet? Purchasing a domain is very cheap now. At least have official website for this project where everyone can check out with. No premine, no ico, no masternode, is a good start but creating value for your coin is not an easy task.
newbie
Activity: 16
Merit: 1
Two successive GBT's have different targets and nbits. Target increases until a block is found. nbits won't be used until the next block and depends on this block's timestamp:


getblocktemplate

{
...
"previousblockhash": "0000000000093658813abd9f0c97b05cb5e3d23594b17c8abf27919312158af3",
"target": "0000000000b4d61573b036be175f295d6cd1e1d9c839e58cc85db34cd0760100",
"mintime": 1571004547,
"curtime": 1571005288,
"bits": "1b2a1d9c",
"height": 7
...
}



getblocktemplate

{
...
"previousblockhash": "0000000000093658813abd9f0c97b05cb5e3d23594b17c8abf27919312158af3",
"target": "000000000124ab302ef78bfb86628340481f85b4f0e6808b8ef587995ef7ced8",
"mintime": 1571004547,
"curtime": 1571005363,
"bits": "1b4b0ce2",
"height": 7
}

newbie
Activity: 16
Merit: 1
How the chain looks so far

block, inter-block time, difficulty, target
0,1570992534,1,1d00ffff
1,9746,1,1d00ffff
2,240,183.9942093834309,1c01642e
3,661,77.56481858194326,1c034ce8
4,500,174.547270514061,1c017775
5,540,247.5244544770504,1c0108c3

newbie
Activity: 16
Merit: 1
chain2 is an experimental cryptocurrency.  The main purpose of chain2 is to explore the performance of its difficulty adjustment algorithm: Real-Time Targeting (RTT). As a pure SHA256 PoW altcoin, chain2 competes for a share of the biggest pool of hashrate on Earth.

Miners and nodes wanted. This might be fun.


Download
https://github.com/chain2/chain2/releases


chain2 Mining - IMPORTANT

The RTT target starts low (difficulty high) and increases (decreases) during the block, depending the timestamp of the block being mined.  The next block's resulting nominal target is also included in the block template. It also rises with time, but is not the same as the actual target (see research paper).  Unmodified miners that rely on the template difficulty will fail to submit some valid blocks.

Slight (and hacky) modifications to pool software allow it to mine chain2 in a reasonable way, with no stratum client modifications needed:
 - ckpool https://bitbucket.org/dgenr8/ckpool/commits/26bfbcf5dd02f81094f92cbdda21802c3e132a64
 - yiimp https://github.com/dgenr8/yiimp-1/commits/next

The incentives established by this algorithm do not favor inaccurate timestamps, therefore using the timestamp as a nonce is not recommended.

chain2 lends itself to optimized mining pools and clients which understand RTT.  Please work on this if you can! An internal CPU miner is included for reference, but of course it is unusably slow.

Pools
https://mcpool.chain2.org/           -a sha256 -o stratum+tcp://stratum.mcpool.chain2.org:3330 -u -p c=CTWO

chain2 Specifications

- PoW algorithm: SHA256D
- Difficulty adjustment algorithm: RTT
   RTT research paper: https://github.com/chain2/chain2/blob/master/specifications/rtt.pdf
   RTT implementation: https://github.com/chain2/chain2/pull/6
- Starting difficulty: 1
- Starting target: 0x1d00ffff
- Block time: 10 minutes
- Block reward: 50 ctwo
- Block reward halving schedule: every 210,000 blocks
- Total coin supply: 21M
- Default P2P port: 9393
- Default RPC port: 9392
- Address format: cashaddr with "ctwo:" prefix (legacy bitcoin mode available)

- Pre-mine: No
- Founders reward: No
- Instamine: Not possible
- ICO: No
- Masternodes: No
- Segwit: No
- Finalization: No
- Genesis coinbase output script: OP_FALSE


BEWARE
If you somehow manage to buy ctwo from someone right now, you are extremely likely to lose money.  Chaotic reorganizations are quite possible. ctwo should never be worth anything unless it gains a meaningful level of stable miner support compared to BTC.


chain2 Consensus Rules:

    Bitcoin Cash rules as of 14 November, 2018 (PRE-SPLIT)
      (BIP143, 32MB blocks, etc ...)
    + Real Time Targeting
    + CHECKDATASIG activates at 75% support over 90 days (BIP135)
           * Activated 2020-07-29 12:14:35
    + Gradual max block size adjustment by miners (BIP100)


Reference implementation source code: https://github.com/chain2/chain2

Markets:
 - https://freiexchange.com/market/CTWO/BTC

Resources:
 - Explorer http://explorer.chain2.org
 - Explorer http://iquidus.chain2.org
 - Faucet http://faucet.chain2.org
 - Chat https://discord.gg/pydVnNh

Many BTC, BCH, and BSV applications are compatible with chain2 or could be made compatible with slight modifications.
Additional compatible implementations of chain2 are of course possible. PR's are also welcome to the chain2 reference implementation.


Consumer/Investor Disclosures

 - Cryptocurrency is a rapidly evolving technology.
 - Cryptocurrency has historically been EXTREMELY VOLATILE.
 - Transfers of ctwo are NON-REVERSIBLE.
 - Mined or transferred ctwo tokens may disappear in chain reorganizations.
 - The chain2 software is provided AS IS, WITHOUT GUARANTEE or WARRANTY.
Pages:
Jump to: