From ea2f7c4a44d57a7be1599dca1986c8bd57c357a2 Mon Sep 17 00:00:00 2001 From: Jean Date: Sun, 11 Feb 2024 01:46:04 +0100 Subject: [PATCH] minor fixes after self review --- server/go.mod | 2 +- server/go.sum | 2 ++ server/scripts/start_smc.sh | 10 +--------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/server/go.mod b/server/go.mod index 756a641b..652a991c 100644 --- a/server/go.mod +++ b/server/go.mod @@ -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 diff --git a/server/go.sum b/server/go.sum index bcdd0dde..3caf7586 100644 --- a/server/go.sum +++ b/server/go.sum @@ -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= diff --git a/server/scripts/start_smc.sh b/server/scripts/start_smc.sh index 4874c2b6..747ed2e0 100755 --- a/server/scripts/start_smc.sh +++ b/server/scripts/start_smc.sh @@ -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 @@ -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)) @@ -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} ] @@ -87,8 +83,6 @@ do i=$((i + 1)); done -sleep 1 - echo -e "${GREEN}[SETUP DKG]${NC} ${N} nodes" i=1; a="" @@ -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;