pickhardtpayments icon indicating copy to clipboard operation
pickhardtpayments copied to clipboard

[WIP] ChannelDepletionSimulator.py Example

Open sebulino opened this issue 3 years ago • 1 comments

Template to include the simulation of payments on the ChannelGraph, extending the previous single period model to a multi period model.

Not included is the Channel Graph "listchannels20220412.json", residing in repo root.

sebulino avatar May 12 '22 14:05 sebulino

Simulation of payments in the Lightning Network

Setup

  • Definition of network that serves as OracleLightningNetwork
  • Definition of Strategies that the sending nodes act upon
  • Definition of number of runs
  • Definition of distribution of payment amounts
  • Creation of a collection of N payments (src, rcv, amount)

Behaviour

  • define strategy for routing: how many tries before calling it a failure (no route)
  • define when settlement failed, what to do next - retry or record failure

Metrics

  • what do we record when (and why)

sebulino avatar May 30 '22 13:05 sebulino