dashpay / platform

L2 solution for seriously fast decentralized applications for the Dash network
https://dashplatform.readme.io/docs/introduction-what-is-dash-platform
MIT License
67 stars 39 forks source link

DAPI: Remove additional indexes, the default masternode indexes are sufficient #1445

Closed kxcd closed 20 hours ago

kxcd commented 12 months ago

https://github.com/dashpay/platform/blob/ed354ca52969676f8231765fc04bbe02b1d9ba25/packages/dapi/doc/dependencies_configs/dash.conf#L8-L12

and

https://github.com/dashpay/platform/blob/ed354ca52969676f8231765fc04bbe02b1d9ba25/packages/dashmate/templates/core/dash.conf.dot#L39-L44

These indexes are NOT required for Masternodes aka EvoNodes running platform, two observations.

  1. A Masternode does not run a wallet at the same time, this is intentionally not a possible configuration.
  2. None of the RPCs (and I checked them all) require any special indices and the one that does getaddressutxos is for nodes running wallets, refer to 1.
shumkov commented 20 hours ago

It's done