diff options
| author | Paul Buetow <paul@buetow.org> | 2023-05-19 00:38:36 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-05-19 00:38:36 +0300 |
| commit | e881e64406bc8f2d0d5d3099a48d3cf4774e7bd8 (patch) | |
| tree | 587c6e5d91ba73b9a6f56ac8c2dfa1711b9d5b79 /internal/quorum.go | |
| parent | dde3bed148ea90cd505bf6fb67b08719ebc8933a (diff) | |
can reject non-participants
Diffstat (limited to 'internal/quorum.go')
| -rw-r--r-- | internal/quorum.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/quorum.go b/internal/quorum.go index 528f460..1307f20 100644 --- a/internal/quorum.go +++ b/internal/quorum.go @@ -1,6 +1,9 @@ package internal -import "time" +import ( + "log" + "time" +) type quorum struct { ID string @@ -9,3 +12,7 @@ type quorum struct { } type quorumMap map[string]quorum + +func (q quorumMap) vote(v vote) { + log.Printf("Adding vote %v", v) +} |
