mirror of
https://github.com/status-im/nim-raft.git
synced 2025-02-07 10:45:04 +00:00
Fix typo and compile error
This commit is contained in:
parent
ba23c8bb62
commit
1859b20ed5
@ -9,7 +9,7 @@
|
||||
|
||||
import types
|
||||
import protocol
|
||||
import stew
|
||||
# import stew
|
||||
|
||||
export types, protocol
|
||||
|
||||
@ -53,7 +53,7 @@ proc RAFTNodeRequest*(node: RAFTNode, req: RAFTNodeClientRequest): RAFTNodeClien
|
||||
proc RAFTNodeLogLenGet*(node: RAFTNode): RAFTLogIndex =
|
||||
discard
|
||||
|
||||
proc RAFTNodeLogentryGet*(node: RAFTLogIndex): Result[RAFTNodeLogEntry, string] =
|
||||
proc RAFTNodeLogEntryGet*(node: RAFTLogIndex): Result[RAFTNodeLogEntry, string] =
|
||||
discard
|
||||
|
||||
proc RAFTNodeStateMachineStateGet*(node: RAFTNode): RAFTNodeStateMachineState =
|
||||
|
@ -27,7 +27,7 @@ type
|
||||
RAFTLogIndex* = uint64 # RAFT Node Log Index Type
|
||||
|
||||
# RAFT Node State Machine basic definitions
|
||||
mixin RAFTNodeStateMachineState* = object # State Machine State
|
||||
RAFTNodeStateMachineState* = object # State Machine State
|
||||
RAFTNodeStateMachine* = ref object # Some probably opaque State Machine Impelementation to be used by the RAFT Node
|
||||
# providing at minimum operations for initialization, querying the current state
|
||||
# and RAFTNodeLogEntry application
|
||||
|
Loading…
x
Reference in New Issue
Block a user