There can only be unique sender in multisignature_transaction_type.UnsignedTransactionBytes in a block.
So we need to do extra filter in the SelectTransactionsFromMempool to take exclude any multisignature transaction, which has the UnsignedTransactionBytes portion, with the same Sender multisig_address.
Breakdown
modify SelectTransactionsFromMempool() with the following:
after selecting mempool transactions from database, filter the txType = Multisignature
for every Multisignature transaction that have UnsignedTransactionBytes look for transactions that have the same Sender (in the unsigned bytes)
for every duplicate choose one with (?) *
the excluded transaction will be included in the next block.
?: still looking for correct filter to prioritize the transaction
Description
There can only be unique
sender
in multisignature_transaction_type.UnsignedTransactionBytes in a block.So we need to do extra filter in the
SelectTransactionsFromMempool
to take exclude any multisignature transaction, which has theUnsignedTransactionBytes
portion, with the same Sender multisig_address.Breakdown
UnsignedTransactionBytes
look for transactions that have the same Sender (in the unsigned bytes)?: still looking for correct filter to prioritize the transaction