status-im / status-go

The Status module that consumes go-ethereum
https://status.im
Mozilla Public License 2.0
728 stars 249 forks source link

Introduce flag to enable/disable message history archive support in communities #2495

Closed 0x-r4bbit closed 2 years ago

0x-r4bbit commented 2 years ago

This is a sub task of the Community History Archives MVP.

Draft spec: https://github.com/status-im/specs/pull/164 Roadmap / Tasks: https://hackmd.io/@status-desktop/B1naRjxh_/%2FNeX8-q49TtqN18i4VkXRFw


There are three different cases that need to be covered:

  1. We need a general flag in status-go to turn community history archive support on/off. This is needed so mobile clients won't participate in serving community history archives.
  2. Community owners are expected to always provide community history archives, however this should still be possible to turn this off. So we need to add some sort of flag in the user settings
  3. Community member nodes may or may not participate in serving community history archives. They can either just request archives, or also seed archives. Ideally they all seed, but still, this needs to be configurable. This can be either done using the same flag mentioned in 2), or for more control, we could introduce an additional one
0x-r4bbit commented 2 years ago

Superseded by #2563 and #2564