Skip to content

Commit 96f871c

Browse files
committed
BIP 171: Stub Linked Data Signatures support
1 parent 51384ca commit 96f871c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bip-0171.mediawiki

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ All matching parameters may be specified with multiple comma-separated values, w
2626
Each result is always in JSON format, with a line-feed (never a carriage-return) separating multiple results.
2727

2828
Authentication for subscription-based services MAY be supported using standard HTTP authentication.
29-
It is recommended to use TLS (HTTPS), so that MITM attackers cannot deceive the client.
29+
It is recommended to use TLS (HTTPS) and/or Linked Data Signatures, so that MITM attackers cannot deceive the client.
3030

3131
To be BIP 171 compatible, servers MUST support at least one currency-pair compared to XBT.
3232
All inquiries for bitcoin amounts MUST be specified in XBT, even if the presentation to the end user is in another unit.
@@ -59,6 +59,7 @@ Each currency-pair will receive a separate result, a JSON Object, with the follo
5959
* ''base'' - The currency code for the base currency.
6060
* ''locale'' - If provided, a String with the applicable Unicode CLDR locale.
6161
* ''desc'' - Optional description. For example, it could be "Based on Florida BTM prices." or any other short String that provides information useful to the user. SHOULD be shorter than 45 characters.
62+
* ''signature'' - Optional. May be used for Linked Data Signatures.
6263
6364
Example:
6465

@@ -92,6 +93,7 @@ Each currency-pair will receive a separate result, a JSON Object, with the follo
9293
* ''longpoll'' - If provided and true, indicates longpolling is supported by the server.
9394
* ''history'' - If provided, indicates the server has historical records going back no earlier than the POSIX timestamp provided as a value.
9495
* ''archive'' - If provided, indicates the server no longer has current rates, and has no historical rates more recent than the POSIX timestamp provided as a value.
96+
* ''signature'' - Optional. May be used for Linked Data Signatures.
9597
9698
Example:
9799

@@ -116,6 +118,7 @@ Each currency-pair receives a separate result (a JSON Object) with all requested
116118
* ''time'' - The time (as a POSIX timestamp) the rate information is applicable to (should be approximately the request time).
117119
* ''rates'' - A JSON Object with each rate type provided as a key, and a Number as the value specifying the rate.
118120
* ''nonce'' - Only if the request specified a nonce, the server SHOULD include it here as a JSON String.
121+
* ''signature'' - Optional. May be used for Linked Data Signatures.
119122
120123
Example:
121124
@@ -191,3 +194,7 @@ While this new standard is adopted, software and providers can continue to use a
191194
==Reference implementation==
192195
193196
TODO
197+
198+
==See also==
199+
200+
* [https://w3c-dvcg.github.io/ld-signatures/ Draft W3c Linked Data Signatures specification]

0 commit comments

Comments
 (0)