From c631c1a653020d3f32b394773a8fe95d18c250e3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 27 Oct 2018 19:25:48 +0200 Subject: update API: auditor needs a few more fields --- api-auditor.rst | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'api-auditor.rst') diff --git a/api-auditor.rst b/api-auditor.rst index 72c2ac38..fcc4df80 100644 --- a/api-auditor.rst +++ b/api-auditor.rst @@ -63,6 +63,12 @@ know-your-customer (KYC) registration before issuing contracts. auditor_public_key: EddsaPublicKey; } + .. note:: + + This API is still experimental (and is not yet implemented at the + time of this writing). + + .. _exchange-list: ----------------------- @@ -186,12 +192,21 @@ paid out first. // Public signing key from the exchange matching @e exchange_sig. exchange_pub: EddsaPublicKey; - // Exchange master signature over @e exchange_sig. - master_sig: EddsaSignature; - // Master public key of the exchange corresponding to @e master_sig. // Identifies the exchange this is about. - master_public_key: EddsaPublicKey; + master_pub: EddsaPublicKey; + + // When does the validity of the exchange_pub end? + ep_start: Timestamp; + + // When will the exchange stop using the signing key? + ep_expire: Timestamp; + + // When does the validity of the exchange_pub end? + ep_end: Timestamp; + + // Exchange master signature over @e exchange_sig. + master_sig: EddsaSignature; } .. note:: -- cgit v1.2.3