Skip to content

Commit

Permalink
minor fixes after self review
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsv committed Feb 11, 2024
1 parent 3cb42cc commit ea2f7c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module go.dedis.ch/hbt/server

go 1.21

replace go.dedis.ch/dela => ../../dela
// replace go.dedis.ch/dela => ../../dela

require (
github.com/gorilla/mux v1.8.1
Expand Down
2 changes: 2 additions & 0 deletions server/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsr
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d h1:splanxYIlg+5LfHAM6xpdFEAYOk8iySO56hMFq6uLyA=
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.dedis.ch/dela v0.0.0-20230814162536-4bcfa7981c82 h1:nSPgGOk0izc9hSmUVGe8TT+rSLuePz+AH0VxtIywOBU=
go.dedis.ch/dela v0.0.0-20230814162536-4bcfa7981c82/go.mod h1:FkatZT04/Bc6cm3ShMMuDc83/zX2OTmqBl5NhuW6W4s=
go.dedis.ch/fixbuf v1.0.3 h1:hGcV9Cd/znUxlusJ64eAlExS+5cJDIyTyEG+otu5wQs=
go.dedis.ch/fixbuf v1.0.3/go.mod h1:yzJMt34Wa5xD37V5RTdmp38cz3QhMagdGoem9anUalw=
go.dedis.ch/kyber/v3 v3.0.4/go.mod h1:OzvaEnPvKlyrWyp3kGXlFdp7ap1VC6RkZDTaPikqhsQ=
Expand Down
10 changes: 1 addition & 9 deletions server/scripts/start_smc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ NC='\033[0m' # no Color
L=info # default trace level
S=hbt # session name
W=smc # window name
N=3 # number of nodes
N=4 # number of nodes
P=11000 # base port number
PROXY=40000 # base proxy port number

Expand Down Expand Up @@ -66,8 +66,6 @@ do
i=$((i + 1));
done

sleep 1

echo -e "${GREEN}[CONNECT]${NC} ${N} nodes and exchange certificates"
i=2;
p=$((P + 1))
Expand All @@ -77,8 +75,6 @@ do
i=$((i + 1));
done

sleep 1

echo -e "${GREEN}[INITIALIZE DKG]${NC} on each node"
i=1;
while [ ${i} -le ${N} ]
Expand All @@ -87,8 +83,6 @@ do
i=$((i + 1));
done

sleep 1

echo -e "${GREEN}[SETUP DKG]${NC} ${N} nodes"
i=1;
a=""
Expand All @@ -99,8 +93,6 @@ do
done
tmux send-keys -t "${MASTERPANE}" "smccli --config /tmp/${W}1 dkg setup ${a} --threshold ${N} | tee smckey.pub" C-m

sleep 1

# Publish the roster
echo -e "${GREEN}[SAVE]${NC} roster to file"
i=1;
Expand Down

0 comments on commit ea2f7c4

Please sign in to comment.