diff --git a/app/conode/cross_compile.sh b/app/conode/cross_compile.sh index a2c46fe741..73e60ac50a 100755 --- a/app/conode/cross_compile.sh +++ b/app/conode/cross_compile.sh @@ -6,8 +6,6 @@ if [ ! "$1" ]; then fi VERSION=$1 -echo Cross-compiling for platforms and cpus - compile(){ BINARY=$1 echo Compiling $BINARY @@ -23,15 +21,24 @@ done rm conode-bin/$BINARY-darwin-386 } -compile conode -cd stamp -compile stamp -cd .. -mv stamp/conode-bin/* conode-bin -rmdir stamp/conode-bin +if [ ! "$2" ]; then + go build + echo Cross-compiling for platforms and cpus + compile conode + cd stamp + compile stamp + cd .. + mv stamp/conode-bin/* conode-bin + rmdir stamp/conode-bin +fi echo Copying scripts to the binary-directory cp start-conode* conode-bin +cp update.sh conode-bin +cd real +cat *pub > hostlist +../conode build hostlist +cd .. cp real/config.toml conode-bin TAR=conode-$VERSION.tar.gz diff --git a/app/conode/roundstats.go b/app/conode/roundstats.go index 4086bcd2c8..e4d8419262 100644 --- a/app/conode/roundstats.go +++ b/app/conode/roundstats.go @@ -38,9 +38,7 @@ func (round *RoundStats) Commitment(in []*sign.SigningMessage, out *sign.Signing func (round *RoundStats) SignatureBroadcast(in *sign.SigningMessage, out []*sign.SigningMessage) error { err := round.RoundStamperListener.SignatureBroadcast(in, out) - if err == nil && round.IsRoot { - dbg.Lvlf1("This is round %d with %d messages - %d since start.", - round.RoundNbr, in.SBm.Messages, round.Node.Messages) - } + dbg.Lvlf1("This is round %d with %d messages - %d since start.", + round.RoundNbr, in.SBm.Messages, round.Node.Messages) return err }