Commit Graph

32 Commits

Author SHA1 Message Date
Vincenzo Palazzo d0d0d4b6a5
scripts: small patch on scripts
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-04-19 12:55:34 -04:00
Carla Kirk-Cohen bd0fa407e6
scripts: install warcli in start_network 2024-04-16 14:28:22 -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 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 2b313e2eab
multi: set target node by alias in start_attacker 2024-04-15 14:57:15 -04:00
Carla Kirk-Cohen 87b711a884
scripts: update docker logging 2024-04-15 11:50:44 -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 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 b96a44d16c
scripts: add temporary checkout of custom warnet branch 2024-04-11 16:06:54 -04:00
Carla Kirk-Cohen 2f49b06152
scripts: include list of node pubkeys in credentials export
This is information that we can only get with warcli, so we copy it
across while we're working externally with our credentials copying.
2024-04-10 17:10:58 -04:00
Carla Kirk-Cohen c58db1fd0f
scripts: fix docker detection in warnet stop 2024-04-10 15:52:22 -04:00
Carla Kirk-Cohen b952cfc0a6
scripts: add stop network script to pull down existing containers 2024-04-10 15:37:25 -04:00
Carla Kirk-Cohen 455df39a91
scripts: add node credentials to start attacker script 2024-04-09 14:33:06 -04:00
Carla Kirk-Cohen e7efc9c278
scripts: add sleep after bringing up warnet to give server time
See: https://github.com/carlaKC/attackathon/pull/8#issuecomment-2045314620
2024-04-09 14:33:05 -04:00
Carla Kirk-Cohen 2ff9a229a9
Merge pull request #6 from pinheadmz/credentials
Add armada lnd credentials to flagship container
2024-04-09 14:27:26 -04:00
Carla Kirk-Cohen 24998481fb
Merge pull request #7 from carlaKC/re-add-simln
setup: re-add simln and update warnet generation for master
2024-04-09 10:37:01 -04:00
Carla Kirk-Cohen a83a232ca0
scripts: re-add simln network export to start network
We were going to add it in warnet, ended up not doing that.
2024-04-08 16:18:41 -04:00
Matthew Zipkin e381ff2d67
Wait for L1 p2p in start_network 2024-04-06 09:10:41 -04:00
Matthew Zipkin 7f89443a0c
Add armada lnd credentials to flagship container 2024-04-05 15:57:52 -04:00
Carla Kirk-Cohen 906b8ef049
multi: add stop attacker script to pull down attacking namespace 2024-04-05 15:29:39 -04:00
Carla Kirk-Cohen 6e8ebe3f24
multi: add armarda instructions 2024-04-05 15:27:19 -04:00
Carla Kirk-Cohen 219e1f9c2a
start_network: mine blocks once lightning network is set up 2024-04-05 15:03:21 -04:00
Carla Kirk-Cohen 42ae84a9fe
multi: rename run attack to setup network 2024-04-05 15:03:20 -04:00
Carla Kirk-Cohen f1e9dc1ad6
multi: update scripts for k8s and simplify readme 2024-04-05 15:03:18 -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 a08a3dbda7
scripts: 💣 2024-03-28 16:38:09 -04:00
Carla Kirk-Cohen 90eff29917
scripts: fast-forward timestamps on every restart 2024-03-28 16:32:52 -04:00
Carla Kirk-Cohen ae81685fc0
multi: rename start network script 2024-03-28 16:24:00 -04:00
Carla Kirk-Cohen 91bc57eec7
readme: add instructions for local development bring up 2024-03-28 11:58:56 -04:00
Carla Kirk-Cohen 73071be742
scripts: add warnet install script 2024-03-28 11:28:14 -04:00