Commit Graph

60 Commits

Author SHA1 Message Date
Carla Kirk-Cohen 84a8cf1153
setup: use release install so that lncli will use right arch 2024-04-19 09:42:38 -04:00
Carla Kirk-Cohen 9f25313cc2
setup: properly install rust + cargo 2024-04-18 18:48:31 -04:00
Carla Kirk-Cohen ffdee935b8
multi: install lncli from fork so that endorsement is available
Otherwise not surfaced if we use the release binary.
2024-04-18 09:25:05 -04:00
Carla Kirk-Cohen f850f53184
setup: build docker image even when data is not generated
Previously, building of the circuitbreaker image was coupled with
simln data generation. We may want to make other changes to
circuitbreaker, so we decouple the two. Provided that there's a data
file available, circuitbreaker's build should succeed without simln
needing to run every time.
2024-04-17 09:22:30 -04:00
Carla Kirk-Cohen f567664a37
multi: install correct bitcoin/lnd for arch 2024-04-16 11:12:41 -04:00
Carla Kirk-Cohen bf5880c3b8
setup: speed up gossip for armada 2024-04-15 11:55:38 -04:00
Carla Kirk-Cohen b3830216a2
setup: create bitcoin wallet for mining 2024-04-15 11:49:47 -04:00
Carla Kirk-Cohen b2a1876856
flagship: add golang and rust to container by default 2024-04-12 15:08:13 -04:00
Carla Kirk-Cohen d871225d4c
setup: get target pubkey and set env var in run script
Our target pubkey will change every time we boot warnet up, so grab
it right before we spin up our attacker containers and include as an
env var so people don't need to worry about fetching it.
2024-04-12 14:55:30 -04:00
Carla Kirk-Cohen 62a2bf485d
setup: use environment vars for creds 2024-04-12 14:54:35 -04:00
Carla Kirk-Cohen a0920ffe31
setup: install warnet outside of venv so that warcli works everywhere 2024-04-12 11:03:59 -04:00
Carla Kirk-Cohen b0aa27c9b4
Merge pull request #22 from carlaKC/connect-armarda
Connect armarda LND nodes to network
2024-04-11 13:30:53 -04:00
Carla Kirk-Cohen d2fa975c24
setup: include custom LND image in graph creation 2024-04-11 10:24:58 -04:00
Carla Kirk-Cohen 4fc4efb51a
setup: build multi-platform circuitbreaker images 2024-04-11 08:51:30 -04:00
Carla Kirk-Cohen d750de876c
multi: add script to connect to nodes in flagship dockerfile 2024-04-10 17:14:02 -04:00
Carla Kirk-Cohen 1b6acf391c
setup: add script to once-off fund LND nodes 2024-04-10 16:15:18 -04:00
Carla Kirk-Cohen 06da6ab4b3
setup: add aliases for lnd nodes in docker container 2024-04-10 16:15:17 -04:00
Carla Kirk-Cohen 8e16b65eb3
setup: add run script to dockerfile as placeholder for attacker code 2024-04-10 16:15:16 -04:00
Carla Kirk-Cohen aa43c88f63
setup: add dockerfile for flagship with utilities 2024-04-10 16:15:14 -04:00
Carla Kirk-Cohen 3eaf793407
setup: use LND container that has endorsement signaling present 2024-04-10 15:46:54 -04:00
Carla Kirk-Cohen 130cfe8191
setup: update aliases for lnd1/2 2024-04-10 12:06:17 -04:00
Carla Kirk-Cohen 975c919124
armarda: change extra host and domain for lightning 1/2 2024-04-10 11:02:11 -04:00
Carla Kirk-Cohen 6e4ea427e5
setup: provide docker tag even if new data is not generated 2024-04-10 08:36:19 -04:00
Carla Kirk-Cohen 439493bc74
setup: use docker image that contains the data we've generated 2024-04-09 11:26:06 -04:00
Carla Kirk-Cohen d11a0f5af9
setup: build docker image if re-generated data for simulation 2024-04-09 11:26:05 -04:00
Carla Kirk-Cohen 919a1d8ae9
setup: silence warnet logs 2024-04-09 10:35:23 -04:00
Carla Kirk-Cohen 25d73a1670
warnet: remove cb_data flag from import-json
We'll be passing the data directly into the container, remove warning
because we're no longer running on a branch.
2024-04-09 10:25:02 -04:00
Carla Kirk-Cohen d9a1f6bc13
setup: do not progress data timestamps in setup
This will be done by circuitbreaker image.
2024-04-09 10:25:01 -04:00
Carla Kirk-Cohen 6bc675b342
setup: make simln data generation optional in setup 2024-04-09 10:25:00 -04:00
Carla Kirk-Cohen c2048b4c65
setup: insert simln in warnet graphml file
Warnet can only modify edges, so we need to manually update this file.
2024-04-09 10:24:58 -04:00
Carla Kirk-Cohen d7548894e3
setup: use correct flag for sim-ln clock speedup 2024-04-08 16:18:16 -04:00
Carla Kirk-Cohen 753bddd80e
Merge pull request #2 from m3dwards/add-armada
Adds armada ns, pods and services
2024-04-05 15:27:09 -04:00
Carla Kirk-Cohen 97bbdd2c65
setup: upgrade log level for sim ln to info (debug noisy) 2024-04-05 12:47:32 -04:00
Carla Kirk-Cohen b6fa1959ea
setup: exit with failure if can't checkout right branch 2024-04-05 12:47:31 -04:00
Carla Kirk-Cohen 80594ede27
setup: update id to pubkey (as is used in LND - old graphs were wrong) 2024-04-05 12:47:31 -04:00
Carla Kirk-Cohen 4ede6fe5e2
setup: add speedup to data generation 2024-04-05 12:47:30 -04:00
Max Edwards 9d2606f34b adds armada ns, pods and services 2024-04-05 14:21:49 +01:00
Carla Kirk-Cohen 3e48966b93
setup: update branch for sim-ln 2024-04-04 16:43:38 -04:00
Carla Kirk-Cohen 334969d429
setup: output timestamps in ns not in seconds 2024-04-01 14:32:04 -04:00
Carla Kirk-Cohen a751d86b95
setup: add todo for checking out own branch of warnet 2024-03-28 17:56:08 -04:00
Carla Kirk-Cohen 7abb429ec9
data: check in example ln_10 files 2024-03-28 17:54:24 -04:00
Carla Kirk-Cohen 238a815939
scripts: introduce network name to store files in specific dir 2024-03-28 17:53:10 -04:00
Carla Kirk-Cohen 5644d5b4b7
setup: complete the owl, add warnet graph generation 2024-03-28 17:29:09 -04:00
Carla Kirk-Cohen b4480b6fdd
setup: script that runs sim-ln for specified time 2024-03-28 17:09:36 -04:00
Carla Kirk-Cohen 33d15fb35d
setup: script creates simln data 2024-03-28 16:52:15 -04:00
Carla Kirk-Cohen 6313561e9e
setup: add output file to setup LND 2024-03-28 16:47:39 -04:00
Carla Kirk-Cohen 939a3c4399
setup: include headers in ts progression (cb is expecting it) 2024-03-28 16:41:21 -04:00
Carla Kirk-Cohen 4b23047517
setup: update progress timestamps to have a target output file 2024-03-28 16:00:59 -04:00
Carla Kirk-Cohen 4d3c725d77
setup: sort by short channel id before processing to match LND 2024-03-28 09:21:58 -04:00
Carla Kirk-Cohen 09bfd8b24f
setup: revert pub_key to id
LND uses pub_key, so we should probably keep as-is, but we're currently
generating as id when we reduce the graph.
2024-03-28 08:42:53 -04:00