Andrea Maria Piana
c2e3f381ad
Bump version 0.36.1
2019-12-08 20:05:04 +02:00
Adam Babik
549fe06339
fix linter gocyclo error for bootnode
2019-12-06 10:59:29 +01:00
Gábor Lipták
891ce2b1b7
Update Travis badge in README to point to develop branch (only)
2019-12-06 10:11:42 +01:00
Andrea Maria Piana
fd49b0140e
Move to protobuf for Message type ( #1706 )
...
* Use a single Message type `v1/message.go` and `message.go` are the same now, and they embed `protobuf.ChatMessage`
* Use `SendChatMessage` for sending chat messages, this is basically the old `Send` but a bit more flexible so we can send different message types (stickers,commands), and not just text.
* Remove dedup from services/shhext. Because now we process in status-protocol, dedup makes less sense, as those messages are going to be processed anyway, so removing for now, we can re-evaluate if bringing it to status-go or not.
* Change the various retrieveX method to a single one:
`RetrieveAll` will be processing those messages that it can process (Currently only `Message`), and return the rest in `RawMessages` (still transit). The format for the response is:
`Chats`: -> The chats updated by receiving the message
`Messages`: -> The messages retrieved (already matched to a chat)
`Contacts`: -> The contacts updated by the messages
`RawMessages` -> Anything else that can't be parsed, eventually as we move everything to status-protocol-go this will go away.
2019-12-05 17:25:34 +01:00
Jakub Sokołowski
429d2b4291
create a Makefile for running a bootnode under systemd
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 13:44:05 +01:00
Jakub Sokołowski
99a5a4d7b7
add -genkey flag to bootnode for making new keys
...
also add -writeaddress for getting the public node address
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 13:44:05 +01:00
Jakub Sokołowski
e139af9a16
rewrite mailserver systemd setup to a Makefile
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 13:44:05 +01:00
Jakub Sokołowski
f4d4c66d5b
upgrade whisper: 1.6.1 > 1.6.2
...
This adds new Prometheus metrics
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-02 13:17:52 +01:00
Pedro Pombeiro
26b6d7c36a
Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend
2019-11-27 17:02:09 +01:00
Jakub Sokołowski
464c30a430
return rttMs as null on error
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-25 21:41:51 +01:00
Adam Babik
47ccf32cdb
Upgrade zap to v1.13.0 ( #1694 )
2019-11-25 21:16:00 +01:00
Roman Volosovskyi
5f6c7008e1
Add KeyUID to IdentifiedAccountInfo
...
This field will be used as a deterministic id of multiaccount on
status-react side instead of master key address. The reason why
it is calculated as sha256 of public key is that this way is
already used on keycard side and it will simplify integration.
Rename keycardKeyUid to keyUid
As long as this field will be present in all multiaccounts from now on it
shouldn't be named as keycard specific.
2019-11-22 17:50:24 +02:00
Adam Babik
10635d555f
Make extkeys as a submodule ( #1691 )
2019-11-22 13:58:03 +01:00
Adam Babik
e1a8ba1ba5
Fix modvendor ( #1690 )
2019-11-22 13:24:20 +01:00
Pedro Pombeiro
ed5a5c154d
Move to monorepo structure ( #1684 )
...
Move to a monorepo structure with submodules
- Rename status-protocol-go to status-go/protocol
2019-11-21 17:19:22 +01:00
Pedro Pombeiro
2dd74da23d
Integrate Nimbus status-protocol-go
2019-11-18 14:30:03 +01:00
Adam Babik
c199c8f342
Update Whisper and introduce rate limiting ( #1673 )
2019-11-18 11:22:23 +01:00
Pedro Pombeiro
6ce437255e
Remove FCM implementation
2019-11-17 17:54:55 +01:00
Jakub Sokołowski
009778929b
bump version to 0.34.0-beta.9
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-15 13:20:37 +01:00
Adam Babik
749dae1f9e
ignore C.char export error
2019-11-15 13:18:08 +01:00
Jakub Sokołowski
4c313c7032
add tcp-pinger for measuring rtt of mailservers
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-15 13:18:08 +01:00
Jakub Sokołowski
92d6b1c439
add systemd service leanup, fix config generation
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-15 11:30:23 +01:00
Andrea Maria Piana
9d7c570593
Add PrepareContent and upgrade status-go ( #1674 )
2019-11-15 09:52:28 +01:00
Andrea Maria Piana
89659f85b4
Upgrade status-protocol-go ( #1664 )
2019-11-08 08:36:12 +01:00
Andrea Maria Piana
9d6601207f
Bump version
2019-11-06 18:59:31 +01:00
Andrea Maria Piana
a659685e3f
Add parsed message ( #1660 )
...
This commits add a field (parsedMessage) to the json payload sent to
status-react.
This field is the parsed version of the transit message.
The code is all in dedup, I will re-organize it once we made all the
necesseary changes.
2019-11-06 17:23:11 +01:00
Corey
457acec72e
added name to batch loop so break works properly ( #1650 )
2019-11-06 09:12:05 -05:00
Adam Babik
a4a7ae21b5
bump 0.34.0-beta.5
2019-11-05 09:19:36 +01:00
Adam Babik
183d626256
Implement mailserver Deliver() with MessagesRequest ( #1653 )
...
The main difference is that it takes `whisper.MessagesRequest` as an argument instead of `whisper.Envelope`.
2019-11-04 21:15:21 +01:00
Jakub Sokołowski
c19f07f9e4
add a simple healtcheck for metrics endpoint
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-04 16:29:14 +01:00
Jakub Sokołowski
e311307061
bump version to 0.34.0-beta.4
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-04 13:19:10 +01:00
Jakub Sokołowski
c1f17cb4a3
use prometheus/client_golang for metrics
...
also re-implement mailserver metrics
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-04 13:18:50 +01:00
Andrea Maria Piana
9f2a4b378f
Verify ens endpoint, only against mainnet ( #1657 )
...
* String payload
* Verify ENS Names
* Update status-protocol-go
2019-11-04 11:08:22 +01:00
Jakub Sokołowski
46cd6e5118
add missing keystore init for node-canary
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-30 11:53:58 +01:00
Jakub Sokołowski
74e553b847
add test to check that version doesn't start with v
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-29 12:53:27 +01:00
Jakub Sokołowski
98c861cfe2
make sure Version is always set in loadNodeConfig()
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-29 12:53:27 +01:00
Adam Babik
81b0a7b29f
bump version to 0.34.0-beta.3
2019-10-15 16:36:57 +02:00
Adam Babik
c74c36742e
Log error in mailserver ( #1644 )
2019-10-15 16:33:58 +02:00
Adam Babik
019f124f6b
bump version 0.34.0-beta.2
2019-10-14 16:23:32 +02:00
Adam Babik
a244b01a26
Upgrade migrate ( #1643 )
2019-10-14 16:10:48 +02:00
Adam Babik
676602f2ed
bump version to 0.34.0-beta.1
2019-10-14 10:26:21 +02:00
Pedro Pombeiro
c874960215
Use status-protocol-go/bridge/geth ( #1638 )
...
* Use status-protocol-go/bridge/geth
2019-10-14 09:53:38 +02:00
Jakub Sokołowski
4fe317917e
create a /metrics endpoint for Prometheus
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-11 10:55:08 +02:00
Pedro Pombeiro
d87caf57e3
Add dependabot config file ( #1636 )
...
* Add dependabot config file
* Fix status-protocol-go dependency
2019-10-11 07:00:46 +02:00
Jakub Sokołowski
294399916e
add script for easier setup of mailserver
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-10 11:27:32 +02:00
Pedro Pombeiro
a2f106e4c5
Update for status-protocol-go API changes ( #1627 )
2019-10-09 16:22:53 +02:00
Adam Babik
e164cbe421
Upgrade Go to 1.13 in our Docker images ( #1629 )
2019-10-05 16:27:48 +02:00
Adam Babik
94228bce2e
Remove xgo builds ( #1628 )
2019-10-05 11:13:53 +02:00
Adam Babik
26880b83d7
Upgrade geth to 1.9.5 and Whisper ( #1617 )
2019-10-04 17:21:24 +02:00
Andrea Maria Piana
40e66e6186
upgrade status-protocol-go ( #1619 )
2019-09-26 11:26:33 +02:00