aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-07-20 14:27:10 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-07-20 15:00:45 +0200
commitbf2fe5fec86d91d10d8ac1cb93de9c428f7add56 (patch)
tree6e21ae6e0825d09b55f57f90e65da961d47ba48f /doc
parent3d9267e2aa91e8785f550c13888207ec7a1b4657 (diff)
add permit lack of witness cosignatures proposal
Diffstat (limited to 'doc')
-rw-r--r--doc/proposals/2022-07-permit-lack-of-witness-cosignatures13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/proposals/2022-07-permit-lack-of-witness-cosignatures b/doc/proposals/2022-07-permit-lack-of-witness-cosignatures
new file mode 100644
index 0000000..c0ac549
--- /dev/null
+++ b/doc/proposals/2022-07-permit-lack-of-witness-cosignatures
@@ -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.