1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
Return-Path: <jonas.shane@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 5B702192E
for <bitcoin-dev@lists.linuxfoundation.org>;
Wed, 3 Apr 2019 20:48:38 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com
[209.85.208.176])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id CF499712
for <bitcoin-dev@lists.linuxfoundation.org>;
Wed, 3 Apr 2019 20:48:37 +0000 (UTC)
Received: by mail-lj1-f176.google.com with SMTP id t4so111601ljc.2
for <bitcoin-dev@lists.linuxfoundation.org>;
Wed, 03 Apr 2019 13:48:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=gKs0ypMVBo7AM2RxqxPGQDY6C00gJRe6gbbtl5ij2Zs=;
b=sQzEQStd7P23nfYMbha1/jok807UrGVRuaSzs3uZvWzXfIMoyPX7KZ3M0zvUTxB2Ce
nT1eZfSfGR5YWIlSvICoOvFAWI/xcQN6k9M4+HgWQ4zesSGFraGyPqJlvSvH0x4ZXq6H
OOqK8/aL3J8W1NFOyIjR6iRuZq52PkM+aR3hnrGrBWKgp2uYtVHjawfhvzNwqZyAvr8O
MLwXQtGaBDikCXzndCaVjwbKZpVoJddK890Lw3PUfaAv/hyoPGCRp4LAO50Cf3a2OoAi
DwYaogxVVPinnTc92KzZe/aHXmLCfsMnCDfMl/UV8RKaAtuP8fzCzBHEXt0ETjoH9qL5
F+eQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=gKs0ypMVBo7AM2RxqxPGQDY6C00gJRe6gbbtl5ij2Zs=;
b=qZ3YV59s+bNKik9g6bHzCNqQfqewXZ7mJ1zqjPdrbtKsecYgbbpLSZzSi5uUl8/ZBH
DRRm5MHn/irLR6Js4HG5E5gmmMo+wEPNp0nRCZMzQfPcfWl5BuozN96QLqpTlrJb4q+F
6RcughWpuKLzuxJ9hcfF3jW2RUx4bBo+VkLN7h10gv6QEQ/qKYUuyBSq4YYORlw1i5Ao
haLOnYR6Qfore/z8C0oGbrpztjWy0eVE4clOa8SH9BZFYAHD/3CorZl1A5UM89PxgniF
GJs8CrUvjcDs2Z/xMaTdmFTM9o2rYOOJzU0slfU8bF88vilKalBSAeX/cq1YxOgXSE+n
/i0A==
X-Gm-Message-State: APjAAAXaSRlpDr2QnmfIpQVz+WKpPRzSogDG0/G5GZK/1DI/5h3myM2P
325V90X4Ju/ZlUSUVPl22SgR08Lq4iAAvAO20eomsKBZ
X-Google-Smtp-Source: APXvYqz4PazBU2x0Aei1cC7/9TqNBQpX5SWsmSQRfmvDPJJOgQ7FsHoC7b36icqgbhGxc1wabo4mKVPNSia3SfYFTis=
X-Received: by 2002:a2e:b01a:: with SMTP id y26mr1068133ljk.38.1554324515766;
Wed, 03 Apr 2019 13:48:35 -0700 (PDT)
MIME-Version: 1.0
From: Shane Jonas <jonas.shane@gmail.com>
Date: Wed, 3 Apr 2019 13:48:24 -0700
Message-ID: <CA+1vstqKjj5yE=zRRe=ZX+1ynTH2ox8kfLGyBr5HyrzmfnW_mA@mail.gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: multipart/alternative; boundary="000000000000a0c90e0585a660e5"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
X-Mailman-Approved-At: Wed, 03 Apr 2019 20:57:21 +0000
Subject: [bitcoin-dev] Add OpenRPC Service Discovery To JSON-RPC Services
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Apr 2019 20:48:38 -0000
--000000000000a0c90e0585a660e5
Content-Type: text/plain; charset="UTF-8"
Similar to how Bitcion has BIPs to normalize bitcoin wallets, this is a
proposal to normalize the Bitcoin RPC Interface.
Just one example of the problems that arise: If a client doesn't provide
getblock or doesn't work in the same way it will have
unintended consequences .
Having a standard described interfaces lets you generate documentation,
generate RPC clients, test interfaces, across implementations.
Here is the proposal:
https://github.com/bitcoin/bips/pull/776
Here is just an example of what something like that would look like for
Bitcoin:
https://github.com/bitcoin/bips/pull/776#issuecomment-479649785
--000000000000a0c90e0585a660e5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">
<p class=3D"gmail-p1" style=3D"margin:0px;font-variant-numeric:normal;font-=
variant-east-asian:normal;font-stretch:normal;line-height:normal"><font fac=
e=3D"Helvetica Neue"><span style=3D"font-size:12px">Similar to how Bitcion =
has BIPs to normalize bitcoin wallets, this is a proposal to normalize the =
Bitcoin RPC Interface.<br><br></span></font><span style=3D"font-family:&quo=
t;Helvetica Neue";font-size:12px">Just one example of the problems tha=
t arise: If a client doesn't=C2=A0provide getblock or doesn't=C2=A0=
work in the same way it will have unintended=C2=A0consequences</span><span =
style=3D"font-family:"Helvetica Neue";font-size:12px">=E2=80=A8.<=
/span><br style=3D"font-family:"Helvetica Neue""></p><p class=3D"=
gmail-p1" style=3D"margin:0px;font-variant-numeric:normal;font-variant-east=
-asian:normal;font-stretch:normal;line-height:normal"><font face=3D"Helveti=
ca Neue"><span style=3D"font-size:12px">=E2=80=A8</span></font></p><p class=
=3D"gmail-p1" style=3D"margin:0px;font-variant-numeric:normal;font-variant-=
east-asian:normal;font-stretch:normal;line-height:normal"><font face=3D"Hel=
vetica Neue"><span style=3D"font-size:12px">Having a standard described int=
erfaces lets you generate documentation, generate RPC clients, test interfa=
ces, across implementations.</span></font></p><p class=3D"gmail-p1" style=
=3D"margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;f=
ont-stretch:normal;line-height:normal"><br></p><p class=3D"gmail-p1" style=
=3D"margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;f=
ont-stretch:normal;line-height:normal"><font face=3D"Helvetica Neue">Here i=
s the proposal:</font></p><p class=3D"gmail-p1" style=3D"margin:0px;font-va=
riant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;lin=
e-height:normal"><font face=3D"Helvetica Neue"><span style=3D"font-size:12p=
x"><a href=3D"https://github.com/bitcoin/bips/pull/776">https://github.com/=
bitcoin/bips/pull/776</a></span></font></p><div><br></div><div>Here is just=
an example of what something like that would look like for Bitcoin:<br><a =
href=3D"https://github.com/bitcoin/bips/pull/776#issuecomment-479649785">ht=
tps://github.com/bitcoin/bips/pull/776#issuecomment-479649785</a><br></div>=
</div></div></div>
--000000000000a0c90e0585a660e5--
|