Commit graph

5655 commits

Author SHA1 Message Date
Beaudan
1c9fe5b9f5 Make sure we are purging nodes from retrieve swarm list, and also filter 0.0.0.0 ips when getting snodes from wrong swarm error 2019-07-09 10:45:50 +10:00
Beaudan Campbell-Brown
6f1e113671
Merge pull request #336 from BeaudanBrown/fix-notes
Fix release notes link
2019-07-08 10:07:33 +10:00
Beaudan
13012ce6d2 Fix release notes link 2019-07-08 09:51:02 +10:00
Beaudan Campbell-Brown
4048172479
Merge pull request #333 from BeaudanBrown/update-version
Update to beta 2
2019-07-05 16:44:31 +10:00
Beaudan
6f029c9a1f Update to beta 2 2019-07-05 16:43:58 +10:00
Beaudan Campbell-Brown
56ef0fe8a8
Merge pull request #332 from BeaudanBrown/database-fix
Fix password error
2019-07-05 16:40:58 +10:00
Beaudan
3d45451551 Better setting name 2019-07-05 14:45:48 +10:00
Beaudan
5887f8c14c Fix password error 2019-07-05 13:21:32 +10:00
Beaudan Campbell-Brown
0aaccf2068
Merge pull request #328 from BeaudanBrown/update-version
Update version to 1.0.0-beta1
2019-07-04 14:15:46 +10:00
Beaudan
47de3963d5 Update version to 1.0.0-beta1 2019-07-04 13:45:25 +10:00
Beaudan Campbell-Brown
d5d623d1a1
Merge pull request #327 from BeaudanBrown/refresh-once
Refresh once
2019-07-04 13:41:05 +10:00
Beaudan
9910ef0c13 Rename bool 2019-07-04 13:09:29 +10:00
Beaudan
b49be51f36 Don't return early if recalculating PoW 2019-07-04 12:28:52 +10:00
Beaudan
804fc076cc Refresh swarm list 1 time for outgoing messages 2019-07-04 12:19:07 +10:00
Beaudan Campbell-Brown
0435050916
Merge pull request #326 from BeaudanBrown/check-ips
Run lint and check for ip or address when removing unreachable nodes
2019-07-04 10:46:42 +10:00
Beaudan
df2c4af67c Run lint and check for ip or address when removing unreachable nodes 2019-07-04 10:20:16 +10:00
Beaudan Campbell-Brown
5aedd618c0
Merge pull request #324 from BeaudanBrown/improve-http-error
Also put the body in httperror
2019-07-03 14:22:46 +10:00
Beaudan Campbell-Brown
bb232d9228
Merge pull request #325 from BeaudanBrown/multiple-seeds
Multiple seeds
2019-07-03 14:19:16 +10:00
Beaudan
68c1932b7b Little better arguments 2019-07-03 12:39:21 +10:00
Beaudan
65a09d12b6 Make sure we try a different seed node every time 2019-07-03 12:37:56 +10:00
Beaudan
f02e885662 Print body of http error as well 2019-07-03 12:01:14 +10:00
Beaudan
10e61c37da Retry initialiseRandomPool some times if request fails, fix uncaught promise in sendMessage 2019-07-03 11:55:40 +10:00
Beaudan
87c5d0858c Choose a random seed node from a list for bootstrapping 2019-07-03 11:32:31 +10:00
Beaudan Campbell-Brown
fee25036be
Merge pull request #321 from BeaudanBrown/faster-fail
Remove nodes after 1 failure and only wait for a single successful send
2019-07-02 16:31:15 +10:00
Beaudan Campbell-Brown
372a13a2b8
Merge pull request #320 from BeaudanBrown/fix-registration
Fix registration
2019-07-02 16:30:59 +10:00
Beaudan
580931c4fb Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey 2019-07-02 16:23:30 +10:00
Beaudan
d647fb1eb8 Remove nodes after 1 failure and only wait for a single successful send before updating UI 2019-07-02 16:22:32 +10:00
Beaudan Campbell-Brown
290bd48b81
Merge pull request #323 from BeaudanBrown/small-fix
Fix async
2019-07-02 16:21:59 +10:00
Beaudan
676cebdce4 Fix async 2019-07-02 16:20:30 +10:00
Beaudan Campbell-Brown
ba87668b9e
Merge pull request #317 from sachaaaaa/https_p2p
Clearnet p2p
2019-07-02 16:19:33 +10:00
sachaaaaa
37e95cf7d2 remove unnecessary await 2019-07-02 14:29:46 +10:00
sachaaaaa
03e7fb82e6 Address reviews 2019-07-02 13:44:00 +10:00
sachaaaaa
6a06e05452 Fix missing await in periodic NAT hole punching 2019-07-02 09:18:08 +10:00
sachaaaaa
b6dc8b8a7e Fix tests for https server 2019-07-01 11:45:12 +10:00
sachaaaaa
abdb232151 15min TTL and re-punch NAT periodically 2019-06-28 16:54:01 +10:00
sachaaaaa
57b7aaf195 better handling when upnp not enabled 2019-06-28 13:02:11 +10:00
sachaaaaa
beac7a02bb send "unreachable" ping to allow half-p2p 2019-06-28 12:09:46 +10:00
sachaaaaa
c53633e367 Clearnet p2p with https (no verification yet) 2019-06-28 12:09:46 +10:00
Beaudan Campbell-Brown
90c660e967
Merge pull request #316 from BeaudanBrown/fix-filtering
Fix silly filtering bug, add filtering for swarm nodes and lint
2019-06-28 12:00:08 +10:00
Beaudan
eb1fa97c9c Make use of ip consistent for random snode pool and swarm list 2019-06-28 11:13:50 +10:00
Beaudan
ee260f7de0 Fix silly filtering bug, add filtering for swarm nodes and lint 2019-06-28 10:46:41 +10:00
Beaudan Campbell-Brown
ad8bcdfe8c
Merge pull request #315 from sachaaaaa/fix_self_broadcast
Fix self broadcast
2019-06-28 10:04:16 +10:00
sachaaaaa
e7b2448087 Prevent sending broadcast to ourselves at startup 2019-06-27 15:42:12 +10:00
Beaudan Campbell-Brown
149a4d41f8
Merge pull request #314 from BeaudanBrown/new-endpoint
Update endpoint for storage server and p2p
2019-06-26 16:49:46 +10:00
Beaudan
96f7949ac8 Update endpoint for storage server and p2p 2019-06-26 14:27:42 +10:00
Beaudan Campbell-Brown
436af1a990
Merge pull request #313 from BeaudanBrown/random-list
Random list
2019-06-21 12:18:29 +10:00
Beaudan Campbell-Brown
1a71addcf5
Merge pull request #311 from BeaudanBrown/refactor-snode-api
Refactor snode api
2019-06-19 16:59:12 +10:00
Beaudan
c5c01b0ac8 Purge retrieving snodes 2019-06-19 09:43:22 +10:00
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. 2019-06-18 17:31:49 +10:00
Beaudan
923d7ffe27 Change to get_n_service_nodes method 2019-06-18 14:52:52 +10:00