decred / dcrwallet

A secure Decred wallet daemon written in Go (golang).
https://decred.org
ISC License
211 stars 153 forks source link

multi: Expose disablerelaytx #2348

Closed matheusd closed 2 months ago

matheusd commented 2 months ago

This setting allows the wallet to not sync mempool transactions when in SPV mode. This is useful to reduce cpu, memory and bandwidth consumption for wallets that see very few useful mempool transactions, such as wallets meant for only occasional use or mobile wallets.

The setting is exposed as a CLI or config argument --spvdisablerelaytx.

Related: https://github.com/decred/dcrd/issues/3234