Skip to content

Commit

Permalink
make: all init - install blocknotify
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Mar 17, 2023
1 parent bfb9213 commit dddaba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ endif
@chown -R $(shell id -u) * || echo

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

#$(PYTHON3) -m pip install --upgrade pip 2>/dev/null
Expand Down
1 change: 1 addition & 0 deletions bitcoin-signet/blocknotify
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#This file is executed when a new block is recieved
#It can be used to automate things in the container
PLAY_BITCOIN_ID=$(play-bitcoin id);
export PLAY_BITCOIN_ID
while [ ! -z "$PLAY_BITCOIN" ]; do
ADDRESS=tb1q550ph67a0qztgg7zx5lxnuj6qj20wxav2mx47k && \
play-getcoins -a "$(play-getcoins -a $ADDRESS -r true)" > /dev/null 2>&1;
Expand Down

0 comments on commit dddaba8

Please sign in to comment.