mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-24 22:45:20 +00:00
default pow to 12 (#418)
This commit is contained in:
@@ -17,7 +17,7 @@ object PoWPreferenceManager {
|
|||||||
|
|
||||||
// Default values
|
// Default values
|
||||||
private const val DEFAULT_POW_ENABLED = false
|
private const val DEFAULT_POW_ENABLED = false
|
||||||
private const val DEFAULT_POW_DIFFICULTY = 16 // Reasonable default for geohash spam prevention
|
private const val DEFAULT_POW_DIFFICULTY = 12 // Reasonable default for geohash spam prevention
|
||||||
|
|
||||||
// State flows for reactive UI
|
// State flows for reactive UI
|
||||||
private val _powEnabled = MutableStateFlow(DEFAULT_POW_ENABLED)
|
private val _powEnabled = MutableStateFlow(DEFAULT_POW_ENABLED)
|
||||||
|
|||||||
Reference in New Issue
Block a user