mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-26 22:25:11 +08:00
support for greedily filling the subdomain cache by querying blockstack core for new zonefiles
This commit is contained in:
@@ -284,7 +284,7 @@ def store_zonefile_data_to_storage( zonefile_text, txid, required=None, skip=Non
|
||||
log.debug("Failed to cache zonefile %s" % zonefile_hash)
|
||||
|
||||
# NOTE: this can fail if one of the required drivers needs a non-null txid
|
||||
res = blockstack_client.storage.put_immutable_data( zonefile_text, txid, data_hash=zonefile_hash, required=required, skip=skip )
|
||||
res = blockstack_client.storage.put_immutable_data( zonefile_text, txid, data_hash=zonefile_hash, required=required, skip=skip, required_exclusive=True )
|
||||
if res is None:
|
||||
log.error("Failed to store zonefile '%s' for '%s'" % (zonefile_hash, txid))
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user