kyuupichan / aiorpcX

Generic async RPC implementation, including JSON-RPC
MIT License
27 stars 23 forks source link

Compressed block headers & merkle proofs over low bandwidth communications #31

Closed willcl-ark closed 4 years ago

willcl-ark commented 4 years ago

I have written up an Electrum Protocol proposal which seeks to improve both:

  1. Reduce RPC bandwidth requirements (compressed block headers + protobuf/CBOR)
  2. Reduce requirements of Clients making calls (removing block_height requirement)

The proposal can be found here: https://github.com/willcl-ark/electrum-low-bandwidth/blob/master/spec.adoc

I will cross-reference #12 , because it covers much of the same ground.

I am currently looking for feedback and would appreciate any comments on the proposal you may have.

@JeremyRand I notice in #12 there is some conversation on performance; do you have any data on how many requests some of the more active Electrum Servers are handling? I want to understand if serialisation performance can really be significant or not

willcl-ark commented 4 years ago

Closing and re-opening on ElectrumX, sorry