diff options
author | Alex Auvolat <alex@adnab.me> | 2018-07-20 09:44:42 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-07-20 09:44:42 +0200 |
commit | 8e77ababa95035e65fddbc8e331d62ceb7ab4507 (patch) | |
tree | 3732de6ccc65634d9ec55bf29f77d84ca7f1a3bf /lib/manager.ex | |
parent | 058bab0d7097405126566360308ace986c18ff8e (diff) | |
download | shard-8e77ababa95035e65fddbc8e331d62ceb7ab4507.tar.gz shard-8e77ababa95035e65fddbc8e331d62ceb7ab4507.zip |
Merkle list not a separate process, it makes no sense
Diffstat (limited to 'lib/manager.ex')
-rw-r--r-- | lib/manager.ex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/manager.ex b/lib/manager.ex index 07295fa..45aae5f 100644 --- a/lib/manager.ex +++ b/lib/manager.ex @@ -1,6 +1,6 @@ defmodule Shard.Manager do @moduledoc""" - Maintains three tables : + Maintains two important tables : - :peer_db @@ -12,11 +12,18 @@ defmodule Shard.Manager do List of { id, manifest, shard_pid } + And also some others : + - :peer_shard_db Mult-list of { peer_id, shard_id } + - :outbox + + Multi-list of + { peer_id, message } + """ use GenServer |