Files
stacks-puppet-node/blockstack_cli/blockstack_registrar/registration_loop.py
Muneeb Ali ebf4931c2a Started a new repository for blockchain operations (separate from coinrpc):
-- Support for registering, transferring, and updating names
-- Tools for registering names in bulk (given a csv file)
-- Support for running as a service/daemon
2014-06-24 14:27:02 -07:00

19 lines
387 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from tools.onename_register import check_new_registrations
from tools.onename_activate import do_name_firstupdate
from time import sleep
POLLING_INTERVAL = 10
#-----------------------------------
if __name__ == '__main__':
while(1):
check_new_registrations()
do_name_firstupdate()
print "sleeping ... "
sleep(POLLING_INTERVAL)