mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
rm number of shards and threshold from shard messages
This commit is contained in:
@@ -9,13 +9,9 @@ import javax.annotation.concurrent.Immutable;
|
||||
public class Shard {
|
||||
|
||||
private final byte[] secretId, shard;
|
||||
private final int numShards, threshold;
|
||||
|
||||
public Shard(byte[] secretId, int numShards, int threshold,
|
||||
byte[] shard) {
|
||||
public Shard(byte[] secretId, byte[] shard) {
|
||||
this.secretId = secretId;
|
||||
this.numShards = numShards;
|
||||
this.threshold = threshold;
|
||||
this.shard = shard;
|
||||
}
|
||||
|
||||
@@ -23,14 +19,6 @@ public class Shard {
|
||||
return secretId;
|
||||
}
|
||||
|
||||
public int getNumShards() {
|
||||
return numShards;
|
||||
}
|
||||
|
||||
public int getThreshold() {
|
||||
return threshold;
|
||||
}
|
||||
|
||||
public byte[] getShard() {
|
||||
return shard;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user