110 Commits

Author SHA1 Message Date
Raycho Mukelov
6c92519a87 Refactor the Raft Protocol with variants. Removed python test server. etc. 2023-09-17 03:47:29 +03:00
Raycho Mukelov
ae298b0af2 Merge branch 'add_initial_tests_etc' of github.com:status-im/nim-raft into add_initial_tests_etc 2023-09-16 23:11:52 +03:00
Raycho Mukelov
d9c0cccc37 Fix 2023-09-16 23:11:17 +03:00
Raycho Mukelov
ebbd506cf6 Remove redundant file 2023-09-16 23:08:56 +03:00
Raycho Mukelov
7009ac21fd Remove redundant file 2023-09-16 23:08:56 +03:00
Raycho Mukelov
436b97dde3 Remove redundant file 2023-09-15 23:35:49 +03:00
Raycho Mukelov
0721e854db Remove redundant file 2023-09-15 21:07:54 +03:00
Raycho Mukelov
0a1d81993a Pretty close 2023-09-12 16:30:17 +03:00
Raycho Mukelov
2d034b6c86 Tornado frontend 2023-09-12 14:49:14 +03:00
Raycho Mukelov
491b9129f6 fix 2023-09-12 12:50:40 +03:00
Raycho Mukelov
1f683dd2a7 Fix 2023-09-12 02:49:21 +03:00
Raycho Mukelov
63c9710506 fix 2023-09-12 02:41:31 +03:00
Raycho Mukelov
fe5c069ac7 Fixes 2023-09-11 19:55:30 +03:00
Raycho Mukelov
1de2422cde Fixes 2023-09-09 21:07:12 +03:00
Raycho Mukelov
ae34a899a4 Fix json config 2023-09-09 20:42:10 +03:00
Raycho Mukelov
8f60c2381b More on Tornado/FIFOs etc. 2023-09-09 19:56:54 +03:00
Raycho Mukelov
5c10cf6ac4 add some initial standalone raft node code 2023-09-08 20:03:05 +03:00
Raycho Mukelov
a31afea620 Fix 2023-09-08 18:45:37 +03:00
Raycho Mukelov
f89cb6dc34 Fix 2023-09-08 14:14:46 +03:00
Raycho Mukelov
bb58fc3bcc Fix 2023-09-08 14:14:29 +03:00
Raycho Mukelov
d2dc2210b9 Add raft_node_config.json 2023-09-08 14:12:45 +03:00
Raycho Mukelov
21730c2283 Fix 2023-09-08 13:48:58 +03:00
Raycho Mukelov
4cb13a3199 Fix Dockerfile 2023-09-08 13:43:57 +03:00
Raycho Mukelov
1ed762838e Add sample Dockerfile to build a test image 2023-09-08 12:27:05 +03:00
Raycho Mukelov
fba4ac836f Fix Cluster Test random hanging issue 2023-09-07 06:56:35 +03:00
Raycho Mukelov
d11190bc5d Get rid of useless forward declarations + more refactoring 2023-09-07 05:41:05 +03:00
Raycho Mukelov
615db86c52 Implement functioning elections / voting / heart-beats 2023-09-07 05:04:27 +03:00
Raycho Mukelov
ca4041e4e6 Change Lock to RLock 2023-09-06 22:27:22 +03:00
Raycho Mukelov
3380c83bde More consesus voting / heart beat work 2023-09-06 20:52:57 +03:00
Raycho Mukelov
e333d6e7c0 Various fixes 2023-09-04 12:47:27 +03:00
Raycho Mukelov
f1d558cae5 Refactor some stuff. Add Key-Value DB support (MDBX) 2023-09-03 20:52:35 +03:00
Raycho Mukelov
2f4095915d Added Diego Ongaro Raft paper and Stanford PhD Dissertation 2023-09-03 07:23:23 +03:00
Raycho Mukelov
969d5e4848 Added MDBX DB Store wrapper in order to start writing the persistance part 2023-09-03 07:03:09 +03:00
Raycho Mukelov
07d87c896f Started writing election/voting 2023-09-03 06:47:29 +03:00
Raycho Mukelov
66a6d7bc33 Add more consensus code etc. 2023-09-03 05:41:09 +03:00
Raycho Mukelov
31a3ae1078 Fix some problems with function imports etc. Started implementing the consensus algo. 2023-09-03 01:59:35 +03:00
Raycho Mukelov
949c594c6a Update 2023-09-03 00:17:44 +03:00
Raycho Mukelov
1f4af32358 Refactor consensus module scaffold 2023-09-01 06:31:42 +03:00
Raycho Mukelov
f95937107a Introduce async messaging 2023-09-01 06:11:53 +03:00
Raycho Mukelov
ad5dd67560 Add DefaultUUID(00000000-0000-0000-0000-000000000000) etc. 2023-09-01 03:58:37 +03:00
Raycho Mukelov
497b309379 Add extended test scaffold for Basic Raft Cluster 2023-09-01 02:14:45 +03:00
Raycho Mukelov
8ac52c2dd8 Add run_all_test.sh help script etc. 2023-09-01 01:42:18 +03:00
Raycho Mukelov
a69f528bc1 Refactor some module imports/exports 2023-09-01 01:00:39 +03:00
Raycho Mukelov
634094f766 Add basic Raft Cluster test 2023-09-01 00:43:22 +03:00
Raycho Mukelov
79e96d40a5 Add raft.nimble code for testing 2023-08-31 19:37:12 +03:00
Raycho Mukelov
45523fd60d Change raft_api and types 2023-08-31 18:52:09 +03:00
Raycho Mukelov
7017e9fc69 Add basic state machine test etc. 2023-08-31 15:36:58 +03:00
Raycho Mukelov
0f5ce4687b Use uuids 2023-08-29 12:20:40 +03:00
Raycho Mukelov
a34d9c4288 Test timers cosmetic changes 2023-08-29 11:23:38 +03:00
Raycho Mukelov
93fa2d632c Timers + tests 2023-08-25 12:06:51 +03:00