From 9d0690363372f2f2bcd701b9964ae011b0649a6b Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Tue, 30 Sep 2025 22:40:10 -0400 Subject: [PATCH] Remove database implementation details from crypto docs - Remove incorrect SQL index examples from DOGECOIN.md and MONERO.rst - Simplify Dogecoin node security section to reference make command - Stop leaking database schema details in user-facing documentation --- docs/DOGECOIN.md | 24 +----------------------- docs/MONERO.rst | 7 ------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/docs/DOGECOIN.md b/docs/DOGECOIN.md index 5ac5215..a52ca64 100644 --- a/docs/DOGECOIN.md +++ b/docs/DOGECOIN.md @@ -226,23 +226,8 @@ dogecoin-cli getwalletinfo ### Security Configuration **Node Security:** -```bash -# Production dogecoin.conf with security -server=1 -daemon=1 -# Strong RPC credentials -rpcuser=very_secure_username -rpcpassword=extremely_secure_password_123!@# -rpcallowip=127.0.0.1 -rpcport=22555 - -# Pruned mode for minimal storage -prune=2200 - -# Specific wallet for isolation -wallet=mps_wallet -``` +Use `make dogecoin-config` to generate a secure configuration file. The generated `dogecoin.conf` includes secure RPC credentials that must be changed for production use. **Network Security:** ```bash @@ -390,13 +375,6 @@ addnode=seed.multidoge.org addnode=seed.dogecoin.com ``` -**Database Optimization:** -```sql --- Index optimization for DOGE payment queries -CREATE INDEX idx_crypto_payment_doge_status ON mps_crypto_payment(coin_type, status) WHERE coin_type = 'DOGE'; -CREATE INDEX idx_crypto_payment_doge_address ON mps_crypto_payment(address) WHERE coin_type = 'DOGE'; -CREATE INDEX idx_crypto_payment_doge_created ON mps_crypto_payment(created_at) WHERE coin_type = 'DOGE'; -``` ### Alternative: Full Node Mode diff --git a/docs/MONERO.rst b/docs/MONERO.rst index 3088980..8a81d0d 100644 --- a/docs/MONERO.rst +++ b/docs/MONERO.rst @@ -415,13 +415,6 @@ Performance Tuning For high-volume shops, monero-wallet-rpc memory usage is minimal with remote nodes. The wallet only maintains account and subaddress data, not full transaction history. -**Database Optimization:** -:: - - # Index optimization for crypto payment queries - CREATE INDEX idx_crypto_payment_account_subaddr ON mps_crypto_payment(account_index, subaddress_index); - CREATE INDEX idx_crypto_payment_status_coin ON mps_crypto_payment(status, coin_type); - CREATE INDEX idx_crypto_payment_shop_created ON mps_crypto_payment(shop_id, created_at); Scaling Considerations ----------------------