GitClassic
Feed
Explore
Random
Go Pro
Sign in
tychedelia
/
josefine
Code
/
Commits
/ bb2a2d9
Refactors and tests.
Jem McElwain committed on Jan 18, 2022, 05:05 AM
Showing
19
changed files
+445 additions
-343 deletions
M
Cargo.lock
+198
-156
M
Cargo.toml
+2
-1
M
examples/multi-node/main.rs
+31
-12
A
proto/raft.proto
+16
M
src/broker/mod.rs
+2
-4
M
src/broker/server.rs
+7
-8
M
src/broker/tcp.rs
+4
-2
M
src/lib.rs
+9
-24
M
src/main.rs
+7
-9
M
src/raft/candidate.rs
+31
-34
M
src/raft/chain.rs
+9
-6
M
src/raft/follower.rs
+17
-32
M
src/raft/fsm.rs
+12
-6
M
src/raft/leader.rs
+1
-1
M
src/raft/mod.rs
+23
-17
M
src/raft/server.rs
+27
-17
M
src/raft/tcp.rs
+13
-12
M
src/raft/test/mod.rs
+2
-2
A
src/util.rs
+34
Browse files at this commit โ