<p>Are you running "bitcoin-cli submitblock xyz" manually? You are not supposed to do this. Software does this. If you mine in a pool you don't even need to run bitcoind at all.</p>

<p>If you do want to run your own bitcoind node, don't mess with the blk*.dat files. You don't need to touch them. The bitcoind program is the only thing that needs to use them.</p>

<p>If you mine in a pool just set up your ASIC mining machines and make sure they are running, then use the pool website for the rest of your needs.</p>

CC BY-SA 3.0
2015-03-23T10:03:56.863Z
2015-03-23T10:03:56.863Z
Dr.Haribo
<p>Good Day,</p>

<p>Are you solo mining or pool mining?</p>

<p>If you are solo mining.... You will need to have about <strong>1000 Th/s of ASIC Cheddar</strong> to Mine Solo. So, that is striked.</p>

<p>If you have that kind of cheddar of a 1000 ASICS, it will take <strong>about a day</strong> for it to come in your account with a couple of confirmations....</p>

<p>To know if you are solo mining you will have a <strong>--btc-address=</strong> and this param should have your BTC Address... if you are solo mining.</p>

<p>If you are pool mining, your parameters will something like <strong>-u somename.worker1 -p password</strong> or <strong>-u BTC_ADDRESS -p x</strong></p>

<p>It is also <strong>safe</strong> to assume that you <strong>haven't mined a solo block.</strong> with a CPU or GPU</p>

<p>If you are pool mining (duh!), go to that pool's website and login to your account.</p>

<p>Hopefully, you created a worker or else there is a chance that you have mined to donation.... and you didn't make a dime..... If you did, your Username should be your Worker ID <code>e.g. username.worker1</code> and Pass to whatever you set...</p>

<p>Then wait for the round of cash complete (Seriously Wait..)..... for hours...</p>

<p>Then go and withdraw your BTC from the pool to your wallet address and enjoy this tiny (I guess...) wealth.</p>

<p>If you are using <strong>Eligius or a Non-Registratable P2P Pool</strong> then your Username <strong>Should</strong> be your BitCoin Address and Your Password Being <code>x</code> or <code>123</code>.</p>

<p>Same applies here, if you don't put a Version 0 Address, (i.e. An Address starting with <code>1</code>) or put some other rubbish other than <strong>YOUR</strong> address, it goes for donations....</p>

<p>Your worker password cannot be used for accessing your bits.</p>

<p><strong>Also that blk(whatever...).dat is the records of other cash, that is the BlockChain!</strong></p>

CC BY-SA 3.0
2015-03-22T16:29:25.270Z
Thank's for your answer... Surely i use two asics miners in usb connect, the last version of cgminer can use asics in usb... I'm not liying, i have all the time, some share accpeted and sometimes i have new block detected. I've found on the net, that the lastest version of bitcoin-qt doesn't mining??? really??? I use a pool, which i can solo mining by user=adress wallet and pass=wathyouwant When i write getblocktemplate i have a list of block transaction and shares and fees...
Beliomir
CC BY-SA 3.0
2015-03-22T16:29:25.270Z
When i submit a block with submitblock =>block decode failed.

Thank's for your answer, but the mining pool that i use, can solo and there is develloped for low power mining....

I can't understand why?

I understood that blk00000.dat is the blockchain. First block that creator have been created in a first time.
Beliomir
CC BY-SA 3.0
2015-03-22T12:30:44.767Z
2015-03-22T12:38:05.917Z
2015-03-22T12:38:05.917Z
DeOxyRibose Acid
<p>I just started solo mining last month, and I have no problems with cgminer.
I have already shares accepted and sometimes new block detected.
I want to know why when I want decode I've an error?
For example, "block decode failed (-22)"</p>

<p>In my Roaming\Bitcoin\blocks, I have some 300 files who called blk00000.dat and until i'm mining, until the list expand.</p>

<p>But I don't have receive my awards for my blocks.... and not to for the fees...</p>

<p>Can you explain me please?</p>

<p>Is the blocks files are my detected block by mining?
Why I've an error block decode failed? How to do too receive my awards?</p>

<p>Thanks for your  help...</p>

<p>Ps:i'm french and i say "il n'y a rien de plus frustrant de ne pas comprendre"
It's like "there is nothing biggest frustation than don't understand!!!"</p>

CC BY-SA 3.0
2015-03-20T19:34:19.997Z
Are you using any software besides Bitcoin and cgminer? Are you sure you're solo mining?
Nick ODell
CC BY-SA 3.0
2015-03-21T02:57:55.743Z
the blk0xxx.dat files are just the blocks that form the blockchain. They are not the blocks you found. Unless you have a LOT of mining power (more than 10,000 ASIC machines, for example), I really doubt you even found 1 block.
Jimmy Song
CC BY-SA 3.0
2015-03-23T14:59:30.387Z
Hello Beliomir: Please, put any additional information **into the question by editing** instead of adding answers to your post.
Murch
<mining-pools><cgminer>
"block decode failed" error while mining in pool
Beliomir
# "block decode failed" error while mining in pool

(Asked by: username_0 on 2015-03-20)

I just started solo mining last month, and I have no problems with cgminer.
I have already shares accepted and sometimes new block detected.
I want to know why when I want decode I've an error?
For example, "block decode failed (-22)"

In my Roaming\Bitcoin\blocks, I have some 300 files who called blk00000.dat and until i'm mining, until the list expand.

But I don't have receive my awards for my blocks.... and not to for the fees...

Can you explain me please?

Is the blocks files are my detected block by mining?
Why I've an error block decode failed? How to do too receive my awards?

Thanks for your help...

Ps:i'm french and i say "il n'y a rien de plus frustrant de ne pas comprendre"
It's like "there is nothing biggest frustation than don't understand!!!"

**Tags:** mining-pools, cgminer

> **Comments:**
> **username_1**: Are you using any software besides Bitcoin and cgminer? Are you sure you're solo mining?  
> **username_2**: the blk0xxx.dat files are just the blocks that form the blockchain. They are not the blocks you found. Unless you have a LOT of mining power (more than 10,000 ASIC machines, for example), I really doubt you even found 1 block.  
> **username_3**: Hello username_0: Please, put any additional information **into the question by editing** instead of adding answers to your post.  

---

## 2 answers

### Answer by username_4 on 2015-03-23. Score: 2

Are you running "bitcoin-cli submitblock xyz" manually? You are not supposed to do this. Software does this. If you mine in a pool you don't even need to run bitcoind at all.

If you do want to run your own bitcoind node, don't mess with the blk\*.dat files. You don't need to touch them. The bitcoind program is the only thing that needs to use them.

If you mine in a pool just set up your ASIC mining machines and make sure they are running, then use the pool website for the rest of your needs.


---

### Answer by username_5 on 2015-03-22. Score: 1

Good Day,

Are you solo mining or pool mining?

If you are solo mining.... You will need to have about **1000 Th/s of ASIC Cheddar** to Mine Solo. So, that is striked.

If you have that kind of cheddar of a 1000 ASICS, it will take **about a day** for it to come in your account with a couple of confirmations....

To know if you are solo mining you will have a **--btc-address=** and this param should have your BTC Address... if you are solo mining.

If you are pool mining, your parameters will something like **-u somename.worker1 -p password** or **-u BTC\_ADDRESS -p x**

It is also **safe** to assume that you **haven't mined a solo block.** with a CPU or GPU

If you are pool mining (duh!), go to that pool's website and login to your account.

Hopefully, you created a worker or else there is a chance that you have mined to donation.... and you didn't make a dime..... If you did, your Username should be your Worker ID `e.g. username.worker1` and Pass to whatever you set...

Then wait for the round of cash complete (Seriously Wait..)..... for hours...

Then go and withdraw your BTC from the pool to your wallet address and enjoy this tiny (I guess...) wealth.

If you are using **Eligius or a Non-Registratable P2P Pool** then your Username **Should** be your BitCoin Address and Your Password Being `x` or `123`.

Same applies here, if you don't put a Version 0 Address, (i.e. An Address starting with `1`) or put some other rubbish other than **YOUR** address, it goes for donations....

Your worker password cannot be used for accessing your bits.

**Also that blk(whatever...).dat is the records of other cash, that is the BlockChain!**

> **Comments:**
> **username_0**: Thank's for your answer... Surely i use two asics miners in usb connect, the last version of cgminer can use asics in usb... I'm not liying, i have all the time, some share accpeted and sometimes i have new block detected. I've found on the net, that the lastest version of bitcoin-qt doesn't mining??? really??? I use a pool, which i can solo mining by user=adress wallet and pass=wathyouwant When i write getblocktemplate i have a list of block transaction and shares and fees...  
> **username_0**: When i submit a block with submitblock =>block decode failed.  Thank's for your answer, but the mining pool that i use, can solo and there is develloped for low power mining....  I can't understand why?  I understood that blk00000.dat is the blockchain. First block that creator have been created in a first time.  

---

