aboutsummaryrefslogtreecommitdiff
path: root/MiddlePanel.qml
diff options
context:
space:
mode:
authorreemuru <rimuru@hiahatf.org>2022-01-18 16:10:56 -0500
committerreemuru <rimuru@hiahatf.org>2022-01-20 20:21:11 -0500
commit0f67580e8fc1d98a67298ecc1d70ef926521657a (patch)
tree713879567b1f4be71318b66ab66c557dd25680b5 /MiddlePanel.qml
parenta959919b8ad798d1384f83c5bf3ed7a2d16dc8aa (diff)
downloadmonzero-gui-0f67580e8fc1d98a67298ecc1d70ef926521657a.tar.gz
monzero-gui-0f67580e8fc1d98a67298ecc1d70ef926521657a.tar.xz
monzero-gui-0f67580e8fc1d98a67298ecc1d70ef926521657a.zip
Advanced: ReserveProof: Add support for reserve proof
This change adds the ability to prove and check a reserve proof to this existing "Prove/check" advanced menu. If the amount line has a valid amount less than that of the current account index this input will drive the logic for generating a reserve proof. Checking a reserve proof is accomplished by validating the address and verifying that signature.indexOf("ReserveProofV") === 0. The result displays the total and spent amount of the proof.
Diffstat (limited to 'MiddlePanel.qml')
-rw-r--r--MiddlePanel.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index 544f0244..b6e29994 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -66,7 +66,7 @@ Rectangle {
signal paymentClicked(var recipients, string paymentId, int mixinCount, int priority, string description)
signal sweepUnmixableClicked()
signal generatePaymentIdInvoked()
- signal getProofClicked(string txid, string address, string message);
+ signal getProofClicked(string txid, string address, string message, string amount);
signal checkProofClicked(string txid, string address, string message, string signature);
Rectangle {