1
0
Fork 0
mirror of https://github.com/bitcoin-s/bitcoin-s.git synced 2025-03-26 21:42:48 +01:00
This commit is contained in:
rorp 2020-01-14 14:10:19 -08:00
parent 9c4965e43b
commit 7e77499087

View file

@ -14,6 +14,15 @@ import scala.concurrent.duration.DurationInt
import scala.concurrent.{ExecutionContext, Future}
import scala.util.{Failure, Success}
/**
* This test spins up one test node and [[NetworkSize]] sender nodes, which open channels with the test one.
* Then each sender node sends [[PaymentCount]] payments to the test node one by one. For each payment the
* test node generates an invoice and the send node pays it using `sendtonode` API call.
*
* The test keeps track of times when a payment was initiated, when the payment ID was received,
* and when the corresponding web socket event was received. It writes all results into [[OutputFileName]]
* in CSV format.
*/
object EclairBench extends App with EclairRpcTestUtil {
import PaymentLog._