Skip to main content

Module quote

Module quote 

Source
Expand description

Payment quote generation for ant-node.

Generates PaymentQuote values that clients use to pay for data storage. Compatible with the Autonomi payment system.

NOTE: Quote generation requires integration with the node’s signing capabilities from saorsa-core. This module provides the interface and will be fully integrated when the node is initialized.

Structs§

QuoteGenerator
Quote generator for creating payment quotes.

Functions§

verify_merkle_candidate_signature
Verify a MerklePaymentCandidateNode signature using ML-DSA-65.
verify_quote_content
Verify a payment quote’s content address and ML-DSA-65 signature.
verify_quote_signature
Verify that a payment quote has a valid ML-DSA-65 signature.
wire_ml_dsa_signer
Wire ML-DSA-65 signing from a node identity into a QuoteGenerator.

Type Aliases§

SignFn
Signing function type that takes bytes and returns a signature.
XorName
Content address type (32-byte XorName).