Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 5B702192E for ; 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 ; Wed, 3 Apr 2019 20:48:37 +0000 (UTC) Received: by mail-lj1-f176.google.com with SMTP id t4so111601ljc.2 for ; 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 Date: Wed, 3 Apr 2019 13:48:24 -0700 Message-ID: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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

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 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=E2=80=A8.<= /span>

=E2=80=A8

Having a standard described int= erfaces lets you generate documentation, generate RPC clients, test interfa= ces, across implementations.


Here i= s the proposal:

https://github.com/= bitcoin/bips/pull/776


Here is just= an example of what something like that would look like for Bitcoin:
ht= tps://github.com/bitcoin/bips/pull/776#issuecomment-479649785
=
--000000000000a0c90e0585a660e5--