littleshop/Hostinger/BITCOIN_RESTORED_STATUS.md
SysAdmin e1b377a042 Initial commit of LittleShop project (excluding large archives)
- BTCPay Server integration
- TeleBot Telegram bot
- Review system
- Admin area
- Docker deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 15:07:38 +01:00

132 lines
3.2 KiB
Markdown

# Bitcoin Successfully Restored! ✅
**Date**: September 16, 2025
## Current Status
### ✅ Bitcoin Core is Running
- **Container**: btcpayserver_bitcoind
- **Status**: Active and syncing
- **Current Block**: ~253,371 (as of 18:32 UTC)
- **Target Height**: ~862,000 (mainnet current)
- **Sync Progress**: ~29% (will continue in background)
### ✅ Pruning Active
```
Prune configured to target 10000 MiB on disk for block and undo files.
```
- Maximum disk usage: 10GB
- Automatic old block cleanup
- Sufficient for payment processing
### ✅ BTCPay Integration
- BTCPay Server connected to Bitcoin node
- NBXplorer indexing transactions
- Ready to accept Bitcoin payments once synced
## Service Architecture
```
NPM (80/443) → BTCPay (8080) → NBXplorer → Bitcoin Core
PostgreSQL
```
## Container Status
| Service | Container | Status |
|---------|-----------|---------|
| Bitcoin | btcpayserver_bitcoind | ✅ Running |
| BTCPay | generated_btcpayserver_1 | ✅ Running |
| NBXplorer | generated_nbxplorer_1 | ✅ Running |
| Database | generated_postgres_1 | ✅ Running |
| Tor | tor | ✅ Running |
| Proxy | nginx-proxy-manager | ✅ Running |
## Monitoring Commands
### Check Sync Progress
```bash
ssh -p 2255 -i vps_hardening_key sysadmin@thebankofdebbie.giize.com
sudo docker logs btcpayserver_bitcoind | grep "Rolling forward" | tail -5
```
### Check Disk Usage
```bash
sudo docker exec btcpayserver_bitcoind du -sh /data
```
### View Bitcoin Logs
```bash
sudo docker logs btcpayserver_bitcoind --tail 50
```
## Configuration Files
### Docker Compose Override
Location: `/opt/btcpayserver-docker/docker-compose.override.yml`
```yaml
version: "3.6"
services:
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: |
prune=10000
maxmempool=300
dbcache=1000
maxconnections=40
rpcthreads=6
```
### Environment
Location: `/opt/.env`
- BTCPAY_CRYPTOS=btc
- NBITCOIN_NETWORK=mainnet
- BTCPAYGEN_CRYPTO1=btc
- NOREVERSEPROXY_HTTP_PORT=8080
## Next Steps
1. **Wait for Bitcoin Sync**
- Will take 12-24 hours to fully sync
- BTCPay will show "Bitcoin node is syncing" until complete
- Can still configure stores while syncing
2. **Configure BTCPay Store**
- Access: https://thebankofdebbie.giize.com (via NPM)
- Create admin account if not done
- Add store and configure Bitcoin wallet
3. **Optional: Add Monero**
- Install Monero plugin in BTCPay
- Configure existing Monero wallet
- Address: 49TnBo2VHbncxvrMFbX5uMS9mtAGkiG1L4N6i7MMz4MhA9AXfyRqBdmf1XrFtGXq2v2G72TNtiVFo2kot5SHnBBz3gwoMj9
## Troubleshooting
### If Bitcoin stops syncing:
```bash
sudo docker restart btcpayserver_bitcoind
```
### If disk space issues:
```bash
# Check actual usage
df -h /
sudo docker system df
# Clean if needed
sudo docker system prune -a
```
### If BTCPay can't connect to Bitcoin:
```bash
sudo docker restart generated_nbxplorer_1
sudo docker restart generated_btcpayserver_1
```
## Success Metrics
- ✅ Bitcoin container running
- ✅ Pruning enabled (10GB limit)
- ✅ Connected to BTCPay
- ✅ Blockchain syncing
- ✅ Accessible via web interface
**Bitcoin is successfully restored and operational!**