Vincenzo Palazzo
f1046e909b
attck: start basic architecture
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-04-19 13:46:40 -04:00
Vincenzo Palazzo
1d435f9f3b
meta: formatting go
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-04-19 12:55:50 -04:00
Vincenzo Palazzo
d0d0d4b6a5
scripts: small patch on scripts
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-04-19 12:55:34 -04:00
Vincenzo Palazzo
09352467fb
meta: add nix os has deps management
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-04-19 12:54:09 -04:00
Carla Kirk-Cohen
a4008a7868
Merge pull request #47 from sr-gi/cargo-template
...
Adds cargo template pointing to a custom version of tonic_lnd
2024-04-19 10:19:41 -04:00
Carla Kirk-Cohen
81b74f32a5
Merge pull request #46 from carlaKC/docker-cargo
...
setup: properly install rust + cargo + lncli
2024-04-19 10:17:18 -04:00
Sergi Delgado Segura
ac1b24aa86
Adds cargo template pointing to a custom version of tonic_lnd
...
We need the endorsement flag which is not included in the fedimint version
of tonic_lnd
2024-04-19 10:12:44 -04:00
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
5403dcc925
Merge pull request #45 from carlaKC/42-flagshiplncli
...
multi: install lncli from fork so that endorsement is available
2024-04-18 10:45:17 -04:00
Carla Kirk-Cohen
b9529eef42
Merge pull request #43 from carlaKC/ln100-update
...
Ln100 update
2024-04-18 09:35:47 -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
2d1c2a12bd
Merge pull request #41 from ellemouton/setEndorcedFieldForHodlHelper
...
templates/golang: set endorced field for JammingPayment AddInvoiceData
2024-04-18 09:14:16 -04:00
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
Elle Mouton
953abb7436
templates/golang: set endorced field for JammingPayment AddInvoiceData
...
Use the JammingPaymentReq.EndorseOutgoing field to potentially set
EndorseOutgoing on the SendPaymentRequest.
2024-04-17 13:43:31 -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