You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,13 @@ Monitor and analyze the emergent behaviors of Bitcoin networks.
5
5
6
6
## Major Features
7
7
8
-
* Launch a bitcoin network with a specified number of nodes connected to each other according to a network topology from a specification file.
9
-
* Nodes are assigned random "reachable" IP addresses in the 100.0.0.0/8 subnet which ensures randomized `addrman` bucketing [by Bitcoin Core.](https://github.com/bitcoin/bitcoin/blob/8372ab0ea3c88308aabef476e3b9d023ba3fd4b7/src/addrman.h#L66) (docker only)
8
+
* Launch a bitcoin network with a specified number of nodes connected to each other according to a network topology from a graphml file.
10
9
* Scenarios can be run across the network which can be programmed using the Bitcoin Core functional [test_framework language](https://github.com/bitcoin/bitcoin/tree/master/test/functional).
11
10
* Nodes can have traffic shaping parameters assigned to them via the graph using [tc-netem](https://manpages.ubuntu.com/manpages/trusty/man8/tc-netem.8.html) tool.
12
-
*Log files from nodes can be accessed directly
13
-
*A unified log file can be grepped using regex
14
-
*Container resource metrics are reported via a Graphana dashboard.
15
-
*P2P messages between any two nodes can be retrieved in chronological order.
11
+
*Data from nodes can be collected and searched including log files and p2p messages.
12
+
*Performance data from containers can be monitored and visualized.
13
+
*Lightning Network nodes can be deployed and operated.
14
+
*Small networks can be deployed locally with Docker Compose, larger networks can be deployed remotely with Kubernetes
*`x` specifies the node's x position when rendered in a GUI
43
-
*`y` specifies the node's y position when rendered in a GUI
44
-
*`version` specifies the node's Bitcoin Core release version, or GitHub branch
45
-
*`bitcoin_config` is a comma-separated list of values the node should apply to it's bitcoin.conf, using bitcoin.conf syntax
46
-
*`tc_netem` is a `tc-netem` command as a string beginning with "tc qdisc add dev eth0 root netem"
47
-
48
-
`version` should be either a version number from the pre-compiled binary list on https://bitcoincore.org/bin/**or** a branch to be compiled from GitHub using `<user>/<repo>#<branch>` syntax.
| version | node | string || Bitcoin Core version with an available Warnet tank image on Dockerhub. May also be a GitHub repository with format user/repository:branch to build from source code |
68
+
| image | node | string || Bitcoin Core Warnet tank image on Dockerhub with the format repository/image:tag|
69
+
| bitcoin_config | node | string || A string of Bitcoin Core options in command-line format, e.g. '-debug=net -blocksonly' |
70
+
| tc_netem | node | string || A tc-netem command as a string beginning with 'tc qdisc add dev eth0 root netem' |
71
+
| exporter | node | boolean | False | Whether to attach a Prometheus data exporter to the tank |
72
+
| collect_logs | node | boolean | False | Whether to collect Bitcoin Core debug logs with Promtail |
73
+
| build_args | node | string || A string of configure options used when building Bitcoin Core from source code, e.g. '--without-gui --disable-tests' |
74
+
| ln | node | string || Attach a lightning network node of this implementation (currently only supports 'lnd') |
75
+
| ln-image | node | string || Specify a lightning network node image from Dockerhub with the format repository/image:tag|
76
+
| ln-cb-image | node | string || Specify a lnd Circuit Breaker image from Dockerhub with the format repository/image:tag|
77
+
| channel | edge | number || Indicate that this edge is a lightning channel with this specified capacity |
2023-11-18T16:58:28.826Z INFO [sim_lib] Started random activity producer for warnet_ln_000001(02318b...c7bf05): activity generator for capacity: 100000000 with multiplier 2: 52.63157894736842 payments per month (0.07309941520467836 per hour).
90
90
2023-11-18T16:58:28.826Z INFO [sim_lib] Started random activity producer for warnet_ln_000002(0393aa...9804d5): activity generator for capacity: 50000000 with multiplier 2: 26.31578947368421 payments per month (0.03654970760233918 per hour).
0 commit comments