Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
algorand
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nilak
algorand
Commits
41e9287d
Commit
41e9287d
authored
May 01, 2019
by
THAKARE AKSHAY HARIBHAU
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'algorand' into 'Nalgo'
# Conflicts: # filegen.py
parents
e2ab3569
6113f258
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
529 additions
and
2204 deletions
+529
-2204
Config.py
Config.py
+17
-0
Links.dat
Links.dat
+4
-0
Links1.dat
Links1.dat
+100
-1950
Network.py
Network.py
+18
-5
Node.py
Node.py
+50
-12
Nodes.dat
Nodes.dat
+3
-0
Nodes1.dat
Nodes1.dat
+0
-150
OverlayNode.py
OverlayNode.py
+314
-74
Starter.py
Starter.py
+1
-1
SystemEntity.py
SystemEntity.py
+1
-0
TestCases.py
TestCases.py
+10
-4
TestTodoList.py
TestTodoList.py
+9
-2
TimeSimulator.py
TimeSimulator.py
+1
-1
filegen.py
filegen.py
+1
-3
todolist.dat
todolist.dat
+0
-2
No files found.
Config.py
0 → 100644
View file @
41e9287d
lambda_proposer
=
3
# wait time for priority messages to be received
tou_proposer
=
20
# proposer rolecount
ROLE_BLOCK_PROPOSER
=
'BLOCK_PROPOSER'
tou_step
=
3
# tou is expected number of users that sortition selects for committee
ROLE_COMMITEE_FOR_VOTE
=
'committee'
lambda_block
=
30
#seconds
lambda_step
=
3
BLOCK_PROPOSAL_MSG_type
=
'BLOCK_PROPOSAL_MSGs'
PRIORITY_MSG_type
=
'PRIORITY_MSG'
COMMITTEE_VOTE_MSG_type
=
"COMMITTEE_VOTE"
TIMEOUT
=
"TIMEOUT"
T
=
2
/
3
# T isa a fraction of expected committee size that defines BA*`s voting thershold
Links.dat
View file @
41e9287d
...
...
@@ -2,3 +2,7 @@
2 3
3 4
4 1
3 5
2 6
3 7
7 4
\ No newline at end of file
Links1.dat
View file @
41e9287d
0
1
0
0
27
0
2
0
0
34
0 35
0 38
0 46
0 50
0 61
0 63
0 73
0 80
0 82
0 88
0 97
0 109
0 110
0 120
0 121
0 125
0 128
0 130
0 144
0 162
0 164
0 195
1 5
1 8
1 12
1 19
1 24
1 33
1 38
1 40
1 43
1 47
1 56
1 57
1 64
1 75
1 102
1 166
2 7
0 42
0 48
1 7
1 18
1 23
1 34
2 15
2 18
2 20
2 23
2 29
2 38
2 39
2 43
2 56
2 58
2 63
2 72
2 78
2 85
2 87
2 106
2 108
2 115
2 117
2 123
2 130
2 135
2 137
2 153
2 157
2 159
2 160
2 170
2 192
2 195
2 198
3 21
3 23
3 31
2 26
3 7
3 18
3 27
3 29
3 34
3 41
3 87
3 97
3 101
3 106
3 109
3 113
3 118
3 140
3 145
3 152
3 157
3 162
3 181
3 182
3 190
3 193
3 197
3 199
4 10
4 15
3 46
4 9
4 17
4 23
4 26
4 60
4 82
4 84
4 86
4 88
4 91
4 93
4 102
4 112
4 123
4 128
4 134
4 149
4 151
4 153
4 172
4 178
4 183
4 187
4 190
4 196
5 9
5 28
5 42
4 25
4 38
4 45
4 49
5 21
5 30
5 34
5 47
5 59
5 65
5 73
5 127
5 135
5 146
5 149
5 151
5 162
5 164
5 166
5 177
5 178
5 187
5 191
6 12
6 17
6 25
6 44
6 45
6 50
6 64
6 69
6 81
6 94
6 99
6 130
6 132
6 142
6 154
6 171
6 174
6 186
7 11
7 18
7 26
7 30
7 42
7 61
7 73
7 88
7 90
7 94
7 125
7 129
7 131
7 144
7 169
7 197
8 17
6 7
6 9
6 47
7 16
7 19
8 14
8 22
8 25
8 36
8 37
8 40
8 42
8 50
8 51
8 66
8 95
8 100
8 118
8 126
8 139
8 152
8 155
8 163
8 197
9 24
9 25
9 42
9 54
9 56
9 63
9 68
9 77
9 83
9 102
9 108
9 124
9 128
9 133
9 139
9 140
9 150
9 195
10 18
10 38
10 43
10 52
10 68
10 76
10 92
10 95
10 106
10 140
10 154
10 158
10 166
10 167
10 172
10 176
10 177
10 180
10 195
10 197
9 16
9 31
9 41
9 44
10 36
10 39
11 13
11
25
11 3
5
11
17
11 3
4
11 39
11 41
11 51
11 59
11 60
11 66
11 67
11 68
11 82
11 84
11 94
11 116
11 118
11 121
11 161
11 162
11 167
11 43
12 15
12 17
12 20
12 39
12 61
12 75
12 85
12 112
12 115
12 122
12 130
12 141
12 152
12 161
12 162
12 173
12 194
12 21
12 30
12 35
13 14
13 29
13 50
13 63
13 70
13 80
13 103
13 118
13 125
13 127
13 131
13 137
13 141
13 163
13 174
14 15
14 26
14 31
14 42
14 56
14 77
14 81
14 83
14 96
14 98
14 99
14 104
14 108
14 113
14 115
14 130
14 132
14 146
14 161
14 163
14 178
14 184
14 188
15 16
15 28
15 56
15 61
15 63
15 94
15 96
15 102
15 108
15 112
15 113
15 136
15 158
15 170
15 185
16 19
16 29
13 15
14 17
14 24
14 36
14 48
15 19
15 26
15 32
15 37
15 38
15 40
16 25
16 36
16 55
16 64
16 65
16 75
16 85
16 88
16 93
16 97
16 106
16 112
16 113
16 119
16 124
16 151
16 160
16 165
16 175
16 193
16 46
17 25
17 42
17 48
17 82
17 90
17 109
17 118
17 123
17 157
17 169
17 191
17 195
18 28
18 37
18 44
18 45
18 53
18 60
18 68
18 77
18 92
18 109
18 114
18 129
18 134
18 137
18 149
18 168
18 174
18 189
18 190
18 193
19 32
19 43
19 51
19 68
19 75
19 79
19 81
19 87
19 90
19 100
19 111
19 124
19 125
19 131
19 134
19 140
19 152
19 158
19 164
19 169
19 174
19 189
19 193
19 195
17 29
17 47
18 25
18 47
19 23
19 24
19 33
19 37
20 21
20 28
20 32
20 47
20 50
20 68
20 69
20 86
20 94
20 97
20 124
20 127
20 134
20 136
20 143
20 152
20 155
20 156
20 159
20 166
20 173
20 177
20 187
21 29
21 36
21 41
21 51
21 85
21 86
21 133
21 141
21 175
21 183
21 189
22 25
22 27
22 43
22 53
22 59
22 75
22 89
22 96
22 120
22 122
22 127
22 147
22 151
22 153
23 47
23 102
23 112
23 126
23 129
23 139
23 141
23 149
23 162
23 171
23 188
23 192
23 194
23 197
24 28
24 37
24 55
24 57
24 61
24 74
24 79
24 86
24 100
24 108
24 113
24 126
24 127
24 131
24 133
24 135
24 139
24 190
25 41
25 61
25 72
25 82
25 83
25 87
25 93
25 102
25 104
25 111
25 120
25 126
25 127
25 132
25 150
25 194
25 196
26 32
26 37
26 39
26 63
26 66
26 67
26 85
26 109
26 114
26 115
26 116
26 141
26 143
26 157
26 177
26 180
26 185
26 187
26 188
26 192
27 29
27 42
27 60
27 66
27 68
27 97
27 98
27 111
27 119
27 126
27 142
27 151
27 158
27 162
27 170
27 175
27 191
27 193
20 36
20 44
20 48
23 27
23 39
23 40
25 32
25 40
25 42
25 49
27 43
27 47
28 33
28 35
28 43
28 60
28 74
28 81
28 83
28 99
28 100
28 103
28 105
28 113
28 114
28 182
28 185
29 65
29 71
29 81
29 85
29 89
29 97
29 122
29 128
29 137
29 144
29 146
29 164
29 195
30 52
30 53
30 59
30 68
30 71
30 87
30 89
30 91
30 103
30 133
30 159
30 165
30 182
30 184
30 188
31 34
31 39
31 49
31 65
31 84
31 87
31 88
31 94
31 112
31 154
31 167
31 191
32 42
32 45
32 47
32 56
32 58
32 62
32 71
32 87
32 88
32 92
32 101
32 103
32 117
32 120
32 134
32 145
32 149
32 154
32 162
32 163
32 172
32 175
32 177
33 38
33 58
33 60
33 79
33 83
33 88
33 96
33 105
33 112
33 136
33 149
33 168
33 169
33 176
33 182
33 183
33 189
33 190
34 36
34 54
34 130
34 146
34 153
34 158
34 159
34 165
34 169
34 180
34 184
35 59
35 90
35 111
35 123
35 128
35 137
35 140
35 152
35 189
35 191
35 193
36 42
36 60
36 63
36 74
36 78
36 98
36 103
36 109
36 115
36 122
36 125
36 161
36 168
36 184
36 186
36 190
36 191
36 194
36 195
36 199
37 42
37 61
37 95
37 103
37 104
37 112
37 126
37 130
37 131
37 143
37 162
37 167
37 194
38 44
38 58
38 61
38 62
38 67
38 69
38 82
38 116
38 120
38 124
38 135
38 174
38 176
38 181
38 186
39 42
39 52
39 59
39 78
39 84
39 104
39 112
39 115
39 118
39 130
39 134
39 148
39 166
39 172
39 193
39 197