Title: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 11, 2013, 07:19:51 PM I posted this on terracoin talk http://www.terracointalk.org/index.php/topic,443.0.html
I have BFGMiner solo mining terracoins for me with the following arguments Code: F:\bfgminer.exe -G -o http://localhost:18332 -u user-p pass--coinbase-addr 15uV6tXPZRPgVxUpKeshgUgnkLHM35pK5s I also have TerracoinQt opened in server mode. Code: server=1 It seems that I found a block http://img708.imageshack.us/img708/484/lk0g.png But I have not been paid in TerracoinQt. Is there a delay on the reward? Do so many users need to confirm it before TerracoinQt pays me (itself)? Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: Eli0t on October 11, 2013, 07:23:51 PM check listtransactions in the debug window in the qt, probably an orphan or if not needs more confirms
Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 11, 2013, 07:39:31 PM Anyway to tell for sure if it has become orphaned? listtransactions shows the same thing as the transactions tab, no reward.
Is there a way to tell if it has been received by others? I'm not sure how to find a log of it from terracoinQt though Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: Eli0t on October 11, 2013, 07:59:25 PM listtransactions should say if its orphaned or immature
Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 11, 2013, 08:09:15 PM listtransactions should say if its orphaned or immature listtransactions does not show any transaction amounting to a reward (20TRC). Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: aa on October 11, 2013, 08:25:59 PM .
Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 11, 2013, 08:37:12 PM Is your most recent block orphaned or immature? It isn't that hard. If there's no transaction at all, start the client with -rescan. This is my most recent block, its the only block I've ever found for any type of coin. I think you kinda of just asked me my own question, I want to know how to tell if my block is orphaned (found hash to a stale piece of work?) or immature (which I'm guessing means does not have enough confirmations?) So that I can figure out why I have not been paid by TerracoinQt client, because if it is orphaned or immature I would not see payment as I am currently, is that correct thinking? Order of events 1. Open TerracoinQt in server mode with the arguments listed in the OP 2. Start BFGMiner with the arguments listed in the OP. 4. Few seconds later a block is found, picture in the OP 5. No payment to the address listed in the arguments for BFGMiner in the OP has been about an hour since the block was mined In the TerracoinQt client in the console typing Code: listtransactions I have restarted the TerracoinQt client, but I will try it with rescan this time to see if anything changes. Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 11, 2013, 08:43:23 PM Using
Code: -rescan Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: aa on October 11, 2013, 08:58:20 PM .
Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 11, 2013, 09:13:00 PM Using This time try -reindex.Code: -rescan Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: CoinEraser on October 11, 2013, 09:34:11 PM Are you sure, your wallet was sync, before you start mining?
Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: dreamwatcher on October 11, 2013, 10:43:34 PM Block explorers are great for tracking this stuff down: :D
It looks like you are using a coin base address of : 15uV6tXPZRPgVxUpKeshgUgnkLHM35pK5s http://trc.cryptocoinexplorer.com/address/15uV6tXPZRPgVxUpKeshgUgnkLHM35pK5s The address does not show any coin-base transactions. The new block being mined after your miner found a block was 197950, so lets assume the block your miner solved was 197949: http://trc.cryptocoinexplorer.com/block/0000000000004167c0c73dd133fd04a97590e77d5e995861e1195519b27a5fa1 More then likely, the block you mined was orphaned (Somebody else solved the block just a short time before you, but it had not completely propagated throughout the network) Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 12, 2013, 06:19:54 PM Block explorers are great for tracking this stuff down: :D It looks like you are using a coin base address of : 15uV6tXPZRPgVxUpKeshgUgnkLHM35pK5s http://trc.cryptocoinexplorer.com/address/15uV6tXPZRPgVxUpKeshgUgnkLHM35pK5s The address does not show any coin-base transactions. The new block being mined after your miner found a block was 197950, so lets assume the block your miner solved was 197949: http://trc.cryptocoinexplorer.com/block/0000000000004167c0c73dd133fd04a97590e77d5e995861e1195519b27a5fa1 More then likely, the block you mined was orphaned (Somebody else solved the block just a short time before you, but it had not completely propagated throughout the network) What do you mean by the address "15uV6tXPZRPgVxUpKeshgUgnkLHM35pK5s" has shown no coin-base transactions (do you mean Terracoin by coin-base)? I have used it many times. So I mined a block a few seconds before/behind someone. But somehow theirs propagated to more people(nodes) faster thus making theirs the correct chain to follow? Aww. My first block. Orphaned at such a young age. :'( Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: dreamwatcher on October 12, 2013, 07:33:08 PM A coin base transaction generates coins. It is the only transaction type that can exist without an output TX(s) feeding it. It is also the only type of transaction that can be the first transaction in a block.
In other words, it is the transaction that creates the coins you mined. Since the block reward is 20 TRC, I can assume you have no coin base transactions at that address without looking into the individual transactions as you have no ~20 TRC transactions at that address. The solved block with the earliest time stamp becomes the official block. Because we are dealing with a world-wide network, it can sometimes take a several to many seconds for the majority (including your local) daemon to see it and organize the chain accordingly. This was one of the biggest problems I faced writing CCE3, I would not discover a block was orphaned until a previous TXOUT was not valid on a current block. CCE3 now double checks every block every 60 blocks or so before committing the database to backup, and it finds a few orphans every day on every chain I have testing with CCE3. Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: skeeterskeeter on October 12, 2013, 07:55:40 PM A coin base transaction generates coins. It is the only transaction type that can exist without an output TX(s) feeding it. It is also the only type of transaction that can be the first transaction in a block. In other words, it is the transaction that creates the coins you mined. Since the block reward is 20 TRC, I can assume you have no coin base transactions at that address without looking into the individual transactions as you have no ~20 TRC transactions at that address. The solved block with the earliest time stamp becomes the official block. Because we are dealing with a world-wide network, it can sometimes take a several to many seconds for the majority (including your local) daemon to see it and organize the chain accordingly. This was one of the biggest problems I faced writing CCE3, I would not discover a block was orphaned until a previous TXOUT was not valid on a current block. CCE3 now double checks every block every 60 blocks or so before committing the database to backup, and it finds a few orphans every day on every chain I have testing with CCE3. Ok I see that makes sense now. Thank you for explaining that. Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: RoadTrain on October 12, 2013, 08:56:22 PM A coin base transaction generates coins. It is the only transaction type that can exist without an output TX(s) feeding it. It is also the only type of transaction that can be the first transaction in a block. Really? I always thought that the client chooses the block which it received earlier, regardless of the timestamp. Then waits for the longest chain.In other words, it is the transaction that creates the coins you mined. Since the block reward is 20 TRC, I can assume you have no coin base transactions at that address without looking into the individual transactions as you have no ~20 TRC transactions at that address. The solved block with the earliest time stamp becomes the official block. Because we are dealing with a world-wide network, it can sometimes take a several to many seconds for the majority (including your local) daemon to see it and organize the chain accordingly. This was one of the biggest problems I faced writing CCE3, I would not discover a block was orphaned until a previous TXOUT was not valid on a current block. CCE3 now double checks every block every 60 blocks or so before committing the database to backup, and it finds a few orphans every day on every chain I have testing with CCE3. Title: Re: Mined a Terracoin block, but I haven't been paid. Whats gonig on? Post by: dreamwatcher on October 12, 2013, 09:35:29 PM A coin base transaction generates coins. It is the only transaction type that can exist without an output TX(s) feeding it. It is also the only type of transaction that can be the first transaction in a block. Really? I always thought that the client chooses the block which it received earlier, regardless of the timestamp. Then waits for the longest chain.In other words, it is the transaction that creates the coins you mined. Since the block reward is 20 TRC, I can assume you have no coin base transactions at that address without looking into the individual transactions as you have no ~20 TRC transactions at that address. The solved block with the earliest time stamp becomes the official block. Because we are dealing with a world-wide network, it can sometimes take a several to many seconds for the majority (including your local) daemon to see it and organize the chain accordingly. This was one of the biggest problems I faced writing CCE3, I would not discover a block was orphaned until a previous TXOUT was not valid on a current block. CCE3 now double checks every block every 60 blocks or so before committing the database to backup, and it finds a few orphans every day on every chain I have testing with CCE3. It does, but will reorganize when it gets information to the contrary. The earliest time stamp has to win, otherwise the chain would be split constantly. The client/daemon does not know it has an orphan block until it gets the block with the early time stamp or a longer chain appears. It will broadcast the orphan block out as the official block to other client/daemons that ask it for block information. So there can be few orphans on the network at a time, and all those daemons that are mining will be mining the wrong hash as the previous block hash is part of the header. At any given time, depending on network conditions, a large chunk of the network could be working on an orphan chain. What happens if the next block between two chains also occurs at the same time? Both chains are the same length, which is the correct one? The with the earlier times stamp where the split occurred is the correct chain. Here is an example of a CCE3 log on a 30 second block target coin (GPL) Code: DEBUG:root:10-11 20:42:32 Sucessful Backup: 157482 Every time you see an entry of "Hash mismatch" is an occurrence where the daemon thought it had an official block, but it was really passing on information about an orphan block. This is a log from XPM, an older coin then above with a minute target time: Code: DEBUG:root:10-02 17:45:19 Hash Mismatch: Database Restored 190508 Less often, but more often then one thinks. Remember these are daemons that are not mining, and thus getting their info from the daemons they are connected to. This is one daemon, think about the thousands and thousands of daemons running. The decision cannot be arbitrary, there has to be a solid constant to base the decision of which block is the official block and which is the orphan. |