aboutsummaryrefslogtreecommitdiff
path: root/shard/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-09-26 14:37:10 +0200
committerAlex Auvolat <alex@adnab.me>2018-09-26 14:44:29 +0200
commitf16973d3a492ae6d4890c40d77b0a93d3293bf3a (patch)
tree36a38ec318ed9d0f87d28d508169271729b8507a /shard/config
parent1df3aa74a6870f276bead1ed5650f0d86355ce09 (diff)
downloadshard-f16973d3a492ae6d4890c40d77b0a93d3293bf3a.tar.gz
shard-f16973d3a492ae6d4890c40d77b0a93d3293bf3a.zip
Signing and stuff
Diffstat (limited to 'shard/config')
-rw-r--r--shard/config/config.exs6
1 files changed, 6 insertions, 0 deletions
diff --git a/shard/config/config.exs b/shard/config/config.exs
index f2a7f09..a5aa071 100644
--- a/shard/config/config.exs
+++ b/shard/config/config.exs
@@ -32,6 +32,12 @@ use Mix.Config
# it is not recommended to use long suffixes.
config :shard, peer_id_suffix: "SH"
+# Identity suffix
+# ===============
+# This Shard instance will only accept messages by identities whose
+# key ends by this suffix
+config :shard, identity_suffix: "ID"
+
# Data directory
# ==============
config :shard, data_path: Path.join [System.user_home, "shard", "data"]