MoneroBpPlusProof class

A Monero Bulletproofs+ proof (decoded form).

Wire blob layout (all integers little-endian):

m: u8 (1..=16) | V[m][32] | A A1 B R1 S1 D1 (6x32)
| n_lr: u8 (= 6 + log2(ceil_pow2(m))) | L[n_lr][32] | R[n_lr][32]

Constructors

MoneroBpPlusProof({required List<List<int>> v, required List<int> a, required List<int> a1, required List<int> b, required List<int> r1, required List<int> s1, required List<int> d1, required List<List<int>> l, required List<List<int>> r})
MoneroBpPlusProof.fromBlob(List<int> blob)
Decode one proof blob (validates structure only).
factory

Properties

a → BuBytes
Commitment to bit vectors.
final
a1 → BuBytes
Masked inner-product commitment.
final
b → BuBytes
Blinding commitment.
final
d1 → BuBytes
Response scalars.
final
hashCode → int
The hash code for this object.
no setterinherited
l → List<BuBytes>
Fold points (left, 6 + logM entries).
final
r → List<BuBytes>
Fold points (right, 6 + logM entries).
final
r1 → BuBytes
Response scalars.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
s1 → BuBytes
Response scalars.
final
v → List<BuBytes>
Commitments (1..16 points).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBlob() → BuBytes
Encode one proof blob.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

pack(List<MoneroBpPlusProof> proofs) → BuBytes
Encode a packed batch (n: u32 LE | len: u32 LE | blob * n).