adorid
|
|
September 22, 2016, 07:50:51 AM |
|
i got the same problem with merged option.
TestBlockValidity: Consensus::ContextualCheckBlockHeader: late-legacy-block (code 16)
|
|
|
|
hanzac
|
|
September 22, 2016, 08:10:29 AM |
|
If you use p2pool, should add command param --merged. Otherwise, it will still use getblocktemplate.
i do use "--merged". it calls getauxblock and has still problems! other merged coins work fine! only TRC has problems. p2pool (version 16.0-4-gde1be30-dirty) Can you post your error log?
|
|
|
|
|
adorid
|
|
September 22, 2016, 08:30:41 AM |
|
my wallet doesnt accept new block... and even with merged mining:
p2pool.util.jsonrpc.NarrowError: -1 CreateNewBlock: TestBlockValidity failed: late-legacy-block (code 16)
|
|
|
|
M8BWNNRFMNdak68c
|
|
September 22, 2016, 09:39:00 AM |
|
we are not stupid man.. if you think "it will start merge mining" , then please try it yourself. it will not! i gave you my log..
|
|
|
|
hanzac
|
|
September 22, 2016, 10:03:19 AM |
|
we are not stupid man.. if you think "it will start merge mining" , then please try it yourself. it will not! i gave you my log.. It seems that we need ahmedbodi/TRC dev team to fix it, it seems that CreateNewBlock method rejects its own created block.
|
|
|
|
IconFirm
|
|
September 22, 2016, 10:15:38 AM |
|
Mork TRC calling Ahmed - come in Ahmed......
|
|
|
|
clockuniverse (OP)
Legendary
Offline
Activity: 1231
Merit: 1001
|
|
September 22, 2016, 12:44:05 PM |
|
I went to bed and all hell broke loose!! I emailed Ahmed yesterday afternoon to warn him the hard fork was coming, and I just now opened an issue. https://github.com/clockuniverse/terracoin/issues/6I will also email him again. Don't worry we will get it fixed!!
|
|
|
|
clockuniverse (OP)
Legendary
Offline
Activity: 1231
Merit: 1001
|
|
September 22, 2016, 06:54:01 PM |
|
Don't stress if you have lost 3 .9.12.1 peers. By coincidence I have to move my server & its virtual machines to a different building this week. I was waiting until after the hard fork, but since we are waiting for a fix I figured I would do it today. It should be back up Saturday.
Edited: For clarity
|
|
|
|
crackfoo
Legendary
Offline
Activity: 3556
Merit: 1126
|
|
September 22, 2016, 09:58:41 PM |
|
terracoin-cli getauxblock error code: -1 error message: CreateNewBlock: TestBlockValidity failed: late-legacy-block (code 16)
|
ZPOOL - the miners multipool! Support We pay 10 FLUX Parallel Assets (PA) directly to block rewards! Get paid more and faster. No PA fee's or waiting around for them, paid instantly on every block found!
|
|
|
|
hanzac
|
|
September 23, 2016, 07:07:08 AM |
|
It seems our hero developer is busy on some green coin wallet.
|
|
|
|
hanzac
|
|
September 23, 2016, 09:25:54 AM Last edit: September 23, 2016, 09:39:12 AM by hanzac |
|
Hi Peers, I think you can modify the source code a little and then it will work. src/primitives/pureheader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/primitives/pureheader.h b/src/primitives/pureheader.h index d366d3f..60db6c4 100644 --- a/src/primitives/pureheader.h +++ b/src/primitives/pureheader.h @@ -148,7 +148,7 @@ public: */ inline bool IsLegacy() const { - return nVersion <= 536870912; + return GetBaseVersion() <= 3; } };
Since it's 1 days more that no new blocks, we need to set maxtipage. e.g.: terracoind -maxtipage=1382400
|
|
|
|
mrbodz
|
|
September 23, 2016, 09:56:11 AM |
|
afraid that wont work. Since terracoin launch. Some mining pool has been creating blocks with an invalid block version. That is why i had to set the islegacy version to the highest value they made. Apparently this is now conflicting with merged mining.
EDIT: unless its working for you?
EDIT 2: 103c103 < consensus.nLegacyBlocksBefore = 806000; --- > consensus.nLegacyBlocksBefore = -1;
Everyone could try running this patch against their coind's and see if it accepts the block. If so i will apply it to the github and we can move the hard fork forward
|
|
|
|
hanzac
|
|
September 23, 2016, 10:00:15 AM |
|
afraid that wont work. Since terracoin launch. Some mining pool has been creating blocks with an invalid block version. That is why i had to set the islegacy version to the highest value they made. Apparently this is now conflicting with merged mining.
EDIT: unless its working for you?
I tested, it works. [ec2-user@ip-172-31-59-190 ~]$ terracoin-cli getinfo { "version": 91201, "protocolversion": 70002, "walletversion": 60000, "balance": 0.00000000, "blocks": 832999, "timeoffset": 0, "connections": 7, "proxy": "", "difficulty": 1527279.818642486, "testnet": false, "keypoololdest": 1474615308, "keypoolsize": 101, "paytxfee": 0.00000000, "relayfee": 0.00001000, "errors": "WARNING: check your network connection, 0 blocks received in the last 4 hours (120 expected)" } [ec2-user@ip-172-31-59-190 ~]$ terracoin-cli getauxblock { "hash": "f7144258147bedf6e387ae731cd319ef79106f0f724a2c18df8abd523a142f31", "chainid": 50, "previousblockhash": "00000000000008b116313c83dc3138b4fe488af03531d754469033e2c5de7e0d", "coinbasevalue": 2000000000, "bits": "1a0afc20", "height": 833000, "_target": "000000000000000000000000000000000000000000000020fc0a000000000000" } [ec2-user@ip-172-31-59-190 ~]$
|
|
|
|
mrbodz
|
|
September 23, 2016, 10:12:59 AM |
|
OK, Fix pushed to my repo.
Clockuniverse. Plz re-compile
|
|
|
|
M8BWNNRFMNdak68c
|
|
September 23, 2016, 11:43:42 AM |
|
hmm.. getauxblock error code: -10 error message: Namecoin is downloading blocks... getinfo { "version": 91201, "protocolversion": 70002, "walletversion": 60000, "blocks": 832999,
|
|
|
|
crackfoo
Legendary
Offline
Activity: 3556
Merit: 1126
|
|
September 23, 2016, 11:56:53 AM |
|
hmm.. getauxblock error code: -10 error message: Namecoin is downloading blocks... getinfo { "version": 91201, "protocolversion": 70002, "walletversion": 60000, "blocks": 832999,
yeah, is all I get too: $ terracoin-cli getauxblock error code: -10 error message: Namecoin is downloading blocks...
|
ZPOOL - the miners multipool! Support We pay 10 FLUX Parallel Assets (PA) directly to block rewards! Get paid more and faster. No PA fee's or waiting around for them, paid instantly on every block found!
|
|
|
hanzac
|
|
September 23, 2016, 12:12:54 PM |
|
You need to restart and use maxtipage longer than 2days, e. g. terracoind -maxtipage=1382400
|
|
|
|
crackfoo
Legendary
Offline
Activity: 3556
Merit: 1126
|
|
September 23, 2016, 12:34:14 PM |
|
You need to restart and use maxtipage longer than 2days, e. g. terracoind -maxtipage=1382400
Right, I just did that and now it works. Cheers!
|
ZPOOL - the miners multipool! Support We pay 10 FLUX Parallel Assets (PA) directly to block rewards! Get paid more and faster. No PA fee's or waiting around for them, paid instantly on every block found!
|
|
|
|