Lightning Nodes
Common questions and answers about Bitcoin Core integration
General
Q: What Bitcoin Core version is supported?
A: Bitcoin Core 24.0 and later.
Q: Is Bitcoin Core included with my node?
A: Yes, full Bitcoin Core access included with every Lightning node.
Q: Can I use my own Bitcoin Core node?
A: No, Comet provides managed Bitcoin Core infrastructure.
Q: What network is supported?
A: Both mainnet and testnet.
RPC Access
Q: How do I get RPC credentials?
A: comet bitcoin credentials --node_id
Q: What RPC methods are available?
A: All standard Bitcoin Core RPC methods.
Q: Are there rate limits?
A: Yes, 1000 requests/minute for standard accounts.
Q: Can I use bitcoin-cli?
A: Yes, with provided RPC credentials.
Wallets
Q: How do I create a wallet?
A: bitcoin-cli createwallet "wallet_name"
Q: Are descriptors supported?
A: Yes, descriptor wallets are recommended.
Q: Can I import existing wallets?
A: Yes, via seed phrase or private keys.
Q: How many wallets can I have?
A: No limit on wallet count.
Transactions
Q: What address types are supported?
A: Legacy, P2SH-SegWit, Native SegWit (Bech32), Taproot (Bech32m).
Q: What's the recommended address type?
A: Taproot (Bech32m) for new applications.
Q: How do I set transaction fees?
A: Use estimatesmartfee or settxfee.
Q: Can I use Replace-By-Fee (RBF)?
A: Yes, enable with replaceable=true parameter.
Blockchain
Q: Is the blockchain fully synced?
A: Yes, always synced to latest block.
Q: Can I query historical blocks?
A: Yes, full blockchain history available.
Q: What's the block time?
A: ~10 minutes average (Bitcoin network standard).
Q: Are there pruned nodes?
A: No, full archival nodes only.
Security
Q: Are RPC connections encrypted?
A: Yes, all connections use TLS.
Q: Should I expose RPC publicly?
A: No, use VPN or SSH tunnels for remote access.
Q: How do I secure my wallet?
A: Use encryptwallet command and strong passphrase.
Q: Are backups automatic?
A: Lightning backups are automatic. Export Bitcoin wallet backups manually.
Performance
Q: What's the RPC timeout?
A: 60 seconds default, configurable in client.
Q: Can I batch RPC calls?
A: Yes, use JSON-RPC batch requests.
Q: Are there caching mechanisms?
A: Yes, frequently accessed data is cached.
Troubleshooting
Q: Connection refused error?
A: Verify credentials and node status.
Q: Insufficient funds error?
A: Check wallet balance and UTXO availability.
Q: Transaction not confirming?
A: Check fee rate and mempool status. Use RBF to bump fee.
Q: Wallet not found?
A: Load wallet with loadwallet command.
Integration
Q: Which libraries are recommended?
A: Python: python-bitcoinrpc, JavaScript: bitcoin-core, Go: btcd/rpcclient
Q: Can I use with BTCPay Server?
A: Yes, configure BTCPay to use Comet RPC endpoint.
Q: Is there a REST API?
A: Bitcoin Core REST API is available alongside RPC.
Resources
Bitcoin Core RPC: https://developer.bitcoin.org/reference/rpc/
Comet Docs: https://docs.comet.dev/bitcoin-core
Support: support@comet.dev