willyd61/nautobot-v2-custom-metrics-old/operations

Claude Code and agent skill by willyd61/nautobot-v2-custom-metrics-old

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Running Bitcoin Core in production: bitcoin.conf reference, sections, pruning, signet, dbcache, mempool tuning, network bind, Tor, IBD considerations, debug.log analysis. USE WHEN: deploying a node, tuning performance, debugging IBD issues, configuring multi-network nodes.

Install

npx vskill@latest install willyd61/nautobot-v2-custom-metrics-old/operations

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as willyd61/nautobot-v2-custom-metrics-old/operations.

Running Bitcoin Core

Configuration file

~/.bitcoin/bitcoin.conf (Linux/macOS) or %APPDATA%\Bitcoin\bitcoin.conf (Windows). Optional -conf= flag.

Section markers
ini
# Top-level: applied to all networks
dbcache=4096
[main]
# Mainnet-only
prune=550
[test]
# Testnet
[signet]
# Signet
[regtest]
# Regtest

The chain=test/signet/regtest cmdline flag selects active network. Without [section], top-level options apply universally.

Key options
OptionEffect
dbcache=4096UTXO cache MB. Default 450. Larger = faster IBD; 4-8 GB ideal during sync, can drop to 450 after.
prune=550Min disk MB. 550 keeps last ~3 days. After IBD, reduces from ~600 GB to ~5 GB. Mutually exclusive with txindex.
txindex=1Maintains full tx index. Required for getrawtransaction of arbitrary txs. ~80 GB extra disk.
blockfilterindex=1BIP157/158 filters; needed for Electrs/Neutrino. ~6 GB extra.
coinstatsindex=1Pre-computed UTXO set stats. ~1 GB.
assumevalid=<hash>Skip script validation up to this block. Default in source.
assumeutxo=...Fast IBD via committed UTXO snapshot.
maxmempool=1000Mempool MB. Default 300.
mempoolfullrbf=0Default in 28.0+ is 1 (true).
permitbaremultisig=0Reject bare multisig outputs (default).
rpcbind=127.0.0.1:8332RPC interface bind.
rpcallowip=192.168.1.0/24Subnets allowed to call RPC.
bind=0.0.0.0:8333P2P listen interface.
listen=1, listenonion=1Listen for inbound.
whitelist=download@127.0.0.1Privileged peer (disable rate limits, etc.)
proxy=127.0.0.1:9050SOCKS5 proxy (Tor).
onlynet=onionTor-only (no clearnet peers).
i2psam=127.0.0.1:7656I2P SAM bridge.
cjdnsreachable=1Treat fc00::/7 IPv6 as reachable via CJDNS.

Initial Block Download (IBD)

Phases:

  1. Header sync — fast, all headers from a single peer.
  2. Block download — parallel download from multiple peers.
  3. Block validation — script verify, UTXO set update.

Tips:

  • Use a fast SSD; HDD adds days.
  • dbcache=4096 (or higher with RAM) speeds up phase 3 dramatically.
  • Bandwidth: ~600 GB. Restrict via maxuploadtarget= if metered.
  • After IBD, you can shrink dbcache to 450.

Pruning vs txindex

  • Pruned (550-15000 MB):
  • Fast disk usage; minimal historical access.
  • Cannot serve old blocks to peers (becomes NODE_NETWORK_LIMITED).
  • Cannot run Electrs / serve historical getrawtransaction.
  • Full (no prune):
  • ~700 GB disk + growing.
  • Can serve any block to peers.
  • Required for indexers.
  • txindex=1:
  • Adds ~80 GB.
  • Required for arbitrary getrawtransaction.
  • Cannot combine with prune.

For a Lightning node: full + blockfilterindex=1 is typical (no txindex needed; LDK/CLN use filter scan).

Tor configuration

ini
proxy=127.0.0.1:9050
onlynet=onion
listenonion=1
bind=127.0.0.1

bitcoind auto-creates a Tor v3 hidden service via torcontrol (needs controlport=9051 + cookie auth or password in torrc).

debug.log

Located at ~/.bitcoin/debug.log (or ~/.bitcoin/<chain>/debug.log).

Categories: getrawtransaction, mempool, net, prune, validation, zmq. Enable verbosity:

ini
debug=mempool
debug=validation

Or all: debug=1. Performance impact moderate.

Key patterns:

  • UpdateTip: — new block.
  • received block — block arrival.
  • txn-already-known — duplicate broadcast.
  • bad-txns-inputs-missingorspent — invalid input.
  • Pre-allocating up to ... — file allocation messages.

systemd unit

ini
[Unit]
Description=Bitcoin Core
After=network-online.target
[Service]
ExecStart=/usr/local/bin/bitcoind -daemon -conf=/etc/bitcoin/bitcoin.conf
ExecStop=/usr/local/bin/bitcoin-cli stop
Type=forking
PIDFile=/var/lib/bitcoind/bitcoind.pid
User=bitcoin
Group=bitcoin
Restart=on-failure
[Install]
WantedBy=multi-user.target

Backup considerations

  • wallet.dat (legacy) or wallets/<name>/wallet.dat (descriptor).
  • For descriptor wallets: backup is just the descriptors + private

keys (listdescriptors true).

  • Stop bitcoind before file copy or use backupwallet RPC for

consistent snapshot.

Common bugs

  • Setting dbcache=8000 on a system with 4 GB RAM → OOM.
  • Using txindex=1 and prune=N>0 simultaneously → bitcoind exits

on startup.

  • Multi-wallet without explicit rpcwallet parameter → RPC fails

with "Wallet file not specified".

  • rpcbind=0.0.0.0 without firewall → exposes RPC to internet.

Always pair with rpcallowip= or use SSH tunnel.

  • Insufficient dbcache during IBD → 4x slower sync.

See also

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/willyd61/nautobot-v2-custom-metrics-old/operations/badge)](https://verified-skill.com/skills/willyd61/nautobot-v2-custom-metrics-old/operations)

Something wrong with this skill or its page? Tell us.