Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix address binding for "examples/sm_manager" #87

Merged
merged 2 commits into from Dec 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -45,6 +45,12 @@ Run `./gg18_sign_client`. The application should be in the same folder as the `k

Run `./run.sh` (located in `/demo` folder) in the same folder as the excutables (usually `/target/release/examples`. Move `params` file to the same folder). It will spawn a shared state machine, clients in the number of parties and signing requests for the `threshold + 1` first parties.

`sm_manager` rocket server runs in _production_ mode by default. You may modify the `./run.sh` to config it to run in different environments. For example, to run rocket server in _development_:

```
ROCKET_ENV=development ./target/release/examples/sm_manager
```

| !["Multiparty ECDSA Demo"][demo] |
| :------------------------------------------------: |
| _A 5 parties setup with 3 signers (threshold = 2)_ |
Expand Down
6 changes: 3 additions & 3 deletions Rocket.toml
@@ -1,5 +1,5 @@
[development]
address = "127.0.0.1"
address = "0.0.0.0"
port = 8001
workers = 12
keep_alive = 5
Expand All @@ -8,7 +8,7 @@ hi = "Hello!" # this is an unused extra; maybe application specific?
is_extra = true # this is an unused extra; maybe application specific?

[staging]
address = "127.0.0.1"
address = "0.0.0.0"
port = 8001
workers = 8
keep_alive = 5
Expand All @@ -17,7 +17,7 @@ log = "normal"
secret_key = "8Xui8SN4mI+7egV/9dlfYYLGQJeEx4+DwmSQLwDVXJg="

[production]
address = "127.0.0.1"
address = "0.0.0.0"
port = 8001
workers = 12
keep_alive = 5
Expand Down