wormhole.py: disable dilate() API until ready
more importantly, turn off the "we can do Dilation" advertisement for now, since we really can't
This commit is contained in:
parent
69bab3d814
commit
4083beeb6c
|
@ -192,6 +192,7 @@ class _DeferredWormhole(object):
|
||||||
return derive_key(self._key, to_bytes(purpose), length)
|
return derive_key(self._key, to_bytes(purpose), length)
|
||||||
|
|
||||||
def dilate(self):
|
def dilate(self):
|
||||||
|
raise NotImplementedError
|
||||||
return self._boss.dilate() # fires with (endpoints)
|
return self._boss.dilate() # fires with (endpoints)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
@ -275,6 +276,7 @@ def create(
|
||||||
"can-dilate": DILATION_VERSIONS,
|
"can-dilate": DILATION_VERSIONS,
|
||||||
"dilation-abilities": Connector.get_connection_abilities(),
|
"dilation-abilities": Connector.get_connection_abilities(),
|
||||||
}
|
}
|
||||||
|
wormhole_versions = {} # don't advertise Dilation yet: not ready
|
||||||
wormhole_versions["app_versions"] = versions # app-specific capabilities
|
wormhole_versions["app_versions"] = versions # app-specific capabilities
|
||||||
v = __version__
|
v = __version__
|
||||||
if isinstance(v, type(b"")):
|
if isinstance(v, type(b"")):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user