Skip to content

Conversation

@sbellem
Copy link
Contributor

@sbellem sbellem commented Jan 24, 2021

PR to bring in the demo under https://github.com/initc3/MP-SPDZ/tree/hbswap-merge-2 under this repository. Note that this demo does not have a UI, and the UI will be added via PR #1.

Things to do:

  • Extract hbswap directory from https://github.com/initc3/MP-SPDZ/tree/hbswap-merge-2/Scripts/hbswap.
  • Extract relevant docker files from https://github.com/initc3/MP-SPDZ.
  • Add MP-SPDZ as a git submodule. Must use a branch that has the preprocessing random shamir code for input masks.
  • Adapt the scripts to run the demo, according to the re-organization of the code.
  • Fix the single docker container demo.
  • Simplify the go code path (e.g. from /go/src/.../initc3/MP-SPDZ/Scripts/hbswap/... to /go/src/.../hbswap/...)
  • Clean up.

To try:

make simulation

Monitor mpc logs in one terminal:

docker-compose logs -f mpc.node.0 mpc.node.1 mpc.node.2 mpc.node.3

Monitor local/private ethereum node in another terminal:

docker-compose logs -f eth.chain

To build or rebuild the images:

docker-compose -f docker-compose.yml -f liquidity-provider.yml -f trader.yml build

@sbellem sbellem changed the title Dev dev (backend/demo) Jan 24, 2021
@sbellem sbellem marked this pull request as draft January 24, 2021 22:51
Remove reference to MP-SPDZ.
This way log outputs is visible in stdout.
The main thing is that the necessary MP-SPDZ binaries are built in a
separate stage, and copied over in another stage that does not need to
contain MP-SPDZ source code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants