forked from axiom-team/astrXbian
14 lines
637 B
Bash
Executable File
14 lines
637 B
Bash
Executable File
#!/bin/bash
|
|
########################################################################
|
|
# Author: Astrocrew
|
|
# Version: 0.1
|
|
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
|
########################################################################
|
|
G1KEY="$1"
|
|
|
|
[[ $G1KEY == "" ]] && echo "PUB KEY MISSINF" && exit 1
|
|
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) && [[ ! $YOU ]] && echo "ipfs NOT RUNNING. EXIT" && exit 1
|
|
|
|
## CHECK IF NODE HAS SEND A PAYMENT TO $G1KEY (TODO CHECK ALL BOOTSTRAPS)
|
|
~/.zen/astrXbian/zen/jaklis/jaklis.py history -p $G1KEY | grep $G1KEY
|