The Status module that consumes go-ethereum https://status.im
Go to file
Samuel Hawksby-Robinson e67592d556
Sync Settings (#2478)
* Sync Settings

* Added valueHandlers and Database singleton

Some issues remain, need a way to comparing incoming sql.DB to check if the connection is to a different file or not. Maybe make singleton instance per filename

* Added functionality to check the sqlite filename

* Refactor of Database.SaveSyncSettings to be used as a handler

* Implemented inteface for setting sync protobuf factories

* Refactored and completed adhoc send setting sync

* Tidying up

* Immutability refactor

* Refactor settings into dedicated package

* Breakout structs

* Tidy up

* Refactor of bulk settings sync

* Bug fixes

* Addressing feedback

* Fix code dropped during rebase

* Fix for db closed

* Fix for node config related crashes

* Provisional fix for type assertion - issue 2

* Adding robust type assertion checks

* Partial fix for null literal db storage and json encoding

* Fix for passively handling nil sql.DB, and checking if elem has len and if len is 0

* Added test for preferred name behaviour

* Adding saved sync settings to MessengerResponse

* Completed granular initial sync and clock from network on save

* add Settings to isEmpty

* Refactor of protobufs, partially done

* Added syncSetting receiver handling, some bug fixes

* Fix for sticker packs

* Implement inactive flag on sync protobuf factory

* Refactor of types and structs

* Added SettingField.CanSync functionality

* Addressing rebase artifact

* Refactor of Setting SELECT queries

* Refactor of string return queries

* VERSION bump and migration index bump

* Deactiveate Sync Settings

* Deactiveated preferred_name and send_status_updates

Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 18:47:00 +00:00
.dependabot Patch/dependabot protocol (#1980) 2020-05-19 00:14:02 +01:00
.github Update github-bot.yml 2021-09-17 11:23:05 +02:00
.vscode Add go.formatFlags to VS Code settings 2020-01-16 13:18:36 +01:00
_assets gen_config.sh: add default retenetion of 30 days 2022-01-25 19:28:54 +01:00
_docs 🖼 Set any url as profile picture (useful for NFTs) (#2367) 2021-09-21 14:30:44 +05:30
_examples go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
account linting and remove unused code 2021-07-20 10:57:38 +02:00
api Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
appdatabase Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
appmetrics feat: enable wallet without network binding (#2349) 2021-09-09 16:28:54 +02:00
build/bin add .gitkeep to build/bin so it always exists 2019-03-05 14:22:00 +01:00
cmd Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
common Move services to status-node 2021-07-20 10:57:38 +02:00
config chore: add status.prod fleet (#2583) 2022-03-11 15:48:51 -05:00
connection Handle connection state 2021-05-21 07:22:58 +02:00
contracts chore: remove contract function bodies since we only need their signatures 2022-03-08 08:32:46 -04:00
db Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
discovery feat: obtain external address for rendezvous (#2333) 2021-09-06 09:46:35 -04:00
eth-node fix: code review 2022-03-03 15:37:07 -04:00
exportlogs Upgrade geth to 1.9.5 and Whisper (#1617) 2019-10-04 17:21:24 +02:00
extkeys Upgrade geth 2021-07-20 10:57:38 +02:00
images 🖼 Set any url as profile picture (useful for NFTs) (#2367) 2021-09-21 14:30:44 +05:30
logutils Removed unnecessary dependency from logutil package 2021-08-19 11:35:40 +02:00
mailserver Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
metrics metrics: fix p2p_peers_count metrics labels 2021-08-24 11:07:39 +02:00
mobile Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
multiaccounts Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
node Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
nodecfg Intrododuce `NodeConfig.TorrentConfig` and CLI flags 2022-03-21 12:59:09 +01:00
notifier Notifier package to interact with gorush notifications (#910) 2018-05-08 16:30:03 +02:00
params Intrododuce `NodeConfig.TorrentConfig` and CLI flags 2022-03-21 12:59:09 +01:00
peers feat: Rpc client manage multiple eth client (#2359) 2021-09-22 13:49:20 -04:00
postgres Anon Metrics Broadcast (#2198) 2021-09-01 13:02:18 +01:00
profiling Add profiling with pprof (#754) 2018-03-23 14:58:40 +01:00
protocol Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
rpc feat: extract node config from settings to individual tables (#2470) 2022-01-12 16:04:43 -04:00
rtt rewrite mailserver systemd setup to a Makefile 2019-12-04 13:44:05 +01:00
server load audio from http server 2022-03-01 15:58:32 +01:00
services Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
signal Intrododuce `NodeConfig.TorrentConfig` and CLI flags 2022-03-21 12:59:09 +01:00
sqlite Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
static Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
t Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
telemetry feat: Push messages to telemetry server when receiving messages 2021-11-10 09:34:14 +01:00
timesource Move services to status-node 2021-07-20 10:57:38 +02:00
transactions feat: ens register api (#2473) 2022-01-14 12:17:31 +01:00
vendor chore: bump go-waku 2022-03-23 09:34:59 -04:00
waku Wait for p2p messages to be processed 2021-12-01 12:58:46 +00:00
wakuv2 feat: switch fleet 2022-03-22 18:47:07 -04:00
.codeclimate.yml fix: exclude migrations from codeclimate (#2284) 2021-07-22 14:04:21 -04:00
.dockerignore Ignore *.test files from all folders (#635) 2018-02-08 14:23:08 +02:00
.gitignore feat: add visual identity service (#2550) 2022-03-11 16:17:48 -05:00
.golangci.yml Remove protocol and eth-node submodules (#1835) 2020-02-10 12:22:37 +01:00
.travis.yml Remove e2e tests from steps 2021-07-20 10:57:38 +02:00
BOOTNODE.md docs: clarify purpose and describe ports 2020-02-06 18:44:23 +01:00
CMakeLists.txt fix: cmakelist 2021-09-23 11:31:59 -04:00
CONTRIBUTING.md Update team collaboration forum (#1946) 2020-04-21 08:12:01 +01:00
LICENSE.md Create LICENSE.md 2016-09-21 10:00:29 +08:00
MAILSERVER.md rcp.sh: curl wrapper for easier RPC calls 2021-08-24 11:23:25 +02:00
Makefile chore: add soname to libstatus.so 2021-09-29 09:45:29 -04:00
README.md Explain how to run Waku node in README (#1921) 2020-04-09 18:33:53 +02:00
RELEASING.md update RELEASING docs links to CI (#1506) 2019-06-28 10:37:34 +02:00
VERSION Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
WAKU.md Create WAKU.md with spec support (#1855) 2020-02-21 17:56:15 +08:00
go.mod Backup communities 2022-03-23 14:45:52 +00:00
go.sum chore: bump go-waku 2022-03-23 09:34:59 -04:00