mirror of
https://github.com/status-im/nim-raft.git
synced 2025-03-03 06:10:30 +00:00
Fixed cosmetic stuff
This commit is contained in:
parent
c2aacbb3c7
commit
880f04ef69
@ -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.
|
||||
# those terms.
|
||||
|
@ -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.
|
||||
# those terms.
|
||||
|
@ -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.
|
||||
# those terms.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user