Carla Kirk-Cohen
52111220b1
data: updated ln_100 graph file
2024-04-18 08:49:10 -04:00
Carla Kirk-Cohen
4ac8849730
data: update target node in ln_100 to new index
2024-04-17 17:43:32 -04:00
Carla Kirk-Cohen
09a1f6cdfa
data: add new simln file for ln_100
2024-04-17 17:43:09 -04:00
Carla Kirk-Cohen
b14c041a91
data: update ln_100 graph to latest version with correct node count
...
(off by 1)
2024-04-17 17:43:05 -04:00
Carla Kirk-Cohen
f854522c6b
readme: add jq requirement and note required wait for start_network
2024-04-17 17:29:30 -04:00
Carla Kirk-Cohen
4568818e0e
Merge pull request #40 from carlaKC/update-ln_10
...
Always build docker image and update ln_10
2024-04-17 09:55:47 -04:00
Carla Kirk-Cohen
485b986a12
data: update ln_10 graphml
...
No material change, but network regeneration makes random changes.
2024-04-17 09:32:27 -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
05d76e64f0
simln: update cltv_expiry_delta to 18 rather than 10
...
Manually updated this value in the past because LND does not allow
setting 10 via its apis. This change is from running our network
setup script.
2024-04-17 09:12:11 -04:00
Carla Kirk-Cohen
bd0fa407e6
scripts: install warcli in start_network
2024-04-16 14:28:22 -04:00
Carla Kirk-Cohen
98c4301494
Merge pull request #39 from carlaKC/warnet-main
...
scripts: use warnet main rather than personal branch
2024-04-16 13:45:08 -04:00
Carla Kirk-Cohen
ac4b6b31a5
scripts: use warnet main rather than personal branch
2024-04-16 13:13:21 -04:00
Carla Kirk-Cohen
7ccaa82885
Merge pull request #37 from carlaKC/flagship-arch
...
multi: install bitcoin/lnd for arch
2024-04-16 11:16:53 -04:00
Carla Kirk-Cohen
f567664a37
multi: install correct bitcoin/lnd for arch
2024-04-16 11:12:41 -04:00
Carla Kirk-Cohen
6b27c2aa5b
Merge pull request #36 from carlaKC/exclude-target
...
scripts: exclude target node from simln payment activity
2024-04-16 10:10:48 -04:00
Carla Kirk-Cohen
00ae7b65a4
scripts: exclude target node from simln payment activity
...
We're aiming to test a routing node for this attackathon, so we
exclude it from our simln export - this means that it won't
send/receive payments, but will forward on behalf of other nodes.
2024-04-16 09:47:20 -04:00
Carla Kirk-Cohen
027a63aeba
scripts: update start_attacker to pull target from data dir
2024-04-16 09:47:19 -04:00
Carla Kirk-Cohen
82da1eb870
data: hardcode target alias for ln_10 and ln_100
...
Manually store our target node in target.txt for each node. We should
add this to our create_network script, but manual will have to do for
now.
2024-04-16 09:39:10 -04:00
Carla Kirk-Cohen
5310f3b382
Merge pull request #27 from carlaKC/template-golang
...
templates: add template golang repo
2024-04-16 09:09:59 -04:00
Carla Kirk-Cohen
06342f1ce4
main: add template to write jamming program
2024-04-15 15:45:31 -04:00
Carla Kirk-Cohen
8534c55cb3
graph: add wait wait for channel utility
...
We need to wait till the channels that we've opened are in the
graph before we can use them.
2024-04-15 15:45:30 -04:00
Carla Kirk-Cohen
f543a06d60
graph: add close all channels utils
2024-04-15 15:45:29 -04:00
Carla Kirk-Cohen
e3d06ebd64
multi: add open channel utility
2024-04-15 15:45:28 -04:00
Carla Kirk-Cohen
35fa9fa540
multi: add jamming harness with payment utility to send and hold htlcs
2024-04-15 15:45:27 -04:00
Carla Kirk-Cohen
b618b15b9b
golang: add getnode for lndnodes struct for easy access
2024-04-15 15:45:26 -04:00
Carla Kirk-Cohen
d98c6c5078
multi: add main and connect to LND using env vars
2024-04-15 15:45:25 -04:00
Carla Kirk-Cohen
f54a2c931a
templates: add script to copy and run golang program
2024-04-15 15:45:24 -04:00
Carla Kirk-Cohen
1e07f6f297
Merge pull request #34 from carlaKC/set-target
...
multi: set target node by alias in start_attacker
2024-04-15 14:58:38 -04:00
Carla Kirk-Cohen
2b313e2eab
multi: set target node by alias in start_attacker
2024-04-15 14:57:15 -04:00
Carla Kirk-Cohen
bf5880c3b8
setup: speed up gossip for armada
2024-04-15 11:55:38 -04:00
Carla Kirk-Cohen
87b711a884
scripts: update docker logging
2024-04-15 11:50:44 -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
bc58e8d832
Merge pull request #32 from carlaKC/target-pk
...
setup: add target pubkey to run script and use environment vars
2024-04-12 14:58:12 -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
ccacd0486b
Merge pull request #30 from carlaKC/elle-feedback
...
scripts: Improve docker desktop confirmation and add manual okay
2024-04-12 12:16:42 -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
5f6497d817
scripts: add confirmation for docker setup
...
It can really bork things up if you run with the wrong start command,
so get manual confirmation that we've detected the right env.
2024-04-12 11:03:58 -04:00
Carla Kirk-Cohen
a039064019
scripts: use operating system docker info rather than context
...
Elle reported that her Context is default, so the script tried to
run minikube instructions instead.
2024-04-12 10:59:24 -04:00
Carla Kirk-Cohen
8afbbbda6c
readme: add warning about client libraires
2024-04-11 16:45:55 -04:00
Carla Kirk-Cohen
5c789b74f9
readme: generalize abuse of mitigation to jam
2024-04-11 16:38:57 -04:00
Carla Kirk-Cohen
99bdb2584b
Merge pull request #28 from carlaKC/18-temp-addwarnetbranch
...
scripts: add temporary checkout of custom warnet branch
2024-04-11 16:11:44 -04:00
Carla Kirk-Cohen
350012cc5d
readme: add link for enabling k8s for docker desktop
2024-04-11 16:10:17 -04:00
Carla Kirk-Cohen
b96a44d16c
scripts: add temporary checkout of custom warnet branch
2024-04-11 16:06:54 -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
6d3487fc22
Merge pull request #25 from carlaKC/17-custom-lnimg
...
setup/graph: add custom LND image to import graph
2024-04-11 13:30:02 -04:00
Carla Kirk-Cohen
94eb984016
data: update graph files to contain custom LND image
2024-04-11 10:24:59 -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
4a889f0e74
gitignore: ignore all CSV files
...
Now that we're copying data into our CB images, we don't need this
data checked in. It also requires git LFS, so we don't bother (will
also make the repo very slow to pull).
2024-04-11 10:24:49 -04:00