probe_radicle.sh 390 B

1234567891011121314
  1. #!/bin/bash
  2. # No need for a real passphrase as the node will be deleted right after
  3. # it connects to the target seed node. It is set in an environment variable
  4. # so that rad node start can access it.
  5. export RAD_PASSPHRASE="unused_passphrase"
  6. echo "$RAD_PASSPHRASE" | rad auth --stdin --alias "probe"
  7. echo "Starting node"
  8. rad node start
  9. echo "Probing $TARGET"
  10. rad node connect "$TARGET"