montana/Montana-Protocol/Code/crates/mt-conformance/src/lib.rs

16 lines
612 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// mt-conformance — публичный набор binding test vectors из Montana spec
// для cross-implementation verification. M9 milestone deliverable.
//
// Использование из второй реализации:
//
// let v = vectors::envelope_a1();
// let actual = your_implementation::encode(&v.input);
// assert_eq!(actual, v.expected_bytes, "Vector A1 byte mismatch");
//
// Все векторы извлечены из spec разделов A (envelope), B (IBT), C (per-msg),
// D (MeshFrame), E (SF envelope), F (Bootstrap PoW target).
pub mod vectors;
pub use vectors::*;