mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-09 23:25:16 -08:00
Fix max_element_count for signature inputs (#123)
This commit is contained in:
committed by
Lee *!* Clagett
parent
474fc55d69
commit
dca70598cb
@@ -163,9 +163,9 @@ namespace rct
|
|||||||
using rf_min_size = wire::min_element_sizeof<key64, key64, key64, key>;
|
using rf_min_size = wire::min_element_sizeof<key64, key64, key64, key>;
|
||||||
using bf_max = wire::max_element_count<BULLETPROOF_MAX_OUTPUTS>;
|
using bf_max = wire::max_element_count<BULLETPROOF_MAX_OUTPUTS>;
|
||||||
using bf_plus_max = wire::max_element_count<BULLETPROOF_PLUS_MAX_OUTPUTS>;
|
using bf_plus_max = wire::max_element_count<BULLETPROOF_PLUS_MAX_OUTPUTS>;
|
||||||
using mlsags_max = wire::max_element_count<256>;
|
using mlsags_max = max_inputs_per_tx;
|
||||||
using clsags_max = wire::max_element_count<256>;
|
using clsags_max = max_inputs_per_tx;
|
||||||
using pseudo_outs_max = wire::max_element_count<256>;
|
using pseudo_outs_min_size = wire::min_element_sizeof<key>;
|
||||||
|
|
||||||
wire::object(source,
|
wire::object(source,
|
||||||
wire::field("range_proofs", wire::array<rf_min_size>(std::ref(self.prunable.rangeSigs))),
|
wire::field("range_proofs", wire::array<rf_min_size>(std::ref(self.prunable.rangeSigs))),
|
||||||
@@ -173,7 +173,7 @@ namespace rct
|
|||||||
wire::field("bulletproofs_plus", wire::array<bf_plus_max>(std::ref(self.prunable.bulletproofs_plus))),
|
wire::field("bulletproofs_plus", wire::array<bf_plus_max>(std::ref(self.prunable.bulletproofs_plus))),
|
||||||
wire::field("mlsags", wire::array<mlsags_max>(std::ref(self.prunable.MGs))),
|
wire::field("mlsags", wire::array<mlsags_max>(std::ref(self.prunable.MGs))),
|
||||||
wire::field("clsags", wire::array<clsags_max>(std::ref(self.prunable.CLSAGs))),
|
wire::field("clsags", wire::array<clsags_max>(std::ref(self.prunable.CLSAGs))),
|
||||||
wire::field("pseudo_outs", wire::array<pseudo_outs_max>(std::ref(self.pseudo_outs)))
|
wire::field("pseudo_outs", wire::array<pseudo_outs_min_size>(std::ref(self.pseudo_outs)))
|
||||||
);
|
);
|
||||||
|
|
||||||
const bool pruned =
|
const bool pruned =
|
||||||
|
|||||||
Reference in New Issue
Block a user