mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Remove useless mapRequest tracking that just effects Qt display.
I thought we had removed this a long time ago, TBH, its really confusing feedback to users that we display whether a tx was broadcast to immediate neighbor nodes, given that has little indication of whether the tx propagated very far.
This commit is contained in:
@@ -195,10 +195,6 @@ void TransactionRecord::updateStatus(const interfaces::WalletTxStatus& wtx, int
|
||||
if (wtx.is_in_main_chain)
|
||||
{
|
||||
status.matures_in = wtx.blocks_to_maturity;
|
||||
|
||||
// Check if the block was requested by anyone
|
||||
if (adjustedTime - wtx.time_received > 2 * 60 && wtx.request_count == 0)
|
||||
status.status = TransactionStatus::MaturesWarning;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -216,10 +212,6 @@ void TransactionRecord::updateStatus(const interfaces::WalletTxStatus& wtx, int
|
||||
{
|
||||
status.status = TransactionStatus::Conflicted;
|
||||
}
|
||||
else if (adjustedTime - wtx.time_received > 2 * 60 && wtx.request_count == 0)
|
||||
{
|
||||
status.status = TransactionStatus::Offline;
|
||||
}
|
||||
else if (status.depth == 0)
|
||||
{
|
||||
status.status = TransactionStatus::Unconfirmed;
|
||||
|
||||
Reference in New Issue
Block a user