reed-solomon
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "reed-solomon", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Reed-Solomon erasure coding in pure Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -98,6 +98,9 @@ # reed-solomon | ||
// Specify the number of data shards (<=31): | ||
// Specify the number of data shards (<=30): | ||
var dataShards = 6; | ||
// Specify the number of parity shards (<=31): | ||
// Specify the number of parity shards (<=30): | ||
var parityShards = 3; // Protect against loss of any 3 data or parity shards. | ||
// The total number of shards must be at most 31: | ||
var totalShards = dataShards + parityShards; | ||
@@ -104,0 +107,0 @@ |
82122
206