greensheep
New member
I do not fully understand how the masternode quorums are chosen. The DashPay paper contains a reference to http://www.dashpay.io/whitepaper.pdf which does not exist. Has this been a doc with additional information about this technology? Still available somewhere?
Summarizing from the evolution paper:
- selection of quorum group is deterministic based on a proof-of-work hash
- the chosen MNs process the DAPI request in parallel
- each MN signs the response which is then forwarded to the original requester (end user)
- the result of all MNs must be the same for the request to succeed
For the following I assume a website that offers payment using DASH DAPI and a user that wants to do a payment on this website using the browser on his desktop.
Questions:
1. Which proof-of-work hash is used as seed to determine the quorum group for a DAPI request?
2. How does the end user (the browser) verify that the quorum was chosen correctly? As far as I see this would at least require a) access to Quorum Chain and b) a way to verify that this Quorum Chain is correct and current. I do not see how a stateless client as a browser can have this.
3. How can the end user be sure that website does not steal his password? Assuming the DAPI runs using JS in the browser doing all the encryption/decryption there, how can the user be sure this is the correct DAPI code running?
4. The DAPI doc says "End-User Opens https://dapi.dash.org which connects to a random masternode". Does this mean https://dapi.dash.org is a website run by Dash Foundation or is dapi.dash.org just a RR DNS to all masternodes? If the second, it cannot use https as this would require the MN to have a certificate. Should this be http?
Summarizing from the evolution paper:
- selection of quorum group is deterministic based on a proof-of-work hash
- the chosen MNs process the DAPI request in parallel
- each MN signs the response which is then forwarded to the original requester (end user)
- the result of all MNs must be the same for the request to succeed
For the following I assume a website that offers payment using DASH DAPI and a user that wants to do a payment on this website using the browser on his desktop.
Questions:
1. Which proof-of-work hash is used as seed to determine the quorum group for a DAPI request?
2. How does the end user (the browser) verify that the quorum was chosen correctly? As far as I see this would at least require a) access to Quorum Chain and b) a way to verify that this Quorum Chain is correct and current. I do not see how a stateless client as a browser can have this.
3. How can the end user be sure that website does not steal his password? Assuming the DAPI runs using JS in the browser doing all the encryption/decryption there, how can the user be sure this is the correct DAPI code running?
4. The DAPI doc says "End-User Opens https://dapi.dash.org which connects to a random masternode". Does this mean https://dapi.dash.org is a website run by Dash Foundation or is dapi.dash.org just a RR DNS to all masternodes? If the second, it cannot use https as this would require the MN to have a certificate. Should this be http?