-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.ex
More file actions
23 lines (18 loc) · 618 Bytes
/
Copy pathapplication.ex
File metadata and controls
23 lines (18 loc) · 618 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell <jonathan@hyperpolymath.org>
# SPDX-License-Identifier: AGPL-3.0-or-later
defmodule ConativeGating.Application do
@moduledoc """
OTP Application for Conative Gating Consensus Arbiter.
Starts the supervision tree for the consensus arbiter and related processes.
"""
use Application
@impl true
def start(_type, _args) do
children = [
# Start the Consensus Arbiter GenServer
ConativeGating.ConsensusArbiter
]
opts = [strategy: :one_for_one, name: ConativeGating.Supervisor]
Supervisor.start_link(children, opts)
end
end