Rename user-visible consensus term wording to view#7993
Open
Copilot wants to merge 5 commits into
Open
Conversation
Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Rename remaining occurrences of term in the code
Rename user-visible consensus term wording to view
Jun 27, 2026
Member
|
@copilot are there public APIs that expose the word "term"? |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates user-facing documentation and schema descriptions to consistently use “view” (CCF’s public term for the consensus epoch in TxIDs) instead of “term”, without changing API shapes or wire formats.
Changes:
- Removed the
View/Termsynonym note from the publicTxIDheader comment. - Updated governance OpenAPI/JSON schema descriptions for transaction IDs and invalid transaction status to say “view”.
- Updated the consensus architecture documentation (including PreVote text and diagrams) to use “view” terminology.
Custom instructions used:
.github/copilot-instructions.md.github/instructions/reviewing.instructions.md
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| include/ccf/tx_id.h | Removes the user-facing “View/Term are synonymous” note from the TxID documentation. |
| doc/schemas/gov/2024-07-01/gov.json | Updates schema descriptions to refer to TxID “view” rather than “term”. |
| doc/schemas/gov/2023-06-01-preview/gov.json | Same schema description updates for the preview version. |
| doc/architecture/consensus/index.rst | Updates consensus/PreVote documentation wording and diagrams to use “view”. |
Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CCF uses “view” as the public name for the consensus epoch in transaction IDs, but a few user-facing descriptions still referred to this as “term”. This cleans up those remaining references without changing any API shape or wire format.
Public API docs
View/Termsynonym note from the publicTxIDheader comment.REST/OpenAPI schemas
Architecture docs