I see the wiki page Script, and the page on Contracts makes some remarks on things like signature numbers and SIGHASH flags, but it seems incomplete and not very friendly to someone not familiar with the protocol. Is there an official specification of the transaction protocol other than the wiki pages? Or do I have to read the source code?

  • 1
    Is there an update to this question, or has there been any movement within the community to draft a network specification for Bitcoin? I think this is quite necessary.
    – RLH
    Jan 8, 2013 at 18:36

1 Answer 1


Or do I have to read the source code?

This is the only "official specification". The wiki pages have a lot of good info, but they sometimes contain inaccuracies or important omissions.

There's some info about the SIGHASH flags here:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.