[go: up one dir, main page]

Draft: Contrib: add Taquito-rpc-bin placeholder

DO NOT MERGE

STATUS: Do not merge, we are checking licensing information and compatibility.

Context

Build a package that may replace taquito-rpc, using binary RPC instead of Json RPC.

This MR firstly contains a copy of the NPM package named taquito-rpc. That copy has been pruned to some extent and renamed taquito-rpc-bin. The intention is to use kaitai to provide functions to decode binary data provided by the node (instead of json data). If this is successful, Taquito will have a new feature: query the node using binary RPC instead of Json RPC.

Some clear expected consequences are:

  • the queried node may treat more requests (because binary RPC requires less from the node, both in terms of computing power and in terms of network usage)
  • the Javascript client will have a greater load (because it'll have to decode binary into Javascript, instead of being able to directly use Json data). However it is expected that a JavaScript client never performs enough RPC requests for that load increase to be problematic.

Once the JavaScript bindings are available, we can start using those to finish building taquito-rpc-bin.

Manually testing the MR

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Raphaël Proust

Merge request reports

Loading