salvus.flow.acta.memo.publish
salvus.flow.acta.memo.publish salvus flow acta memo publish Publish cached results through shared content-store bindings.
A result blob records its envelope key and output references. Binding the key to this blob lets other machines discover the result.
Functions
publish()
publish()def publish(
store: ContentStoreBase, key: str, output_refs: Mapping[str, Any]
) -> str: ...Write a result blob for key and bind the key to it.
Repeated publication replaces the key’s binding; the last write wins.
Parameters
storeContentStoreBase — Where to write the blob and the binding.keystr — The envelope key this result was computed for.output_refsMapping[str, Any] — Mapping from output name to digest(s).
Returns str — The digest of the result blob.
resolve()
resolve()def resolve(store: ContentStoreBase, key: str) -> dict[str, Any] | None: ...Return the published output_refs for key, or None.
Return None for missing, invalid, unsupported, or unreadable results,
including results whose output data is missing.
Parameters
storeContentStoreBase — The store to consult, nearest tier first.keystr — The envelope key to resolve.
Returns dict[str, Any] | None