mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
- Remove app/mpc-service in favor of direct github.com/luxfi/mpc usage - Add infrastructure services: Lux ID (auth), KMS (Vault), NATS, Consul - Implement 3-node MPC network with native Go binaries - Add comprehensive documentation for new architecture - Update development workflow to use native tools instead of Docker - Update CI/CD workflows for new MPC architecture - Add .gitignore entries for MPC data and logs This refactoring improves performance, simplifies deployment, and provides better integration with the Lux ecosystem through unified authentication and secure key management.
26 lines
587 B
Bash
Executable File
26 lines
587 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "==================================="
|
|
echo "Stopping Lux MPC Network"
|
|
echo "==================================="
|
|
echo ""
|
|
|
|
# Kill all lux-mpc processes
|
|
echo "Stopping MPC nodes..."
|
|
pkill -f "lux-mpc start" || true
|
|
|
|
# Give processes time to shut down gracefully
|
|
sleep 2
|
|
|
|
# Force kill if still running
|
|
pkill -9 -f "lux-mpc start" 2>/dev/null || true
|
|
|
|
echo "✅ MPC nodes stopped"
|
|
echo ""
|
|
|
|
# Optional: Clean up data (commented out by default)
|
|
# echo "Cleaning up data directories..."
|
|
# rm -rf ./data/mpc/*
|
|
# echo "✅ Data cleaned"
|
|
|
|
echo "MPC network stopped successfully!" |