aboutsummaryrefslogtreecommitdiff
path: root/doc/proposals/2022-07-permit-lack-of-witness-cosignatures.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/proposals/2022-07-permit-lack-of-witness-cosignatures.md')
-rw-r--r--doc/proposals/2022-07-permit-lack-of-witness-cosignatures.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/proposals/2022-07-permit-lack-of-witness-cosignatures.md b/doc/proposals/2022-07-permit-lack-of-witness-cosignatures.md
new file mode 100644
index 0000000..c0ac549
--- /dev/null
+++ b/doc/proposals/2022-07-permit-lack-of-witness-cosignatures.md
@@ -0,0 +1,13 @@
+# Proposal
+
+In api.md, ยง3.2:
+
+ - Permit that "key_hash" and "cosignature" are omitted by the log when there
+ are no witness cosignatures to set in the response.
+
+# Motivation
+
+It should be possible to return success on the get-tree-head-cosigned endpoint
+even if no witness provided a co-signature for the current to-cosign tree head.
+
+This change makes it possible to return 200 OK without witnesses.