Author

Topic: Clarification on a block protocol rule (Read 995 times)

newbie
Activity: 37
Merit: 0
December 11, 2011, 08:18:13 PM
#6
Ok great, thanks for the feedback guys!
staff
Activity: 4284
Merit: 8808
December 10, 2011, 09:15:27 PM
#5
Also, this block looks like it has a really long coinbase field (130 characters).  How was it allowed?
http://blockexplorer.com/rawblock/00000000000009e6e9b08e2ced87f48e08654d03bbd0027ef0f5d1da803522a3

That block has merged mining, and it's also signaling support for OP_EVAL. It's an eligius block.


administrator
Activity: 5222
Merit: 13032
December 10, 2011, 09:01:15 PM
#4
Is this just to prevent too much data from being stuffed in there?

Yes.

Quote
Also, this block looks like it has a really long coinbase field (130 characters).  How was it allowed?

The restriction is 100 bytes. That's 65 bytes.
newbie
Activity: 37
Merit: 0
December 10, 2011, 08:58:35 PM
#3
Thanks theymos!  I thought that might be it.

As a follow up, on https://en.bitcoin.it/wiki/Transactions#Generation it says:

"The data in "coinbase" can be anything; it isn't used"  So why the check for between 2 and 100 characters?  Is this just to prevent too much data from being stuffed in there?  Just trying to understand the reason behind it.

Also, this block looks like it has a really long coinbase field (130 characters).  How was it allowed?
http://blockexplorer.com/rawblock/00000000000009e6e9b08e2ced87f48e08654d03bbd0027ef0f5d1da803522a3

Thanks I really appreciate the help!
administrator
Activity: 5222
Merit: 13032
December 10, 2011, 07:46:54 PM
#2
The coinbase field is the scriptSig field.
newbie
Activity: 37
Merit: 0
December 10, 2011, 06:52:18 PM
#1
On the protocol rules here https://en.bitcoin.it/wiki/Protocol_rules#.22block.22_messages

it states: "8. For the coinbase (first) transaction, scriptSig length must be 2-100"

But it looks like the coinbase transaction doesn't have any scriptSig param at all, for example:
http://blockexplorer.com/rawblock/000000000000073ab0ea030440998db75d5c74393c6a0875a37fc4f00f1539e8

What am I missing?

Thanks!
Jump to: