The Status module that consumes go-ethereum https://status.im
Go to file
Andrea Maria Piana 3a84afd0f1 Add replies to messages
Currently replies to messages are handled in status-react.
This causes some issues with the fact that sometimes replies might come
out of order, they might be offloaded to the database etc.

This commit changes the behavior so that status-go always returns the
replies, and in case a reply comes out of order (first the reply, later
the message being replied to), it will include in the messages the
updated message.

It also adds some fields (RTL,Replace,LineCount) to the database which
were not previously saved, resulting in some potential bugs.

The method that we use to pull replies is currently a bit naive, we just
pull all the message again from the database, but has the advantage of
being simple. It will go through performance testing to make sure
performnace are acceptable, if so I think it's reasonable to avoid some
complexity.
2020-04-16 15:51:28 +02:00
.dependabot Move to monorepo structure (#1684) 2019-11-21 17:19:22 +01:00
.github Move to monorepo structure (#1684) 2019-11-21 17:19:22 +01:00
.vscode Add go.formatFlags to VS Code settings 2020-01-16 13:18:36 +01:00
_assets expose the mailserver metrics port by default 2020-04-08 17:08:49 +02:00
_examples Explain how to run Waku node in README (#1921) 2020-04-09 18:33:53 +02:00
account Remove protocol and eth-node submodules (#1835) 2020-02-10 12:22:37 +01:00
api Make sure WakuEnabled is respected on upgrade 2020-03-30 15:28:16 +02:00
appdatabase Add replies to messages 2020-04-16 15:51:28 +02:00
bridge Reduce bridge logging (#1918) 2020-03-26 21:33:47 +01:00
build/bin
cmd Fix listen flag (#1897) 2020-03-10 13:40:35 +01:00
config update rendezvous nodes in configs 2020-03-17 15:47:07 +01:00
contracts Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
db Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
discovery Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
eth-node Update eth-node README (#1916) 2020-04-01 20:13:54 +02:00
exportlogs Upgrade geth to 1.9.5 and Whisper (#1617) 2019-10-04 17:21:24 +02:00
extkeys Upgrade extkeys (#1878) 2020-03-04 09:30:31 +01:00
lib Clarify situation between lib and mobile (#1909) 2020-03-24 11:22:55 +01:00
logutils Integrate Whisper-Waku bridge in status-go (#1854) 2020-02-18 12:21:01 +01:00
mailserver set archived_envelopes_total on start based on DB count 2020-04-09 13:08:14 +02:00
metrics Ignore full node flag when in topic mode 2020-03-23 15:10:07 +01:00
mobile Clarify situation between lib and mobile (#1909) 2020-03-24 11:22:55 +01:00
multiaccounts Enable waku node default 2020-03-30 10:52:30 +02:00
node Add example to demonstrate Whisper-Waku bridge (#1875) 2020-02-26 20:36:25 +01:00
notifier
params Fix listen flag (#1897) 2020-03-10 13:40:35 +01:00
peers Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
profiling
protocol Add replies to messages 2020-04-16 15:51:28 +02:00
rpc Nimbus node support 2020-01-20 13:15:17 +01:00
rtt rewrite mailserver systemd setup to a Makefile 2019-12-04 13:44:05 +01:00
services Allow to leave chat without removing it 2020-04-14 14:08:54 +02:00
signal Split shhext into shhext and wakuext (#1803) 2020-01-20 21:56:06 +01:00
sqlite Add persistent datasync, use single database and handle negotiated filters (#1580) 2019-08-27 14:04:15 +02:00
static Add replies to messages 2020-04-16 15:51:28 +02:00
t Add statusUpdate code (#1861) 2020-02-21 15:48:53 +01:00
timesource Nimbus node support 2020-01-20 13:15:17 +01:00
transactions Upgrade deps (#1892) 2020-03-09 08:55:58 +01:00
vendor Update go-ethereum to v1.9.5-status.9 (#1898) 2020-03-12 13:05:12 +01:00
waku Ignore full node flag when in topic mode 2020-03-23 15:10:07 +01:00
whisper acknowledge spelling 2020-02-28 13:27:00 +01:00
.codeclimate.yml add multi-account support (#1500) 2019-07-24 20:59:15 +02:00
.dockerignore
.gitignore Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
.golangci.yml Remove protocol and eth-node submodules (#1835) 2020-02-10 12:22:37 +01:00
.travis.yml migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
BOOTNODE.md docs: clarify purpose and describe ports 2020-02-06 18:44:23 +01:00
CONTRIBUTING.md
LICENSE.md
MAILSERVER.md expose the mailserver metrics port by default 2020-04-08 17:08:49 +02:00
Makefile Fix setup-dev target (#1926) 2020-04-06 09:54:06 +02: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 Add replies to messages 2020-04-16 15:51:28 +02:00
WAKU.md Create WAKU.md with spec support (#1855) 2020-02-21 17:56:15 +08:00
go.mod Update go-ethereum to v1.9.5-status.9 (#1898) 2020-03-12 13:05:12 +01:00
go.sum Update go-ethereum to v1.9.5-status.9 (#1898) 2020-03-12 13:05:12 +01:00