This commit is contained in:
Anatoly Yakovenko 2018-04-23 23:33:21 -07:00
parent 3d7969d8a2
commit 55b8d0db4d
1 changed files with 0 additions and 7 deletions

View File

@ -55,10 +55,6 @@ impl ReplicatedData {
last_verified_count: 0,
}
}
fn verify_sig(&self) -> bool {
//TODO implement this
true
}
}
/// `Crdt` structure keeps a table of `ReplicatedData` structs
@ -183,9 +179,6 @@ impl Crdt {
// TODO we need to punish/spam resist here
// sig verify the whole update and slash anyone who sends a bad update
for v in data {
if !v.verify_sig() {
continue;
}
// TODO probably an error or attack
if v.id == self.me {
continue;