mirror of
https://github.com/status-im/nim-raft.git
synced 2025-03-03 14:20:35 +00:00
Cosmetics
This commit is contained in:
parent
5e2d90bc9d
commit
ec9ec605d8
@ -86,7 +86,7 @@ type
|
|||||||
RAFTNodePersistentStorage* = ref object # Should be some kind of Persistent Transactional Store Wrapper
|
RAFTNodePersistentStorage* = ref object # Should be some kind of Persistent Transactional Store Wrapper
|
||||||
|
|
||||||
# Basic modules (algos) definitions
|
# Basic modules (algos) definitions
|
||||||
RAFTNodeAccessCallback = proc (): RAFTNode
|
RAFTNodeAccessCallback = proc: RAFTNode {.nimcall, gcsafe.}
|
||||||
RAFTConsensusModule* = object of RootObj
|
RAFTConsensusModule* = object of RootObj
|
||||||
state_transitions_fsm: seq[byte] # I plan to use nim.fsm https://github.com/ba0f3/fsm.nim
|
state_transitions_fsm: seq[byte] # I plan to use nim.fsm https://github.com/ba0f3/fsm.nim
|
||||||
raft_node_access_callback: RAFTNodeAccessCallback
|
raft_node_access_callback: RAFTNodeAccessCallback
|
||||||
|
Loading…
x
Reference in New Issue
Block a user