Files
stacks-puppet-node/blockstack_cli/blockstack_registrar/tools/registration_loop.py
Muneeb Ali c439fe6f38 major update to blockdata package
-- added a new registration daemon (for fetching data from the new DB)
-- updated the old register/activate/update functions to work with the new setup
-- fixed a bug in getting keys for data blobs (wasn't re-using keys)
2014-07-01 01:13:22 -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)