Closed picatextra closed 4 years ago
Hi @picatextra Yes I can confirm that if it fails to find a block verifier in the loop, it will stop the whole registration process etc
This behavior has been changed in this commit
So according to the Bug Bounty official documentation this bug qualifies for a award between $5.00 and 25.00 USD
We have calculated the final amount in USD based on the following criteria
Question | Answer |
---|---|
How long I have spent on the bug | N/A |
How often does the bug occur | If a block verifier is offline |
Was there any modification to the code to create the bug | NO |
Did the user provide a full code fix | NO |
Did the bug have to do with multi-threading | NO |
Could the tester use a debugger, static analysis or both | both |
Are we currently in Alpha, Beta or Live implementation of DPOPS | ALPHA |
Thank you for helping out the DPOPS by finding this bug.
XCA1ka4bXH1bnvdT8vti1S12PfyH8fJ5XDUXyNRusyMRTBfFCawywJyCV5vvG38h71GAv77WotbmwbmbJen5bQpC7GeVx8gSws
Date: 2019-10-21 Amount (USD): $10 Amount (XCASH): 311089.83 XCASH Spot Price: 0.0000321450563020242 USD/XCASH XCASH Address: XCA1ka4bXH1bnvdT8vti1S12PfyH8fJ5XDUXyNRusyMRTBfFCawywJyCV5vvG38h71GAv77WotbmwbmbJen5bQpC7GeVx8gSws Tx Hash: 1b19ff8baacbb7dd72c2b46a7d5b410caf9063b2a3e8bb68652d265a9d00a02d Link: https://explorer.x-cash.org/Transaction?data=1b19ff8baacbb7dd72c2b46a7d5b410caf9063b2a3e8bb68652d265a9d00a02d "Bounty Paid ✅
In delegate functions ,there is a loop that is used to send a request to a random network data node to retrieve the list of current block verifiers The send_and_receive_data throws an exception if the node is offline (or any error).
Result of this bug the following functions will fail at first call of send_and_receive_data if the node is offline.
Steps to reproduce
In /src/common/send_and_receive_data.cpp
add a trace :
Result when calling vote :
Only one node call and the vote failed Others node are not called