BobbinHash

@Serializable
value class BobbinHash(val value: String)

The content address of a bobbin — a warp kernel stored in the local Creel.

The value is the lowercase hex representation of the SHA-256 hash of the kernel bytes. Content-addressing makes the key a deterministic function of the value: BobbinHash = hash(bytes). Two peers that hold the same BobbinHash are guaranteed to hold byte-identical bytes — there is no merge conflict, only the one-step value lattice Absent ⊏ Present.

The string form is 64 lowercase hexadecimal characters (256 bits / 4 bits per char). It is stable across all KMP targets and safe to embed in us.tractat.kuilt.warp.OpId values.

See also

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard