From f92ecfa73f9b18383b9cba6864c85a46908d68f4 Mon Sep 17 00:00:00 2001 From: anhthii Date: Sat, 28 Mar 2026 17:52:12 +0700 Subject: [PATCH] Update versions --- cmd/mpcium-cli/main.go | 2 +- cmd/mpcium/main.go | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/cmd/mpcium-cli/main.go b/cmd/mpcium-cli/main.go index 8ccc103..a334997 100644 --- a/cmd/mpcium-cli/main.go +++ b/cmd/mpcium-cli/main.go @@ -11,7 +11,7 @@ import ( const ( // Version information - VERSION = "0.2.1" + VERSION = "0.3.5" ) func main() { diff --git a/cmd/mpcium/main.go b/cmd/mpcium/main.go index a504310..f50d0af 100644 --- a/cmd/mpcium/main.go +++ b/cmd/mpcium/main.go @@ -33,18 +33,25 @@ import ( ) const ( - Version = "0.3.3" + Version = "0.3.5" DefaultBackupPeriodSeconds = 300 // (5 minutes) ) func printBanner() { - banner := fmt.Sprintf(` -╔══════════════════════════════════════════════════════════════╗ -║ MPCIUM v%s ║ -║ Multi-Party Computation Threshold Signatures Node ║ -╚══════════════════════════════════════════════════════════════╝ -`, Version) - fmt.Print(banner) + c := "\033[38;2;0;206;200m" + d := "\033[38;2;0;140;136m" + r := "\033[0m" + + fmt.Printf(` +%s __ __ ____ ____ ___ _ _ __ __ + | \/ | _ \ / ___|_ _| | | | \/ | + | |\/| | |_) | | | || | | | |\/| | + | | | | __/| |___ | || |_| | | | | + |_| |_|_| \____|___|\___/|_| |_| +%s Distributed MPC Node for Threshold Signatures v%s + ──────────────────────────────────────────%s + +`, c, d, Version, r) } func main() {