Skip to content

Instantly share code, notes, and snippets.

@tpruvot
tpruvot / blocknotifybridge.go
Created February 20, 2016 06:22 — forked from davecgh/blocknotifybridge.go
Naive bridge to listen for blockconnected notifications and invoke an executable.
// Copyright (c) 2016 The btcsuite developers
// Copyright (c) 2015-2016 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package main
import (
"io/ioutil"
"log"