#!/usr/bin/env python
-# Send notification to Stratum mining instance on localhost that there's new bitcoin block
+# Send notification to Stratum mining instance on localhost that there's new novacoin block
# You can use this script directly as an variable for -blocknotify argument:
-# ./bitcoind -blocknotify="blocknotify.sh --password admin_password"
+# ./novacoind -blocknotify="blocknotify.sh --password admin_password"
# This is also very basic example how to use Stratum protocol in native Python
import socket
start = time.time()
-parser = argparse.ArgumentParser(description='Send notification to Stratum instance about new bitcoin block.')
+parser = argparse.ArgumentParser(description='Send notification to Stratum instance about new novacoin block.')
parser.add_argument('--password', dest='password', type=str, help='use admin password from Stratum server config')
parser.add_argument('--host', dest='host', type=str, default='localhost', help='hostname of Stratum mining instance')
parser.add_argument('--port', dest='port', type=int, default=3333, help='port of Stratum mining instance')