diff --git a/raft_consensus/consensus_module.nim b/raft_consensus/consensus_module.nim index c82a1a7..c4e0a10 100644 --- a/raft_consensus/consensus_module.nim +++ b/raft_consensus/consensus_module.nim @@ -5,4 +5,4 @@ # * MIT license ([LICENSE-MIT](LICENSE-MIT)) # at your option. # This file may not be copied, modified, or distributed except according to -# those terms. \ No newline at end of file +# those terms. diff --git a/raft_consensus/log_compaction_module.nim b/raft_consensus/log_compaction_module.nim index c82a1a7..c4e0a10 100644 --- a/raft_consensus/log_compaction_module.nim +++ b/raft_consensus/log_compaction_module.nim @@ -5,4 +5,4 @@ # * MIT license ([LICENSE-MIT](LICENSE-MIT)) # at your option. # This file may not be copied, modified, or distributed except according to -# those terms. \ No newline at end of file +# those terms. diff --git a/raft_consensus/membersip_change_module.nim b/raft_consensus/membersip_change_module.nim index c82a1a7..c4e0a10 100644 --- a/raft_consensus/membersip_change_module.nim +++ b/raft_consensus/membersip_change_module.nim @@ -5,4 +5,4 @@ # * MIT license ([LICENSE-MIT](LICENSE-MIT)) # at your option. # This file may not be copied, modified, or distributed except according to -# those terms. \ No newline at end of file +# those terms. diff --git a/raft_consensus/raft_consensus_api.nim b/raft_consensus/raft_consensus_api.nim index 9b08028..93a864a 100644 --- a/raft_consensus/raft_consensus_api.nim +++ b/raft_consensus/raft_consensus_api.nim @@ -6,6 +6,7 @@ # at your option. # This file may not be copied, modified, or distributed except according to # those terms. + import types # RAFT Node Public API procedures / functions @@ -18,7 +19,6 @@ proc RAFTNodeLoad*(state_machine: RAFTNodeStateMachine, log: RAFTNodeLog, persistent_storage: RAFTNodePersistentStorage, msg_send_callback: RAFTMessageSendCallback): RAFTNode = discard - func RAFTNodeIdGet*(node: RAFTNode): RAFTNodeId = # Get RAFT Node ID discard diff --git a/raft_consensus/types.nim b/raft_consensus/types.nim index 233f79a..c06f8ca 100644 --- a/raft_consensus/types.nim +++ b/raft_consensus/types.nim @@ -1,3 +1,12 @@ +# nim-raft-consesnsus +# Copyright (c) 2023 Status Research & Development GmbH +# Licensed under either of +# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE)) +# * MIT license ([LICENSE-MIT](LICENSE-MIT)) +# at your option. +# This file may not be copied, modified, or distributed except according to +# those terms. + # RAFT Node Public Types. # I guess that at some point these can be moved to a separate file called raft_consensus_types.nim for example import fsm