Fixed cosmetic stuff

This commit is contained in:
Raycho Mukelov 2023-07-29 06:32:15 +03:00
parent c2aacbb3c7
commit 880f04ef69
5 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -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