mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
Merge pull request #5111
6a3608d3
cryptonote_protocol_handler: pad tx messages when using tor/i2p (moneromooo-monero)
This commit is contained in:
commit
372c0da086
1 changed files with 1 additions and 1 deletions
|
@ -2112,7 +2112,7 @@ skip:
|
||||||
MDEBUG("Attempting to conceal origin of tx via anonymity network connection(s)");
|
MDEBUG("Attempting to conceal origin of tx via anonymity network connection(s)");
|
||||||
|
|
||||||
// no check for success, so tell core they're relayed unconditionally
|
// no check for success, so tell core they're relayed unconditionally
|
||||||
const bool pad_transactions = m_core.pad_transactions();
|
const bool pad_transactions = m_core.pad_transactions() || hide_tx_broadcast;
|
||||||
size_t bytes = pad_transactions ? 9 /* header */ + 4 /* 1 + 'txs' */ + tools::get_varint_data(arg.txs.size()).size() : 0;
|
size_t bytes = pad_transactions ? 9 /* header */ + 4 /* 1 + 'txs' */ + tools::get_varint_data(arg.txs.size()).size() : 0;
|
||||||
for(auto tx_blob_it = arg.txs.begin(); tx_blob_it!=arg.txs.end(); ++tx_blob_it)
|
for(auto tx_blob_it = arg.txs.begin(); tx_blob_it!=arg.txs.end(); ++tx_blob_it)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue