From af06adb0bb5ee4104c43bb2ce99b9018b14feebe Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 25 Jun 2023 02:54:02 +0000 Subject: [PATCH] doc(dashcore): note rpcconnect, update indexing times --- dashcore-utils/dash.example.conf | 5 +++++ dashd/README.md | 24 ++++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/dashcore-utils/dash.example.conf b/dashcore-utils/dash.example.conf index 5c31e50..57f7532 100644 --- a/dashcore-utils/dash.example.conf +++ b/dashcore-utils/dash.example.conf @@ -6,8 +6,11 @@ spentindex=1 [main] rpcuser=RPCUSER_MAIN rpcpassword=RPCPASS_MAIN +# to run on multiple interfaces, use multiple config lines +# ex: bind=127.0.0.1:9999 and bind=10.0.0.100:9999) bind=127.0.0.1:9999 rpcbind=127.0.0.1:9998 +rpcconnect=127.0.0.1:9998 rpcallowip=127.0.0.1/16 zmqpubrawtx=tcp://127.0.0.1:28332 zmqpubrawtxlock=tcp://127.0.0.1:28332 @@ -17,6 +20,7 @@ rpcuser=RPCUSER_TEST rpcpassword=RPCPASS_TEST bind=127.0.0.1:19999 rpcbind=127.0.0.1:19998 +rpcconnect=127.0.0.1:19998 rpcallowip=127.0.0.1/16 zmqpubrawtx=tcp://127.0.0.1:18009 zmqpubrawtxlock=tcp://127.0.0.1:18009 @@ -26,6 +30,7 @@ rpcuser=RPCUSER_REGTEST rpcpassword=RPCPASS_REGTEST bind=127.0.0.1:19899 rpcbind=127.0.0.1:19898 +rpcconnect=127.0.0.1:19898 rpcallowip=127.0.0.1/16 zmqpubrawtx=tcp://127.0.0.1:18809 zmqpubrawtxlock=tcp://127.0.0.1:18809 diff --git a/dashd/README.md b/dashd/README.md index 3fd33d2..36ab86e 100644 --- a/dashd/README.md +++ b/dashd/README.md @@ -10,10 +10,10 @@ etc). ### Recommended Hardware -- 100GB Block Storage +- 100GB+ Block Storage - 8GB RAM - 4 vCPUs -- 4 hours for initial sync +- **30 hours** for initial sync ### Files @@ -97,21 +97,27 @@ corrupt the data and require starting over (see below) For **mainnet**: - 100GB Block Storage Volume \ - (min 40GB as of 2022, plus 4GB/year) + - minimum of 40GB (blockchain) + 50GB (indexes) as of 2023 + - plus 4-8GB per year - 8GB RAM \ (min 4GB RAM + 4GB swap, otherwise it crashes during indexing) - 4 vCPUs \ - (min 2x 2.0GHz vCPUs) + (min 2x 2.0GHz vCPUs, higher clock speed is better than more cors) - 100 megabit network -- 4 hours to sync and index in ideal conditions +- 28-30 hours to sync and index in ideal conditions + - minimum of 4 hours to sync + - approximately 28 hours to index regardless of sync time For **testnet**: -- 10GB Block Storage Volume \ - (min 4GB as of 2022, plus 400MB/year) +- 20GB Block Storage Volume \ + - min 4GB (blockchain) + 5 GB (indexes) as of 2022 + - plus 0.5-1GB/year - 2GB RAM - 1 vCPU -- 1 hour to sync and index in ideal conditions +- 4 hours to sync and index in ideal conditions + - 1 hour to sync + - about 4 hours to index regardless of sync time ### How to configure `dash.conf` @@ -130,6 +136,7 @@ rpcuser=alice rpcpassword=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx bind=127.0.0.1:9999 rpcbind=127.0.0.1:9998 +rpcconnect=127.0.0.1:9998 rpcallowip=127.0.0.1/16 zmqpubrawtx=tcp://127.0.0.1:28332 zmqpubrawtxlock=tcp://127.0.0.1:28332 @@ -139,6 +146,7 @@ rpcuser=alice-test rpcpassword=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy bind=127.0.0.1:19999 rpcbind=127.0.0.1:19998 +rpcconnect=127.0.0.1:19998 rpcallowip=127.0.0.1/16 zmqpubrawtx=tcp://127.0.0.1:18009 zmqpubrawtxlock=tcp://127.0.0.1:18009