☠️⚠️ Work In Progress ⚠️☠️
Bitcoind Log Parser
Parse bitcoind logs into sensible data structures
Install
Add package to Cargo.toml file
-log-parser = "0.1.2"
bitcoind
Usage:
let bitcoind_log_line = "2022-07-13T15:03:16Z [msghand] New outbound peer connected: version: 70016, blocks=744841, peer=303, peeraddr=15.188.83.52:8333 (block-relay-only)";
// Parse the log line string into a LogLine datastructure
let log_line: LogLine = parse.unwrap;
// Match the type of log line and do something based on it
match &log_line.message
Related
- bitcoind-watcher - Be notified when important things happen on the Bitcoin blockchain
License
MIT © Joe Gesualdo