Skip to content

Commit dddaba8

Browse files
committed
make: all init - install blocknotify
1 parent bfb9213 commit dddaba8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

GNUmakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ endif
393393
@chown -R $(shell id -u) * || echo
394394

395395
@install -v -m=o+rwx $(PWD)/scripts/* /usr/local/bin
396+
@install -v -m=o+rwx $(PWD)/bitcoin-signet/blocknotify /usr/local/bin
396397
@install -v -m=o+rwx $(PWD)/getcoins.py /usr/local/bin/play-getcoins
397398

398399
#$(PYTHON3) -m pip install --upgrade pip 2>/dev/null

bitcoin-signet/blocknotify

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#This file is executed when a new block is recieved
33
#It can be used to automate things in the container
44
PLAY_BITCOIN_ID=$(play-bitcoin id);
5+
export PLAY_BITCOIN_ID
56
while [ ! -z "$PLAY_BITCOIN" ]; do
67
ADDRESS=tb1q550ph67a0qztgg7zx5lxnuj6qj20wxav2mx47k && \
78
play-getcoins -a "$(play-getcoins -a $ADDRESS -r true)" > /dev/null 2>&1;

0 commit comments

Comments
 (0)