Ah git Merge branch 'dev-fred' of https://git.p2p.legal/axiom-team/G1sms into dev-fred

This commit is contained in:
qo-op 2020-01-18 20:17:28 +01:00
commit bf8a2c626f
5 changed files with 2 additions and 11 deletions

View File

@ -3,7 +3,7 @@
if(php_sapi_name() != 'cli' && !empty($_SERVER['REMOTE_ADDR'])) exit("Access Denied.");
// Please configure this
$url = "https://g1sms-blois-2.p2p.legal";
$url = "http://_DOMAIN";
fclose(fopen($url."/index.php/daemon/message_routine/", "r"));

1
_chain
View File

@ -1 +0,0 @@
QmamXocniF5ccFdSpNZ9K4qCv8NwJqu8UR9kc5xfSMkBFv

View File

@ -1 +0,0 @@
1578394685159072524

View File

@ -31,13 +31,6 @@ if [[ "$1" == "" ]]; then
fi
##################################################################
################################################################################
# PRINT G1Tag PRINTED FROM ANOTHER NODE
# CREATE and REMOVE rr.bin -> done.rr
## if [[ -d "./wallets_swarm/.$IPFSNODEID/PRINT/" ]]; then
## log "__SUB:cron_MINUTE.sh: SEARCH NEW PRINT FOR ME .$IPFSNODEID"
## mkdir -p ./wallets/.$IPFSNODEID/PRINT/
##################################################################
if [[ "$1" == "PRINT" ]]; then
##################################################################

View File

@ -42,7 +42,7 @@ for result in $(find billets/ -daystart -mtime +$vieux -type d -name "*"); do
echo $secret $salt
echo "/usr/local/bin/silkaj tx --amount=\"$virement\" --output=\"$dest\""
if [[ "$solde" == "0.0" ]]; then
if [[ "$virement" == "0.0" ]]; then
echo "G1Billet déjà vide, suppression de $result"; rm -Rf $result;
else
PAY=$(/usr/local/bin/silkaj -p duniter-g1.p2p.legal:443 tx --amount="$virement" --output="$dest" --comment="[G1Billet] $numero" -y)