Skip to content

Instantly share code, notes, and snippets.

@esomore
esomore / generate_blocks.sh
Created November 14, 2024 06:12 — forked from System-Glitch/generate_blocks.sh
Tutorial for bitcoin regtest
# Script to generate a new block every minute
# Put this script at the root of your unpacked folder
#!/bin/bash
echo "Generating a block every minute. Press [CTRL+C] to stop.."
address=`./bin/bitcoin-cli getnewaddress`
while :
do
@esomore
esomore / main.go
Created June 24, 2018 23:47
bifrost stellar setup-script
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"strconv"
"time"