aboutsummaryrefslogtreecommitdiff
path: root/shard/config/config.exs
diff options
context:
space:
mode:
Diffstat (limited to 'shard/config/config.exs')
-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"]