aboutsummaryrefslogtreecommitdiff
path: root/doc/proposals/2022-07-permit-lack-of-witness-cosignatures.md
blob: c0ac54936fd0bb975eb2212e5accc5e38aa182a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.