issues
search
JopSchaap
/
trustchain-superapp
Kotlin implementation of Trustchain and IPv8 with rich networking: multihoming of local Bluetooth+4G, decentral social networking, UDP hole punching, etc.
GNU General Public License v3.0
0
stars
0
forks
source link
30 signature verification of votes
#35
Closed
JopSchaap
closed
8 months ago
JopSchaap
commented
8 months ago
Closes #30
Since this code is based on the other branch
adds
The votes should now come included with a signature, that is verified on adding it.
If an invalid vote is received it should right now be discarded.
To do this I had to create a wrapper class to prevent the signature itself to be included in the signature
Notes
We might have to think about if we want the member-id to be the qualifier in the FOCVote class or that we want the public key of the voter to be this.
Public key might be better in this case but I am not sure
Closes #30
Since this code is based on the other branch
adds
Notes