upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/relay/build.sh
blob: 7796523c0458dc70bfac8e51ee5d622b81acf15b (plain)
1
2
3
4
5
6
#!/usr/bin/env bash
# Build the Bitflash rendezvous relay (bitflashd) on Linux. No dependencies
# beyond a C++ compiler -- the relay only forwards bytes, it holds no keys.
set -e
g++ -std=gnu++14 -O2 -pthread bitflashd.cpp btfrv.cpp -o bitflashd
echo "built ./bitflashd  --  run it with:  ./bitflashd <port>   (e.g. ./bitflashd 8434)"