Skip to content

Conversation

@peterjosling
Copy link
Contributor

The docs talk about bits 2 and 4 instead of 2 and 3, and bits are being indexed from both 1 (describing nCode) and 0 (in second example). Changed to use zero-indexing for all.

The docs talk about bits 2 and 4 instead of 2 and 3, and bits are being
indexed from both 1 (describing nCode) and 0 (in second example).
Changed to use zero-indexing for all.
@sipa
Copy link
Member

sipa commented Nov 4, 2015 via email

@peterjosling
Copy link
Contributor Author

Ah, that makes sense. I thought I must be missing something. It still doesn't seem very clear to me though - the second example describes "bits 2 (0x04) and 14 (0x4000)".

@sipa
Copy link
Member

sipa commented Nov 4, 2015 via email

@laanwj
Copy link
Member

laanwj commented Nov 4, 2015

I also got confused by the bit notation but the text is correct (clarification would be welcome, absolutely).

@laanwj laanwj added the Docs label Nov 11, 2015
@sipa sipa merged commit e482a7f into bitcoin:master Nov 28, 2015
sipa added a commit that referenced this pull request Nov 28, 2015
e482a7f Fix CCoins serialization documentation (Peter Josling)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants