Jump to content
snailbrain

Hard-Fork - Update before Block 440,000

Recommended Posts

Hi Everyone:

The planned Hardfork is coming up - block 440k ~3.5 Weeks. (from today - 27/11/18)

Quote

 

This is a new major release of Xaya Core, including changes ported from upstream Bitcoin/Namecoin as well as new features built specifically for Xaya. For a list of changes, look at the 1.1 milestone on Github.

The two most important changes in this release are:

A hard fork has been implemented that changes the network parameters (mainly block schedule and block reward). On mainnet, the fork will activate at block height 440,000. This is in-line with the roadmap to adjust the PoW coin supply after the finished token sale.
A Xaya-specific ZMQ interface has been implemented, which will make it easier to build games on the Xaya platform and is needed for interoperability with libxayagame.

 


For windows users, you can download the Electron wallet v1.1
https://github.com/xaya/xaya_electron/releases/


For Mac/Linux/Windows users who want to use the QT/XAYAd
https://github.com/xaya/xaya/releases

Update ASAP :)

 

Hello Everyone.

as already planned - there will be a hard-fork coming soon that will:

  1. The nonce values of main block headers no longer need to be zero (this allows/fixes the issue for mining pools with statum).
  2. The block intervals are changed and made algorithm-dependent:  Neoscrypt targets 40s and SHA-256d two minutes after the fork (for an average that is still 30s per block).
  3. The block rewards are increased to 10 CHI on testnet and mainnet after the fork.  For testnet, that is the (arbitrary) value we will use.  For mainnet, the value will be changed when the actual fork height becomes known, so that we can calculate the correct value.

Testnet has now been forked - so anyone interested in setting up a pool for Neoscrypt can test on there if needed.

Once we set the mainnet values we will update this post. Unless you want to test you don't need to do anything at this stage.

https://github.com/xaya/xaya/commit/f31f6a378e185256ea13cc929910d30c83916b8f

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
22 hours ago, DarkClaw said:

What is soon?

estimate we'll set it for 5 or 6 weeks from now.

but testnet has been forked if you use the master branch, so you can test on there for now if needed

  • Like 1

Share this post


Link to post
Share on other sites

Nice to know ? I ´m currently setting up the daemon for the pool

The pool is already running ... so downloading testnet blockchain and testing tomorrow

  • Like 1

Share this post


Link to post
Share on other sites

@snailbrain I think I need some advice

got an error while connecting with pool to daemon --> Error with RPC call getmininginfo {"type":"request error","message":"socket hang up"}

daemon is set up and synced but I can´t connect ... if I set rpc port in xaya.conf the option testnet=1 overwrite this parameter with the old port 18394

but even if I use the old one I can´t connect with given username and password from conf file.

If I use the py script from /share/rpcauth, generate a login and insert it without the rpcuser and pw in the conf file and start the daemon it uses the cookie-based auth...

do I have to use both? rpcauth and rpcuser + rpcpassword?

or do I have to use "/wallet/game.dat" after the daemon address? 127.0.0.1:port/wallet/game.dat

thanks for some help

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, casp0or said:

or do I have to use "/wallet/game.dat" after the daemon address? 127.0.0.1:port/wallet/game.dat 

Not sure if its relevant but I had an issue when I switched from win7 to linux (and also electrum wallet to qt, since there is no electrum for linux afaik). Electrum has game.dat and vault.dat, while qt only has wallet.dat. For  testnet it generates a new wallet you''d need to figure out the path to and use (for me it looks like .xaya/testnet/wallets/wallet.dat) .

  • Like 1

Share this post


Link to post
Share on other sites
9 hours ago, casp0or said:

@snailbrain I think I need some advice

got an error while connecting with pool to daemon --> Error with RPC call getmininginfo {"type":"request error","message":"socket hang up"}

daemon is set up and synced but I can´t connect ... if I set rpc port in xaya.conf the option testnet=1 overwrite this parameter with the old port 18394

For changing the ports on testnet (or regtest for that matter), you need to put them below a [testnet] line or change them to testnet.rpcport, I think (or perhaps the other way round, rpcport.testnet).

  • Like 1

Share this post


Link to post
Share on other sites

soo downloaded the 1.1 qt client running fine:) but whats the xaya-hash.exe file/do?

 

also the rest of files in the zip file do for that matter? i know what the xaya-cli.exe does.. the rest?

 

Icon

 

 

 

 

Share this post


Link to post
Share on other sites
2 hours ago, Icon said:

soo downloaded the 1.1 qt client running fine:) but whats the xaya-hash.exe file/do?

also the rest of files in the zip file do for that matter? i know what the xaya-cli.exe does.. the rest?

xaya-hash computes the PoW hash of a block header for the two algorithms that Xaya uses.  This is mainly used for regression testing and has probably no real use for end users; perhaps some developers might find it useful, too.

xaya-tx is a command-line utility that can construct and manipulate raw transactions.  It is, roughly speaking, a more light-weight alternative to RPC commands like createrawtransaction that can be used without downloading the blockchain.  I've used it myself from time to time, but this is certainly also only useful for developers or advanced users.

What other files are you interested in?

Share this post


Link to post
Share on other sites
On 11/8/2018 at 6:10 PM, snailbrain said:

Hi Everyone:

The planned Hardfork is coming up - block 440k ~3.5 Weeks. (from today - 27/11/18)


For windows users, you can download the Electron wallet v1.1
https://github.com/xaya/xaya_electron/releases/


For Mac/Linux/Windows users who want to use the QT/XAYAd
https://github.com/xaya/xaya/releases

Update ASAP :)

 

Hello Everyone.

as already planned - there will be a hard-fork coming soon that will:

  1. The nonce values of main block headers no longer need to be zero (this allows/fixes the issue for mining pools with statum).
  2. The block intervals are changed and made algorithm-dependent:  Neoscrypt targets 40s and SHA-256d two minutes after the fork (for an average that is still 30s per block).
  3. The block rewards are increased to 10 CHI on testnet and mainnet after the fork.  For testnet, that is the (arbitrary) value we will use.  For mainnet, the value will be changed when the actual fork height becomes known, so that we can calculate the correct value.

Testnet has now been forked - so anyone interested in setting up a pool for Neoscrypt can test on there if needed.

Once we set the mainnet values we will update this post. Unless you want to test you don't need to do anything at this stage.

https://github.com/xaya/xaya/commit/f31f6a378e185256ea13cc929910d30c83916b8f

How to update v.1.0.4?

Delete old version? Is my wallets not lost?

Share this post


Link to post
Share on other sites
11 minutes ago, meonom said:

How to update v.1.0.4?

Delete old version? Is my wallets not lost?

You are supposed to update 1.1.0. You don't need to uninstall the old version, but you can choose to do so. Your wallets will not be lost and you should also have your backups, which you preferrably store on external drives and with which you can restore your wallet at any time. If you didn't make any backups yet, this is the time to do so. Just go to "settings"-tab in your wallet and use the backup-buttons on the right.

  • Like 1

Share this post


Link to post
Share on other sites

Do you have a distribution graph over the years, halving periods if any (for CHI mining)… Is the distribution formula equal to Bitcoin?

Thanks

Share this post


Link to post
Share on other sites
2 hours ago, game said:

Do you have a distribution graph over the years, halving periods if any (for CHI mining)… Is the distribution formula equal to Bitcoin?

I'm not aware of a distribution graph, but yes, CHI block rewards are halved every four years (4.2 million blocks) just as in Bitcoin.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×