-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
address view does not show unconfirmed transactions #277
Comments
Some sleuthing guidance for this one:
dcrdata/explorer/explorerroutes.go Lines 353 to 358 in e22ff16
Thus we are able to see unconfirmed transactions sometimes.
dcrdata/explorer/explorerroutes.go Line 441 in e22ff16
They are just left in a the var uctxn and ignored. The fix is to merge these into the addrData.Transactions list, and likely re-slice that list to adhere to the start/limit inputs. This is my theory as I haven't noticed an unconfirmed transaction go through that has previous history in it to verify and my testnet is not up right now. If this is not urgent then due to the rework happening on addresses table this should likely be fixed after we sort out the disposition of #427 by either @dmigwi or I. If urgent I can put a PR in for it based on existing architecture. |
Yes, this is absolutely right. I had started a branch fixing these issues, but never finished up. https://github.com/chappjc/dcrdata/commits/addr-page-fixes I must have stashed teh changes related to the above issues though. |
Please feel free to pick this up of course. But do not wait on PR #427 . It's big and breaking, so we're not going to rush it through. Although it's getting closer. |
Since the unconfirmed transactions are already available in the frontend and the only problem is when they are displayed why not add a link to the UNCONFIRMED metric value such that when the link is clicked the unconfirmed txs appear. I suggest we add the link to the box in red. Whats your take on this @papacarp? |
Correction: I meant do not wait on *PR #427 * |
I would do it the way @papacarp suggested, "merge these into the addrData.Transactions list, and likely re-slice that list to adhere to the start/limit inputs." That way the information is inline and does not require additional user interaction to access. |
I agree with @raedah |
Ok. I will put in a PR for it. |
No description provided.
The text was updated successfully, but these errors were encountered: