Skip to content

Conversation

@markspanbroek
Copy link
Contributor

@markspanbroek markspanbroek commented Apr 7, 2021

Adds rudimentary payments for bandwidth. Rationale for the design can be found in the RFC.

What it does:

  • it broadcasts a peer's Ethereum account
  • it broadcasts the price for downloading a chunk
  • opens payment channels between peers
  • it pays peers for received chunks

What it doesn't do yet:

  • check that chunk prices are acceptable
  • check whether received chunks were actually requested
  • stop sending chunks when payments are withheld
  • check whether payment channel is backed up by funds on blockchain
  • close payment channels
  • top up payment channels
  • use virtual payment channels

@markspanbroek markspanbroek marked this pull request as ready for review May 10, 2021 14:47
@markspanbroek markspanbroek merged commit 6bd4260 into main Jun 7, 2021
@markspanbroek markspanbroek deleted the payments branch June 7, 2021 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants