Skip to main content

This document has been abridged. The original, complete version can be found on GitHub.

Generator Identity Hard Fork: Analysis

This is an analysis of the Generator Identity Hard Fork, which transitions generator identity and cost calculation from serialization-based to content-addressable methods.

Overview

The Generator Identity Hard Fork makes two fundamental changes:

AspectBeforeAfter
IdentitySHA256(serialized_bytes)SHA256_tree_hash(tree)
Cost basisSerialized lengthInterned tree structure

This decouples consensus from serialization format, enabling future compression improvements without hard forks.

Documentation

DocumentDescription
Technical SpecificationComplete design: problem statement, cost formula derivation, DoS analysis, implementation details
GistGitHub Gist describing the proposal
GitHub repositoryContains the complete analysis and implementation

Implementation PRs

PRRepositoryBranchDescription
#1clvm_rsgenerator-identity-hfCore interning infrastructure
#2chia_rsgenerator-identity-hfChia-specific cost calculation
#3clvm_rsserde_2026New serialization format (future work)

PR #2 depends on PR #1. PR #3 is independent.