Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# pgp-words.py
# Copyright (C) 2015 Joe Ruether [email protected]
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@grubles
grubles / single_hop_throughput_test.py
Created January 25, 2021 17:50
single hop throughput test
from concurrent import futures
from fixtures import * # noqa: F401,F403
from time import time, sleep
from tqdm import tqdm
from pyln.testing.utils import sync_blockheight, wait_for
from pytest_benchmark.stats import Metadata
from contextlib import contextmanager
import itertools
import logging