Bitcoin Forum
May 09, 2024, 01:59:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Clarification on a block protocol rule  (Read 972 times)
bitcoinandroid (OP)
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
December 10, 2011, 11: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!
1715219948
Hero Member
*
Offline Offline

Posts: 1715219948

View Profile Personal Message (Offline)

Ignore
1715219948
Reply with quote  #2

1715219948
Report to moderator
1715219948
Hero Member
*
Offline Offline

Posts: 1715219948

View Profile Personal Message (Offline)

Ignore
1715219948
Reply with quote  #2

1715219948
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715219948
Hero Member
*
Offline Offline

Posts: 1715219948

View Profile Personal Message (Offline)

Ignore
1715219948
Reply with quote  #2

1715219948
Report to moderator
1715219948
Hero Member
*
Offline Offline

Posts: 1715219948

View Profile Personal Message (Offline)

Ignore
1715219948
Reply with quote  #2

1715219948
Report to moderator
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12976


View Profile
December 11, 2011, 12:46:54 AM
 #2

The coinbase field is the scriptSig field.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
bitcoinandroid (OP)
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
December 11, 2011, 01:58:35 AM
 #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!
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12976


View Profile
December 11, 2011, 02:01:15 AM
 #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.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8418



View Profile WWW
December 11, 2011, 02:15:27 AM
 #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.


bitcoinandroid (OP)
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
December 12, 2011, 01:18:13 AM
 #6

Ok great, thanks for the feedback guys!
Pages: [1]
  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!