-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a config value to induce faults during reconsutrction - both batch_reconstruct and robust_reconstruct. This would cause the code to go to the non-optimistic path. This will be helpful during benchmarking since this would prevent us from having to rebuild/redeploy the code again and again.
- Loading branch information
Showing
10 changed files
with
149 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"N": 4, | ||
"t": 1, | ||
"my_id": 0, | ||
"peers": [ | ||
"localhost:7000", | ||
"localhost:7001", | ||
"localhost:7002", | ||
"localhost:7003" | ||
], | ||
"reconstruction": { | ||
"induce_faults": true | ||
}, | ||
"extra": { | ||
"k": 8, | ||
"run_id": "82d7c0b8040f4ca1b3ff6b9d27888fef", | ||
"public_key": "gANjX19tYWluX18KVEJMU1B1YmxpY0tleQpxACmBcQF9cQIoWAEAAABscQNLBFgBAAAAa3EESwJYAgAAAFZLcQVDVWOtlZ1Ns2/KbccoQ0somPzJfJw+UK9tcMnh9aRGHOEDXgoKzNJ1heQ9e9ZeyMDcxgC31gbI/Pmtej3MJ8f5qdHpILC/5tb+jPKivxJ6D5BZs4dW+ABxBlgDAAAAVktzcQddcQgoQ1Ulox8fmCgO8Lh92WEZAgW9xlkmolSOh4OgMs0WHY3Is5mLpjFWALP/0ghWk5i5gR4jqyQ/lgJ5EQL0chfMgCAHsW4k8YAvRP4IEg6lu70p2qNY5KcBcQlDVToorXqzQpuGfsqHDMqGNRCOf1bnzh8scULqbDFxWT7hAIA2mers8STlP0QiuCd7GW4PT+AWYCuWQZHr3EUDBkQ3JyEslHZpx84YIacXt6dXcK5IvQFxCkNVMOrp4Q7YNNV5qsH++3jkM0hzAUHW+gWYopN1IFSmooXv3uk5xvo4m9b4zZQ9FGr39LWSZD0I92ht3mndOkHKilUGV22z4Wm1+sAU3WNdWX3tnNiNAXELQ1Ufmpi4bhSz6c+SEFBiBeC6v5ThcKTM3FExaJuHSO1wT6Xa1tBBCmKdPFFqUA6BEx6AyLMihBNkdQGk5gAAnjfK6HXox3Zikb8MwKVid56zzRdpvfwBcQxldWIu", | ||
"private_key": "gANjX19tYWluX18KVEJMU1ByaXZhdGVLZXkKcQApgXEBfXECKFgBAAAAbHEDSwRYAQAAAGtxBEsCWAIAAABWS3EFQ1VjrZWdTbNvym3HKENLKJj8yXycPlCvbXDJ4fWkRhzhA14KCszSdYXkPXvWXsjA3MYAt9YGyPz5rXo9zCfH+anR6SCwv+bW/ozyor8Seg+QWbOHVvgAcQZYAwAAAFZLc3EHXXEIKENVJaMfH5goDvC4fdlhGQIFvcZZJqJUjoeDoDLNFh2NyLOZi6YxVgCz/9IIVpOYuYEeI6skP5YCeREC9HIXzIAgB7FuJPGAL0T+CBIOpbu9KdqjWOSnAXEJQ1U6KK16s0Kbhn7KhwzKhjUQjn9W584fLHFC6mwxcVk+4QCANpnq7PEk5T9EIrgnexluD0/gFmArlkGR69xFAwZENychLJR2acfOGCGnF7enV3CuSL0BcQpDVTDq6eEO2DTVearB/vt45DNIcwFB1voFmKKTdSBUpqKF797pOcb6OJvW+M2UPRRq9/S1kmQ9CPdobd5p3TpByopVBldts+FptfrAFN1jXVl97ZzYjQFxC0NVH5qYuG4Us+nPkhBQYgXgur+U4XCkzNxRMWibh0jtcE+l2tbQQQpinTxRalAOgRMegMizIoQTZHUBpOYAAJ43yuh16Md2YpG/DMClYnees80Xab38AXEMZVgBAAAAaXENSwBYAgAAAFNLcQ5DHEBitQwnmtBTmLgWDcrngXWZKO2uXnwOCgkAvlpxD3ViLg==" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"N": 4, | ||
"t": 1, | ||
"my_id": 1, | ||
"peers": [ | ||
"localhost:7000", | ||
"localhost:7001", | ||
"localhost:7002", | ||
"localhost:7003" | ||
], | ||
"extra": { | ||
"k": 8, | ||
"run_id": "82d7c0b8040f4ca1b3ff6b9d27888fef", | ||
"public_key": "gANjX19tYWluX18KVEJMU1B1YmxpY0tleQpxACmBcQF9cQIoWAEAAABscQNLBFgBAAAAa3EESwJYAgAAAFZLcQVDVWOtlZ1Ns2/KbccoQ0somPzJfJw+UK9tcMnh9aRGHOEDXgoKzNJ1heQ9e9ZeyMDcxgC31gbI/Pmtej3MJ8f5qdHpILC/5tb+jPKivxJ6D5BZs4dW+ABxBlgDAAAAVktzcQddcQgoQ1Ulox8fmCgO8Lh92WEZAgW9xlkmolSOh4OgMs0WHY3Is5mLpjFWALP/0ghWk5i5gR4jqyQ/lgJ5EQL0chfMgCAHsW4k8YAvRP4IEg6lu70p2qNY5KcBcQlDVToorXqzQpuGfsqHDMqGNRCOf1bnzh8scULqbDFxWT7hAIA2mers8STlP0QiuCd7GW4PT+AWYCuWQZHr3EUDBkQ3JyEslHZpx84YIacXt6dXcK5IvQFxCkNVMOrp4Q7YNNV5qsH++3jkM0hzAUHW+gWYopN1IFSmooXv3uk5xvo4m9b4zZQ9FGr39LWSZD0I92ht3mndOkHKilUGV22z4Wm1+sAU3WNdWX3tnNiNAXELQ1Ufmpi4bhSz6c+SEFBiBeC6v5ThcKTM3FExaJuHSO1wT6Xa1tBBCmKdPFFqUA6BEx6AyLMihBNkdQGk5gAAnjfK6HXox3Zikb8MwKVid56zzRdpvfwBcQxldWIu", | ||
"private_key": "gANjX19tYWluX18KVEJMU1ByaXZhdGVLZXkKcQApgXEBfXECKFgBAAAAbHEDSwRYAQAAAGtxBEsCWAIAAABWS3EFQ1VjrZWdTbNvym3HKENLKJj8yXycPlCvbXDJ4fWkRhzhA14KCszSdYXkPXvWXsjA3MYAt9YGyPz5rXo9zCfH+anR6SCwv+bW/ozyor8Seg+QWbOHVvgAcQZYAwAAAFZLc3EHXXEIKENVJaMfH5goDvC4fdlhGQIFvcZZJqJUjoeDoDLNFh2NyLOZi6YxVgCz/9IIVpOYuYEeI6skP5YCeREC9HIXzIAgB7FuJPGAL0T+CBIOpbu9KdqjWOSnAXEJQ1U6KK16s0Kbhn7KhwzKhjUQjn9W584fLHFC6mwxcVk+4QCANpnq7PEk5T9EIrgnexluD0/gFmArlkGR69xFAwZENychLJR2acfOGCGnF7enV3CuSL0BcQpDVTDq6eEO2DTVearB/vt45DNIcwFB1voFmKKTdSBUpqKF797pOcb6OJvW+M2UPRRq9/S1kmQ9CPdobd5p3TpByopVBldts+FptfrAFN1jXVl97ZzYjQFxC0NVH5qYuG4Us+nPkhBQYgXgur+U4XCkzNxRMWibh0jtcE+l2tbQQQpinTxRalAOgRMegMizIoQTZHUBpOYAAJ43yuh16Md2YpG/DMClYnees80Xab38AXEMZVgBAAAAaXENSwFYAgAAAFNLcQ5DHF8IxDi+fpchoNuyDYCNrDKI6gOBi7g0u5dJe3NxD3ViLg==" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"N": 4, | ||
"t": 1, | ||
"my_id": 2, | ||
"peers": [ | ||
"localhost:7000", | ||
"localhost:7001", | ||
"localhost:7002", | ||
"localhost:7003" | ||
], | ||
"extra": { | ||
"k": 8, | ||
"run_id": "82d7c0b8040f4ca1b3ff6b9d27888fef", | ||
"public_key": "gANjX19tYWluX18KVEJMU1B1YmxpY0tleQpxACmBcQF9cQIoWAEAAABscQNLBFgBAAAAa3EESwJYAgAAAFZLcQVDVWOtlZ1Ns2/KbccoQ0somPzJfJw+UK9tcMnh9aRGHOEDXgoKzNJ1heQ9e9ZeyMDcxgC31gbI/Pmtej3MJ8f5qdHpILC/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p3TpByopVBldts+FptfrAFN1jXVl97ZzYjQFxC0NVH5qYuG4Us+nPkhBQYgXgur+U4XCkzNxRMWibh0jtcE+l2tbQQQpinTxRalAOgRMegMizIoQTZHUBpOYAAJ43yuh16Md2YpG/DMClYnees80Xab38AXEMZVgBAAAAaXENSwJYAgAAAFNLcQ5DHH2u02VVYl3vqP9ODTYz1u94qxlUuPRbbSWSOIxxD3ViLg==" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"N": 4, | ||
"t": 1, | ||
"my_id": 3, | ||
"peers": [ | ||
"localhost:7000", | ||
"localhost:7001", | ||
"localhost:7002", | ||
"localhost:7003" | ||
], | ||
"extra": { | ||
"k": 8, | ||
"run_id": "82d7c0b8040f4ca1b3ff6b9d27888fef", | ||
"public_key": "gANjX19tYWluX18KVEJMU1B1YmxpY0tleQpxACmBcQF9cQIoWAEAAABscQNLBFgBAAAAa3EESwJYAgAAAFZLcQVDVWOtlZ1Ns2/KbccoQ0somPzJfJw+UK9tcMnh9aRGHOEDXgoKzNJ1heQ9e9ZeyMDcxgC31gbI/Pmtej3MJ8f5qdHpILC/5tb+jPKivxJ6D5BZs4dW+ABxBlgDAAAAVktzcQddcQgoQ1Ulox8fmCgO8Lh92WEZAgW9xlkmolSOh4OgMs0WHY3Is5mLpjFWALP/0ghWk5i5gR4jqyQ/lgJ5EQL0chfMgCAHsW4k8YAvRP4IEg6lu70p2qNY5KcBcQlDVToorXqzQpuGfsqHDMqGNRCOf1bnzh8scULqbDFxWT7hAIA2mers8STlP0QiuCd7GW4PT+AWYCuWQZHr3EUDBkQ3JyEslHZpx84YIacXt6dXcK5IvQFxCkNVMOrp4Q7YNNV5qsH++3jkM0hzAUHW+gWYopN1IFSmooXv3uk5xvo4m9b4zZQ9FGr39LWSZD0I92ht3mndOkHKilUGV22z4Wm1+sAU3WNdWX3tnNiNAXELQ1Ufmpi4bhSz6c+SEFBiBeC6v5ThcKTM3FExaJuHSO1wT6Xa1tBBCmKdPFFqUA6BEx6AyLMihBNkdQGk5gAAnjfK6HXox3Zikb8MwKVid56zzRdpvfwBcQxldWIu", | ||
"private_key": "gANjX19tYWluX18KVEJMU1ByaXZhdGVLZXkKcQApgXEBfXECKFgBAAAAbHEDSwRYAQAAAGtxBEsCWAIAAABWS3EFQ1VjrZWdTbNvym3HKENLKJj8yXycPlCvbXDJ4fWkRhzhA14KCszSdYXkPXvWXsjA3MYAt9YGyPz5rXo9zCfH+anR6SCwv+bW/ozyor8Seg+QWbOHVvgAcQZYAwAAAFZLc3EHXXEIKENVJaMfH5goDvC4fdlhGQIFvcZZJqJUjoeDoDLNFh2NyLOZi6YxVgCz/9IIVpOYuYEeI6skP5YCeREC9HIXzIAgB7FuJPGAL0T+CBIOpbu9KdqjWOSnAXEJQ1U6KK16s0Kbhn7KhwzKhjUQjn9W584fLHFC6mwxcVk+4QCANpnq7PEk5T9EIrgnexluD0/gFmArlkGR69xFAwZENychLJR2acfOGCGnF7enV3CuSL0BcQpDVTDq6eEO2DTVearB/vt45DNIcwFB1voFmKKTdSBUpqKF797pOcb6OJvW+M2UPRRq9/S1kmQ9CPdobd5p3TpByopVBldts+FptfrAFN1jXVl97ZzYjQFxC0NVH5qYuG4Us+nPkhBQYgXgur+U4XCkzNxRMWibh0jtcE+l2tbQQQpinTxRalAOgRMegMizIoQTZHUBpOYAAJ43yuh16Md2YpG/DMClYnees80Xab38AXEMZVgBAAAAaXENSwNYAgAAAFNLcQ5DHA2f5ZwEFHhC+5FcojW4UlIB2nOLscvy/FqUephxD3ViLg==" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Look at config.py to understand how this config is used within HBMPC. | ||
{ | ||
"N": 4, // Total number of parties | ||
"t": 1, // Value of the threshold for corrupt parties | ||
"my_id": 3, // Id of the current node | ||
"skip_preprocessing": true, // To indicate if the preprocessing needs to be skipped, by default it is NOT skipped | ||
// Network details of all participating parties | ||
"peers": [ | ||
"localhost:7000", | ||
"localhost:7001", | ||
"localhost:7002", | ||
"localhost:7003" | ||
], | ||
// Any other parameter needed by the MPC appliction | ||
"extra": { | ||
"k": 8 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters