Commit graph

11740 commits

Author SHA1 Message Date
Niels Andriesse
33a5e59415 Clean 2019-05-24 12:15:31 +10:00
Niels Andriesse
96c02864c8 Improve logging 2019-05-24 11:36:26 +10:00
Niels Andriesse
1fafa550f0 Fix message sending error handling 2019-05-24 11:24:27 +10:00
Niels Andriesse
f83fdcbf70 Update mock server IP 2019-05-24 09:55:34 +10:00
Niels Andriesse
b2f114cd94 Fix typo 2019-05-24 09:49:49 +10:00
Niels Andriesse
b20ac237b2 Fix PoW calculation 2019-05-24 09:32:55 +10:00
Niels Andriesse
fddee1db3d Fix non-millisecond value 2019-05-24 09:11:16 +10:00
Mikunj
f084c804c5 Fix ttl not being in milliseconds. 2019-05-23 16:24:58 +10:00
Niels Andriesse
ab06a1362e Update isCalculatingPoW on send failure 2019-05-23 16:15:04 +10:00
Niels Andriesse
fe9a32d1b9 Simplify swarm caching 2019-05-23 15:26:52 +10:00
Niels Andriesse
07fefc168f Fix crash 2019-05-23 15:09:29 +10:00
Niels Andriesse
0054489972 Update Pods 2019-05-23 14:40:55 +10:00
Niels Andriesse
9927fdb620 Fix build 2019-05-23 14:38:59 +10:00
Niels Andriesse
e350b5b776 Update Pods 2019-05-23 12:29:16 +10:00
Niels Andriesse
5af0ad03b9 Persist swarm cache & make access modifiers explicit 2019-05-23 12:28:35 +10:00
Niels Andriesse
cef9405473 Distinguish between minimum snode count and target snode count 2019-05-23 11:35:56 +10:00
Niels Andriesse
c938bb2448
Merge pull request #19 from loki-project/swarm-error-handling
Swarm Specific Error Handling
2019-05-23 09:50:07 +10:00
Niels Andriesse
8a9da51943 Implement swarm specific error handling 2019-05-23 09:44:46 +10:00
Niels Andriesse
5c481c38ba Update Pods 2019-05-22 16:05:48 +10:00
Niels Andriesse
1796fd8e60 Prepare for P2P logic integration 2019-05-22 16:04:51 +10:00
Niels Andriesse
24dd8335de
Merge pull request #18 from loki-project/p2p
P2p server
2019-05-22 14:32:09 +10:00
Niels Andriesse
20472c8bed Fix minor code style issues 2019-05-22 14:29:59 +10:00
Mikunj
8c8f6231a5 Fix ttl not being set in friend requests. 2019-05-22 13:24:13 +10:00
Niels Andriesse
08aac18384 Clean more 2019-05-22 13:09:01 +10:00
Mikunj
b5cc66262d Added ttl property on TSOutgoingMessage.
Use this ttl value when sending a message.
2019-05-22 13:00:32 +10:00
Niels Andriesse
dac9b28162 Clean 2019-05-22 12:43:37 +10:00
Mikunj
5a1272c23b Merge branch 'dev' into p2p 2019-05-22 12:42:00 +10:00
Niels Andriesse
9ab3e77243
Merge pull request #17 from loki-project/swarms
Swarms
2019-05-22 12:39:32 +10:00
Niels Andriesse
638cb62f5a Fix build 2019-05-22 12:29:14 +10:00
Niels Andriesse
d5b176d831 Mock swarms for now 2019-05-22 12:28:19 +10:00
Niels Andriesse
e1d2c48c9b Integrate swarm changes into message sending code 2019-05-22 12:24:20 +10:00
Mikunj
fc702e2420 Merge commit 'e5463e545ac6be6c13b9d3cf65d9105ad475b4dc' into p2p 2019-05-22 12:06:30 +10:00
Niels Andriesse
adcb469b53 Integrate swarm changes into message receiving code 2019-05-22 12:06:02 +10:00
Mikunj
2ae665f682 Bind to a random port if the default one is taken. 2019-05-22 11:52:32 +10:00
Niels Andriesse
e5463e545a Filter duplicate messages & make parsing strategy consistent 2019-05-22 11:32:32 +10:00
Mikunj
865bb1932f Added LokiP2PMessageHandler.
Moved wrapping and unwrapping of proto envelopes to LokiMessageWrapper.
2019-05-22 11:31:07 +10:00
Mikunj
748b7eff12 Start p2p server on app start.
Handle more cases in the p2p server.
2019-05-22 10:34:08 +10:00
Niels Andriesse
f3e2737043 Fix inconsistent function signatures 2019-05-22 09:36:35 +10:00
Mikunj
efa303abeb Fix mnemonic languages not being linked. 2019-05-22 09:16:03 +10:00
Niels Andriesse
4d2e299d6d Update Pods 2019-05-21 16:41:41 +10:00
Niels Andriesse
35bdf69053 Merge branch 'swarms' of github.com:loki-project/loki-messenger-ios into swarms 2019-05-21 16:41:05 +10:00
Niels Andriesse
b1e18de5e2 Implement swarm parsing 2019-05-21 16:40:31 +10:00
Mikunj
a32cdfeb10 Added LokiP2PServer 2019-05-21 16:32:03 +10:00
Mikunj
ab13940252 Added GCDWebServer. 2019-05-21 15:56:40 +10:00
Mikunj
167c154796 Fix up imports. 2019-05-21 15:47:19 +10:00
Mikunj
16b1622bea Updated imports. 2019-05-21 15:45:16 +10:00
Niels Andriesse
dc103c7bd6 Refactor 2019-05-21 15:21:51 +10:00
Mikunj
472113bccb Merge branch 'last-message-hash' into swarms 2019-05-21 14:45:34 +10:00
Mikunj
a12d36fb9e Set last hash in params. 2019-05-21 13:48:42 +10:00
Niels Andriesse
59de49641e Implement swarm caching 2019-05-21 13:44:46 +10:00