Commit Graph

3197 Commits (372a13a2b875a00d7a9c2bd96b01589fed51cecb)

Author SHA1 Message Date
Beaudan 580931c4fb Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey 6 years ago
Beaudan 676cebdce4 Fix async 6 years ago
sachaaaaa 37e95cf7d2 remove unnecessary await 6 years ago
sachaaaaa c53633e367 Clearnet p2p with https (no verification yet) 6 years ago
Beaudan eb1fa97c9c Make use of ip consistent for random snode pool and swarm list 6 years ago
Beaudan ee260f7de0 Fix silly filtering bug, add filtering for swarm nodes and lint 6 years ago
Beaudan 96f7949ac8 Update endpoint for storage server and p2p 6 years ago
Beaudan Campbell-Brown 436af1a990
Merge pull request #313 from BeaudanBrown/random-list
Random list
6 years ago
Beaudan c5c01b0ac8 Purge retrieving snodes 7 years ago
Beaudan d82b5e1998 Remove random snodes if they fail and then try again. Throw seed node error if getRandomSnodeAddress fails. Filter out 0.0.0.0 nodes. 7 years ago
Beaudan 923d7ffe27 Change to get_n_service_nodes method 7 years ago
Beaudan d12f6b6d32 Handle swarm nodes the same for us or contacts, attach our key to message api object 7 years ago
Beaudan Campbell-Brown 4330e48185
Merge pull request #307 from BeaudanBrown/fix-self-note
Fix not to self
7 years ago
Beaudan e1d2484797 Can't update conversation that hasn't been created yet 7 years ago
Beaudan ab15a4afd6 Review moving status setting to conversation init 7 years ago
Beaudan 3bb9d888dc Initialise conversation with ourselves as friends and don't allow it to be changed to anything else 7 years ago
Beaudan 94b125f2cf Consider friend requests that are still being sent as sent 7 years ago
Beaudan ca31649207 Trial value wasn't being initialised big enough for very low difficulty, also development should not have been there but I don't think it was doing anything 7 years ago
Beaudan 0948a344d2 Review refactor 7 years ago
Beaudan d5546b9473 Lint 7 years ago
Beaudan b6b0248e9d Retrieve from seed 7 years ago
Beaudan 1f74088586 Send to IP 7 years ago
Beaudan 6b2b9ce926 Remove default port and use port from storage server responses 7 years ago
Beaudan eea2b8e6a7 Do port null check inside rpc call 7 years ago
Beaudan 52c191fc94 Merge branch 'development' into clearnet 7 years ago
sachaaaaa 9d6c5bff36 make unverified https queries to the snodes 7 years ago
Beaudan 7141847dfb Restart sendMessage logic if PoW changed an dfix NaN bug 7 years ago
Beaudan f01d8088b7 Remove development PoW 7 years ago
Beaudan dad52a784d Change wrong pow http response 7 years ago
Beaudan dbcaaf98dc Lint 7 years ago
Beaudan c27d1ef69a Clean some stuff in loki_rpc and get new difficulty from successful requests 7 years ago
Beaudan e520bf109a Persist PoW difficulty and update if get response from snodes 7 years ago
Beaudan Campbell-Brown e9b1359bab
Merge pull request #295 from BeaudanBrown/refactor-sendmessage
Refactor sendmessage
7 years ago
Beaudan 18a87d5463 Review changes 7 years ago
Beaudan Campbell-Brown fd6f6c6a8c
Merge pull request #290 from Mikunj/loki-profile
Convert profile field in DataMessage to use LokiProfile
7 years ago
Beaudan c02d5d4053 Lint 7 years ago
Beaudan 709db4bf54 Make sendMessage take options, remove redundant retrieve function and get constant 7 years ago
Beaudan b43978ece1 Initial refactoring of sendmessage 7 years ago
Beaudan Campbell-Brown 1e11a6527c
Merge pull request #289 from Mikunj/p2p-ping
Updated pinging logic.
7 years ago
Beaudan Campbell-Brown 50c7da4432
Merge pull request #280 from Mikunj/fix-friend-request-logic
Fix friend request logic.
7 years ago
Mikunj 2c12c8a1d8 Convert profile field in data message to use LokiProfile instead of signal Contact. 7 years ago
Mikunj 53cbfb1f5c Merge branch 'development' into fix-friend-request-logic 7 years ago
sachaaaaa 1b1c18b928 Patch from Beau 7 years ago
Mikunj 147861790b Always send application/json as content type in rpc. 7 years ago
Mikunj bc6586e5ce Removed duplicated function. 7 years ago
Mikunj f77b67d358 Updated tests.
Fix some minor logic.
7 years ago
Mikunj 986d34bbd9 linting 7 years ago
Mikunj d4de4b13dd Fix incorrect import. 7 years ago
Mikunj b4390a8c95 Updated pinging logic. 7 years ago
sachaaaaa edd5915bf2 Fix use .length on object 7 years ago