Bitcoin Forum
November 16, 2024, 08:40:26 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Poll
Question: What is the best mining option?
PoW
PoS
Other - I will describe in the comments so that my option is added to this poll

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 144 »
  Print  
Author Topic: [ANN] Terracoin (TRC) - Est 2012  (Read 408841 times)
adorid
Sr. Member
****
Offline Offline

Activity: 445
Merit: 250


View Profile
September 22, 2016, 07:50:51 AM
 #501

i got the same problem with merged option.

TestBlockValidity: Consensus::ContextualCheckBlockHeader: late-legacy-block (code 16)

hanzac
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 22, 2016, 08:10:29 AM
 #502

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?
hanzac
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 22, 2016, 08:15:06 AM
 #503

Does it mean that after merged mining started, the p2pool server for terracoin is not needed.
Only you run the p2pool server for bitcoin, and add --merged http://user:pass@terracoin_rpc_host:terracoin_rpc_port
Then it will start merge mining the terracoin.
You can check this guide: https://bitcointalk.org/index.php?topic=62842.0
adorid
Sr. Member
****
Offline Offline

Activity: 445
Merit: 250


View Profile
September 22, 2016, 08:30:41 AM
 #504

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
Sr. Member
****
Offline Offline

Activity: 373
Merit: 250


View Profile
September 22, 2016, 09:39:00 AM
 #505

Does it mean that after merged mining started, the p2pool server for terracoin is not needed.
Only you run the p2pool server for bitcoin, and add --merged http://user:pass@terracoin_rpc_host:terracoin_rpc_port
Then it will start merge mining the terracoin.
You can check this guide: https://bitcointalk.org/index.php?topic=62842.0
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
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 22, 2016, 10:03:19 AM
 #506

Does it mean that after merged mining started, the p2pool server for terracoin is not needed.
Only you run the p2pool server for bitcoin, and add --merged http://user:pass@terracoin_rpc_host:terracoin_rpc_port
Then it will start merge mining the terracoin.
You can check this guide: https://bitcointalk.org/index.php?topic=62842.0
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
Hero Member
*****
Offline Offline

Activity: 1438
Merit: 574


Always ask questions. #StandWithHongKong


View Profile WWW
September 22, 2016, 10:15:38 AM
 #507

Mork TRC calling Ahmed - come in Ahmed...... Smiley

PIA went evil: https://bitcointalk.org/index.php?topic=5203968.msg53160131#msg53160131 Unofficial & Uncensored SYSCOIN thread: https://bitcointalk.org/index.php?topic=4748031.0    Do not trust Yobit/HitBTC/BiteBTC/coinsbit/p2pb2b/Mercatox/C-cex/Poloniex/WEX/KuCoin/LiveCoin/TheRockTrading/Bitfinex/ADAB/Okex/TradeSatoshi/Gate.io/Changelly/Freewallet.org/crex24 scam exchanges or ICO's by known scammers like HashCoins/Ambisafe/Bountyhive - they WILL scam you! Use diligence & research. Buy coins, sell coins - don't invest in stupid shit. If your questions aren't answered - don't touch it.
clockuniverse (OP)
Legendary
*
Offline Offline

Activity: 1231
Merit: 1001


View Profile WWW
September 22, 2016, 12:44:05 PM
 #508

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/6

I will also email him again.  Don't worry we will get it fixed!!

.    Implemented!    .
. DASH’s Decentralized Governance, 
  MASTERNODES, and Instant Send.
.
████
  ██

  ██
████

       ████
  ██

  ██
████

       WEBSITE
   REDDIT
   TWITTER

       ANN THREAD
   MATTERMOST
   BTC GARDEN

clockuniverse (OP)
Legendary
*
Offline Offline

Activity: 1231
Merit: 1001


View Profile WWW
September 22, 2016, 06:54:01 PM
 #509

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

.    Implemented!    .
. DASH’s Decentralized Governance, 
  MASTERNODES, and Instant Send.
.
████
  ██

  ██
████

       ████
  ██

  ██
████

       WEBSITE
   REDDIT
   TWITTER

       ANN THREAD
   MATTERMOST
   BTC GARDEN

crackfoo
Legendary
*
Offline Offline

Activity: 3556
Merit: 1126



View Profile WWW
September 22, 2016, 09:58:41 PM
 #510

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
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 23, 2016, 02:11:46 AM
 #511

Can ahmedbodi explain why this code is written like this?

https://github.com/clockuniverse/terracoin/blob/master/src/primitives/pureheader.h
Code:
    inline bool IsLegacy() const
    {
return nVersion <= 536870912;
}
536870912 is 229, this is very strange, it seems no where to set big value like this.


While the dogecoin is written like this.
https://github.com/dogecoin/dogecoin/blob/master/src/primitives/pureheader.h
Code:
    inline bool IsLegacy() const
    {
        return nVersion == 1
            || (nVersion == 2 && GetChainId() == 0);
    }
hanzac
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 23, 2016, 07:07:08 AM
 #512

It seems our hero developer is busy on some green coin wallet. Cheesy
hanzac
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 23, 2016, 09:25:54 AM
Last edit: September 23, 2016, 09:39:12 AM by hanzac
 #513

Hi Peers,

I think you can modify the source code a little and then it will work.

Code:
 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
Hero Member
*****
Offline Offline

Activity: 800
Merit: 1000


View Profile
September 23, 2016, 09:56:11 AM
 #514

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
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 23, 2016, 10:00:15 AM
 #515

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.


Quote
[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
Hero Member
*****
Offline Offline

Activity: 800
Merit: 1000


View Profile
September 23, 2016, 10:12:59 AM
 #516

OK, Fix pushed to my repo.

Clockuniverse. Plz re-compile
M8BWNNRFMNdak68c
Sr. Member
****
Offline Offline

Activity: 373
Merit: 250


View Profile
September 23, 2016, 11:43:42 AM
 #517

hmm..

Quote
getauxblock
error code: -10
error message:
Namecoin is downloading blocks...

Quote
getinfo
{
  "version": 91201,
  "protocolversion": 70002,
  "walletversion": 60000,
  "blocks": 832999,
crackfoo
Legendary
*
Offline Offline

Activity: 3556
Merit: 1126



View Profile WWW
September 23, 2016, 11:56:53 AM
 #518

hmm..

Quote
getauxblock
error code: -10
error message:
Namecoin is downloading blocks...

Quote
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
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
September 23, 2016, 12:12:54 PM
 #519

You need to restart and use maxtipage longer than 2days, e. g.
terracoind -maxtipage=1382400
crackfoo
Legendary
*
Offline Offline

Activity: 3556
Merit: 1126



View Profile WWW
September 23, 2016, 12:34:14 PM
 #520

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!
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 144 »
  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!