Skip to content

Chapter 3 - Add link to PR that renames CChainState#45

Merged
willcl-ark merged 1 commit into
chaincodelabs:masterfrom
satsie:satsie-cchainstate-update
Oct 9, 2022
Merged

Chapter 3 - Add link to PR that renames CChainState#45
willcl-ark merged 1 commit into
chaincodelabs:masterfrom
satsie:satsie-cchainstate-update

Conversation

@satsie

@satsie satsie commented Oct 7, 2022

Copy link
Copy Markdown
Contributor

Chapter 3: The Multiple Chains section talks about the CChainState data structure, however it will be renamed to Chainstate in v24.0 per PR #24513.

I know this book explicitly states that it's written with v23.0 as a reference, but readers may be pointing to a more recent copy of the code, especially if they are periodically revisiting this book in between other activities like PR review. If they try to grep the code base for 'CChainState', they probably won't find anything. Maybe release notes if they are lucky?

The PR also has a delightful description and reviewing it is probably a good exercise for beginners in understanding the implications of a large renaming PR like this.

I understand it is simpler to leave this out, but I think there is a case to be made for mentioning the rename!

@willcl-ark

Copy link
Copy Markdown
Collaborator

Also happy to add this, although it is alluded to in the General Design Principles tip box ;)

@willcl-ark willcl-ark merged commit 080c028 into chaincodelabs:master Oct 9, 2022
@satsie

satsie commented Oct 10, 2022

Copy link
Copy Markdown
Contributor Author

Omg I totally forgot about this! Good point 👍

@satsie satsie deleted the satsie-cchainstate-update branch October 10, 2022 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants