Consolidate and cleanup tx aggregation (#1332)
* Include commitments non-duplicate checks in aggregate * Remove said check from the pool * Block building now uses tx aggregation to reduce duplication
This commit is contained in:
@@ -104,7 +104,7 @@ where
|
||||
stem_txs.len()
|
||||
);
|
||||
|
||||
let agg_tx = transaction::aggregate(stem_txs)?;
|
||||
let agg_tx = transaction::aggregate(stem_txs, None)?;
|
||||
|
||||
let res = tx_pool.adapter.stem_tx_accepted(&agg_tx);
|
||||
if res.is_err() {
|
||||
@@ -144,7 +144,7 @@ where
|
||||
stem_txs.len()
|
||||
);
|
||||
|
||||
let agg_tx = transaction::aggregate(stem_txs)?;
|
||||
let agg_tx = transaction::aggregate(stem_txs, None)?;
|
||||
|
||||
let src = TxSource {
|
||||
debug_name: "fluff".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user