Bitcoin Forum
December 04, 2016, 02:34:00 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Clarification on a block protocol rule  (Read 767 times)
bitcoinandroid
Jr. Member
*
Offline Offline

Activity: 37


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!
1480862040
Hero Member
*
Offline Offline

Posts: 1480862040

View Profile Personal Message (Offline)

Ignore
1480862040
Reply with quote  #2

1480862040
Report to moderator
1480862040
Hero Member
*
Offline Offline

Posts: 1480862040

View Profile Personal Message (Offline)

Ignore
1480862040
Reply with quote  #2

1480862040
Report to moderator
1480862040
Hero Member
*
Offline Offline

Posts: 1480862040

View Profile Personal Message (Offline)

Ignore
1480862040
Reply with quote  #2

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

Posts: 1480862040

View Profile Personal Message (Offline)

Ignore
1480862040
Reply with quote  #2

1480862040
Report to moderator
1480862040
Hero Member
*
Offline Offline

Posts: 1480862040

View Profile Personal Message (Offline)

Ignore
1480862040
Reply with quote  #2

1480862040
Report to moderator
1480862040
Hero Member
*
Offline Offline

Posts: 1480862040

View Profile Personal Message (Offline)

Ignore
1480862040
Reply with quote  #2

1480862040
Report to moderator
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2492


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

The coinbase field is the scriptSig field.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
bitcoinandroid
Jr. Member
*
Offline Offline

Activity: 37


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
*
expert
Offline Offline

Activity: 2492


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
*
qt
Offline Offline

Activity: 2016



View Profile
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
Jr. Member
*
Offline Offline

Activity: 37


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

Ok great, thanks for the feedback guys!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!