change _nameops_ to _blockstack_ops_ where appropriate

This commit is contained in:
Jude Nelson
2018-09-27 17:44:25 -04:00
parent cf85372c6e
commit 0c29918c82
5 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ def make_xml_call(msg_len, gzipped=False):
"Content-Type: " + content_type + "\r\n" + content_encoding_str + \
"Content-Length: {}\r\n\r\n")
xml_part_header = "<?xml version='1.0'?><methodCall><methodName>get_nameops_hash_at</methodName><params><param><value><integer>"
xml_part_header = "<?xml version='1.0'?><methodCall><methodName>get_blockstack_ops_hash_at</methodName><params><param><value><integer>"
xml_part_trailer = "</integer></param></params></methodCall></xml>"
xml_part_payload = '0' * msg_len

View File

@@ -93,7 +93,7 @@ def check( state_engine ):
return False
# NOT renewed
num_ops = state_engine.get_num_nameops_at(renew_block)
num_ops = state_engine.get_num_blockstack_ops_at(renew_block)
if num_ops != 2:
print 'wrong number of ops at {}'.format(renew_block)
return False

View File

@@ -98,7 +98,7 @@ def check( state_engine ):
return False
# only 2 nameops
num_ops = state_engine.get_num_nameops_at(revoke_block)
num_ops = state_engine.get_num_blockstack_ops_at(revoke_block)
if num_ops != 2:
print 'wrong number of ops at {}'.format(revoke_block)
return False

View File

@@ -98,7 +98,7 @@ def check( state_engine ):
print 'got updated'
return False
num_ops = state_engine.get_num_nameops_at(update_block)
num_ops = state_engine.get_num_blockstack_ops_at(update_block)
if num_ops != 2:
print 'wrong number of ops at {}'.format(update_block)
return False

View File

@@ -94,7 +94,7 @@ def check( state_engine ):
return False
# transfer did not go through
num_ops = state_engine.get_num_nameops_at(transfer_block)
num_ops = state_engine.get_num_blockstack_ops_at(transfer_block)
if num_ops != 2:
print 'wrong number of ops at {}'.format(transfer_block)
return False