citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

blocksubmit (164B)


      1 #!/usr/bin/env bash
      2 set -eou pipefail
      3 
      4 . /home/jb55/.nncpenv
      5 
      6 res=$(xxd -p | tr -d '\n' > /tmp/blocks/$1)
      7 
      8 #if [ $res == "prev-blk-not-found" ]; then
      9 #	exit 42
     10 #fi