Removed unused files

This commit is contained in:
Kirill Fedoseev 2019-07-09 12:20:18 +03:00
parent b1e7328495
commit 3363043c9f
5 changed files with 0 additions and 4188 deletions

4119
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +0,0 @@
THRESHOLD=1
PARTIES=3
PORT=8001

View File

@ -1,11 +0,0 @@
FROM ubuntu:19.10
WORKDIR /tss
COPY Rocket.toml params /tss/
COPY --from=tss /tss/target/release/sm_manager /tss/
ENTRYPOINT ["./sm_manager"]
EXPOSE 8001

View File

@ -1,22 +0,0 @@
[development]
address = "127.0.0.1"
port = 8001
workers = 12
keep_alive = 5
log = "normal"
[staging]
address = "0.0.0.0"
port = 8001
workers = 8
keep_alive = 5
log = "normal"
secret_key = "nSLM0D9ip+Gb1DNAOOisC9I+xLYHueO6FhtrNJwCRhE="
[production]
address = "0.0.0.0"
port = 8001
workers = 1
keep_alive = 5
log = "critical"
secret_key = "VWLeaDIng4S6bpN+Lgey5BbYwAZ3hM1hKzuMCWvEqVo="

View File

@ -1,32 +0,0 @@
#!/bin/bash
set -e
cd $(dirname "$0")
set -o allexport
source ./.env
set +o allexport
echo Starting \{"$THRESHOLD","$PARTIES"\}-threshold ECDSA
echo Writing params
echo \{\"parties\":\""$PARTIES"\",\"threshold\":\""$THRESHOLD"\"\} > ./params
if [[ -z "$LOCAL" ]]; then
echo Building tss source from git
docker build -t tss ../tss > /dev/null
else
echo Building tss local source
docker build -t tss -f ../tss/Dockerfile-local ../tss > /dev/null
fi
echo Builing shared state machine
docker build -t ssm . > /dev/null
echo Running shared state machine
docker run -d -p "$PORT":8001 --rm ssm > /dev/null
sleep 1
echo Server started, listening on port "$PORT"