From 9d3350f996ddba2a8e4636dd3705d9bd1c7aa4fb Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 16:15:42 +0000 Subject: continuum-party: hashes named by their prefixes, the shortest marked MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The guides wrote `vote 8d02… yes`, and the client took a whole hash only. It takes a proposal's hash by a prefix of four digits or more that no other proposal on the current version starts with (`client::named`), and says which proposals a prefix names where it names several; a whole hash is itself, as before. Heads given to `fork` are named so too, among the heads the node shows. Four digits at least, so that a prefix read a moment ago doesn't come to name a proposal made since, as one or two soon would. Where it shows a proposal's hash (`proposals`, `propose`), the client marks the shortest prefix that names it, in bold, on a terminal unless NO_COLOR is set; elsewhere the hash is printed as it was. --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 37d1015..b0a6103 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ it from the release before ([`docs/operations.md`](docs/operations.md), ## Unreleased +* `continuum-party` takes a proposal's hash, or a head's ID, by a prefix of four digits or + more that names it alone, and marks the shortest such prefix in bold on a terminal + ([`docs/guides/federation/proposing-and-voting.md`](docs/guides/federation/proposing-and-voting.md), + [Voting](docs/guides/federation/proposing-and-voting.md#voting); + [`src/federation/client.rs`](src/federation/client.rs)). + * A node meeting a peer on another wire version names both versions in its warning, and which node to upgrade ([`docs/operations.md`](docs/operations.md), [Upgrading](docs/operations.md#upgrading); [`src/transport/wire.rs`](src/transport/wire.rs)). -- cgit v1.3.1