mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-09 10:05:15 -05:00
* clean react * add material ui * add word list * mnemonic v0 * jeepney backup * keychain usage * wallet api * mnemonic ui * mnemonics redux state * handle exceptions correctly * dashboard * wallets * get puzzle hash * tx history * sidebar * start stop wallet node * use existing mnemonics * status info * create cc wallet * theme should be outside of switch * create offer * dbus alternative for linux * key migration * don't autocomplete, don't reset simulator db * reset mnemonics * Refactor keychain, and key migration * Implement UI for changing keys * Removing keys and mnemonic button * Start making farmer and harvester RPCs * start rpx for simulator * Harvester and farmer websocket, and basic UI * Plot display and deletion * launch daemon on start * State changes from full node, harvester, farmer, and full node ui improvements * split balances in react * pending change balance * plotter * dev config * maintain connection / retry * Remove electron-ui, and style fixes * Better farmer and full node control * Remove electron ui references * Uncomment out starting the dameon * Remove timelord tab, and change full node style * Clean up new wallet login * Refactor RPCs * Now that the GH runner uses python 3.7.7 - use for windows installer * add balance split to coloured coin wallet * spendable balance fix * Import private key from UI fix * mac build/installer Co-authored-by: Mariano Sorgente <sorgente711@gmail.com> Co-authored-by: Lipa Long <lipa@chia.net> Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
27 lines
424 B
Plaintext
Executable File
27 lines
424 B
Plaintext
Executable File
_kill_servers() {
|
|
PROCS=`ps -e | grep -E 'chia|vdf_client' | awk '!/grep/' | awk '{print $1}'`
|
|
if [ -n "$PROCS" ]; then
|
|
echo "$PROCS" | xargs -L1 kill -KILL
|
|
fi
|
|
}
|
|
|
|
_kill_servers
|
|
|
|
BG_PIDS=""
|
|
_run_bg_cmd() {
|
|
"$@" &
|
|
BG_PIDS="$BG_PIDS $!"
|
|
}
|
|
|
|
|
|
_term() {
|
|
echo "Caught TERM or INT signal, killing all servers."
|
|
for PID in $BG_PIDS; do
|
|
kill -TERM "$PID"
|
|
done
|
|
_kill_servers
|
|
}
|
|
|
|
trap _term TERM
|
|
trap _term INT
|