golden

command
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Copyright (C) 2026, Lux Industries Inc. All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Eco

Reference-vector generator: builds X-Chain values with the GO implementation (github.com/luxfi/node/vms/xvm) and prints their canonical wire bytes as a C++ header. The C++ port's wire test asserts against these bytes verbatim, so the two implementations cannot drift without a test failing.

Run from the node checkout: GOWORK=off go run <this file> > golden.hpp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL