{"id":"XE-0046","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"65","source_url":"https://github.com/xeprotocol/xe/issues/65","reporter_id":19,"title":"Excessive Pending Transactions On XE Testnet","area":"ops-testnet","claimed_tier":null,"assessed_tier":null,"verdict":"invalid","duplicate_of":null,"tracked":true,"internal_ref":"#1235","internal_url":"https://github.com/xeprotocol/core/issues/1235","status":"closed","closed_reason":"invalid","github_state":"closed","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-10-29T13:57:19.659606+00:00","updated_at":"2026-11-18T08:39:45.665295+00:00","source_created_at":"2026-10-26T11:03:46+00:00","told_at":"2026-11-08T08:45:40+00:00","status_changed_at":"2026-10-29T14:22:11.197320+00:00","url":"https://bounty.xe.network/XE-0046","body":"\n\nDear XE Team,\n\nWhile testing the XE Testnet Explorer, I noticed that the Pending page displays 11,467 pending receives. I also observed entries that appear to be several days or even weeks old.\n\nThis raises concerns about how pending transactions are being processed, tracked, and cleared from the network.\n\n1. Old Pending Transactions\n\nI noticed that some pending receives remain listed for several days without an obvious indication of their current processing status. I believe the team should investigate why these transactions remain pending and whether they are waiting for valid incoming blocks, stuck due to processing failures, or no longer eligible for completion.\n\n2. Risk of Duplicate Processing\n\nI am concerned about what happens when a transaction remains pending and the sender or receiver attempts to process it again. The system should ensure that the same transaction cannot be credited more than once, even when users retry requests or nodes process events repeatedly.\n\n3. Potential Resource Exhaustion\n\nWith 11,467 pending receives displayed, I believe it is important to verify whether the network has adequate limits on pending records. If an attacker can generate large numbers of requests that remain pending indefinitely, this could consume storage and processing resources and potentially affect network performance.\n\n4. Unclear Transaction Status\n\nFrom the Explorer, I cannot easily determine why these transactions remain pending or whether they are still expected to complete. I recommend providing clear transaction states and failure reasons where appropriate, so users and developers can distinguish between transactions awaiting processing, failed transactions, and transactions that have been resolved.\n\n5. Required Investigation and Correction\n\nI recommend that the team investigate the pending-transaction lifecycle, implement safe cleanup or expiry rules where appropriate, enforce duplicate-processing protection, and introduce limits against pending-state abuse. Any cleanup mechanism must preserve valid transactions and must not discard legitimate transfers simply because they are old.\n\nI believe this issue should be addressed before public use because users need reliable transaction processing and accurate status information. An unresolved pending-transaction backlog could cause confusion, consume network resources, and potentially expose weaknesses in transaction handling if the underlying controls are insufficient.\n\nPlease investigate the cause of the 11,467 pending receives, verify that balances remain consistent, and confirm that pending transactions cannot be duplicated or abused to degrade network performance.\n\nMy XE Payout Adress - 040d2665b6244d198f3c6c1f44ede6c9b9a546afc73dc33387a10ec09751e4a8","patch_refs":[],"thread":[{"id":787,"source":"github","source_ref":"6719426351","author":"Joseph Denne","team":true,"body":"Read, thank you. Pending receives are how the block lattice works: a send creates a pending entry that stays until the receiving account publishes its receive block, which can be never if that account is idle. Old entries on the Pending page are therefore expected and are not stuck transactions; a pending send is settled by exactly one receive block. We agree the explorer should explain this on the page itself, and that has been noted. Closing as not a bug.","created_at":"2026-11-08T08:45:40+00:00"}]}