No Branch/Tag Specified
chat
custom_themes
danger
dev
duke
importviewkey
master
no_mining_until_synced
old_duke
onryo
recurring
0.4.0
0.4.1
0.4.2
0.4.3
0.5.0
0.5.1
0.5.10
0.5.11
0.5.3
0.5.4
0.5.5
0.6.0
0.6.1
0.6.10
0.6.11
0.6.2
0.6.3
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.9
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.7.6
0.7.7
0.7.9
1.4.2
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.9
v0.3.0
v0.3.1
v0.3.2
v0.5.2
v0.5.6
v0.5.7
v0.5.8
v0.5.9
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.9.0
v0.9.1
v0.9.2
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.4.2
Labels
bounty up to 500 HUSH 2001-5000 bounty
bounty between 2001 and 5000 HUSH 501-2000 bounty
bounty between 501 and 2000 HUSH arm
something doesn't work on arm beginners
for new developers bug
may or may not be a bug build
problems building documentation
not enough information feature
new feature high priority
high priority i2p
related to i2p low priority
low priority medium priority
medium priority question
something is not clear release
release label or issue related to it tor
related to tor translation
translation update windows
related to windows wontfix
this won't be fixed
Apply labels
Clear labels
0-500 bounty
bounty up to 500 HUSH 2001-5000 bounty
bounty between 2001 and 5000 HUSH 501-2000 bounty
bounty between 501 and 2000 HUSH arm
something doesn't work on arm beginners
for new developers bug
may or may not be a bug build
problems building documentation
not enough information feature
new feature high priority
high priority i2p
related to i2p low priority
low priority medium priority
medium priority question
something is not clear release
release label or issue related to it tor
related to tor translation
translation update windows
related to windows wontfix
this won't be fixed
No Label
0-500 bounty
2001-5000 bounty
501-2000 bounty
arm
beginners
bug
build
documentation
feature
high priority
i2p
low priority
medium priority
question
release
tor
translation
windows
wontfix
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
This issue currently doesn't have any dependencies.
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Users should be able to look up something like the block page of an explorer https://explorer.hush.is/block/1133177/ directly in their SD GUI.
This means that users can verify an explorer is correct and matches their node, and look at very old block height info that our explorers currently do not render.
What should the GUI of this look like? Perhaps it's an "application" (there is only validate address there now) where you put in a block height and then a modal popup is shown with the details. Also a user could right click on a tx and there could be an option "view details about block containing this tx"
I have an initial commit for this in
dev
branch. It's under apps with validate address for now. Uses the same model and might make sense to rename or create separate model.Code also needs to be modified to handle numeric values correctly. Currently only display a string or true/false for anything that's not a string.
@fekt I really like this and think it's very important for reducing metadata leakage of users. Instead of going to an explorer and leaking all kinds of metadata, users can verify details via their own node.
I also think it would be very useful to be able to right click on a transaction and there be an option "View block containing this transaction"
@fekt looks like you forgot to add
src/getblock.ui
:I'll check in a few and commit it.
Should be there now. Code still needs tweaks for some of the values.
@fekt ok, I can confirm basic functionality. In addition to rendering integer values correctly, it would be nice to see some other values, such as the number of transactions in the block and the address of the block miner.
One weird thing I noticed, which may be inherited from the code that "Validate Address" uses is that on a slow wallet, when the transactions tab is still waiting for RPC data, if you do "View Block" nothing appears to happen. It lets you submit multiple "View Block" requests, and then when the transaction tab is done loading, all the "View Block" modals will popup up at once. This also seems to happen when not loading the transactions tab, it takes multiple minutes or more for "View Block" modal to popup.
Another weirdness is that the View Block modal can be resized but if you attempt to drag it around, the entire SD window moves with it (on Linux).
Sounds funky. The requests seemed to load quick on my end but the wallet I was using is pretty fresh. Might be some other background RPC calls blocking requests.
I really only added the RPC call and used the same stuff from "Validate Address". I've seen that dragging window issue on Linux with other modals like the memo, but it doesn't seem to happen on Windows. Might be a QT thing. Will take a look when I can.
One other funky thing I noticed is that it's possible to input garbage data for the block height. We should only allow block height to be an integer value.
I fixed the code to render integer values correctly
I changed the dialog to use getInt. I couldn't reproduce resizing the modal and then it dragging entire window around on Debian Bullseye. Only the modal moved, but I've definitely seen it before with other modals. Maybe on Ubuntu (didn't test there yet). I tried with the main app Window minimized and maximized and not sure how to reproduce.
@fekt sweet, I will test the new code soon. I am not too worried about the GUI modal dragging bug, I just wanted to document it. It's probably specific to OS and QT version.
Other things to think about are the
tx
andvaluePools
fields.tx
is an array which often just has one or a few elements but it could have potentially hundreds, so I am not sure the best way to render it. If we do render txids, I think it would be really nice to be able to right click on them and have an option to either copy them to the clipboard or view them on an explorer.For
valuePools
we can ignore the "sprout" keys (I am just going to remove them from hushd, it's useless data that will always be zero) and then we can render the current size of the sapling pool there, if we want.sprout key has been removed from
valuePools
in dev branchcalling this done, although there are some bugs and improvements needed. Will make issues directly for those