aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2018-02-20 10:37:44 -0600
committerPaul Frazee <pfrazee@gmail.com>2018-02-20 10:37:44 -0600
commitd989bbf764ec05cc454f522d97cd0bff643cda55 (patch)
tree56c77b11f2e9a275138248a73d0a88474ec40699
parent4799a5ab2d87c67ef41f71960637cdf57646fc2c (diff)
downloaddat-deps-d989bbf764ec05cc454f522d97cd0bff643cda55.tar.gz
dat-deps-d989bbf764ec05cc454f522d97cd0bff643cda55.zip
Add entry size parameter
-rw-r--r--proposals/0000-hypercore.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/proposals/0000-hypercore.md b/proposals/0000-hypercore.md
index 47ba64a..cfbf9e8 100644
--- a/proposals/0000-hypercore.md
+++ b/proposals/0000-hypercore.md
@@ -285,6 +285,16 @@ function root_hash (roots) {
}
```
+# Parameters
+[parameters]: #parameters
+
+## Entry size
+[parameters-entry-size]: #parameters-entry-size
+
+The maximum size of a Hypercore feed entry is 8mb.
+
+The Hypercore wire protocol applies an 10mb limit to message sizes. Accoringly, all entries on a Hypercore feed have an 8mb limit, to fit into a single message. Note that the 10mb/8mb limit is arbitrary and may be increased in the future.
+
# Drawbacks
[drawbacks]: #drawbacks