☠️⚠️ Work In Progress ⚠️☠️
Bitcoind Watcher
Be notified when important things happen on the Bitcoin blockchain
Install
Add package to Cargo.toml file
bitcoind-watcher= "0.1.2"
Usage:
use BitcoindWatcher;
use LogLine;
const PATH_TO_LOG_FILE: &str = "/Users/joe/Library/Application Support/Bitcoin/debug.log";
type Callback = ;
let on_transaction_added_to_mempool: Callback = Boxnew;
let on_new_proof_of_work_valid_block: Callback = Boxnew;
let on_new_outbound_peer_connected: Callback = Boxnew;
new
.on_transaction_added_to_mempool
.on_new_proof_of_work_valid_block
.on_new_outbound_peer_connected
.run;
Related
- bitcoind-log-parser - Parse bitcoind log lones
License
MIT © Joe Gesualdo