Beaudan
|
6140fef1f7
|
Fix some bugs
|
6 years ago |
Beaudan
|
43c2e9c953
|
Use different seed nodes for development vs production and strip 2 characters from pubkey on testnet
|
6 years ago |
Beaudan
|
c53a35deeb
|
Comment explaining stopPollingPromise
|
6 years ago |
Beaudan
|
6ef94fa43d
|
Start attempt at closing long polling connections when offline event is triggered
|
6 years ago |
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
|
6 years ago |
Beaudan
|
9910ef0c13
|
Rename bool
|
6 years ago |
Beaudan
|
b49be51f36
|
Don't return early if recalculating PoW
|
6 years ago |
Beaudan
|
804fc076cc
|
Refresh swarm list 1 time for outgoing messages
|
6 years ago |
Beaudan
|
df2c4af67c
|
Run lint and check for ip or address when removing unreachable nodes
|
6 years ago |
Beaudan Campbell-Brown
|
5aedd618c0
|
Merge pull request #324 from BeaudanBrown/improve-http-error
Also put the body in httperror
|
6 years ago |
Beaudan
|
68c1932b7b
|
Little better arguments
|
6 years ago |
Beaudan
|
65a09d12b6
|
Make sure we try a different seed node every time
|
6 years ago |
Beaudan
|
f02e885662
|
Print body of http error as well
|
6 years ago |
Beaudan
|
10e61c37da
|
Retry initialiseRandomPool some times if request fails, fix uncaught promise in sendMessage
|
6 years ago |
Beaudan
|
87c5d0858c
|
Choose a random seed node from a list for bootstrapping
|
6 years ago |
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
|
6 years ago |
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
|
d647fb1eb8
|
Remove nodes after 1 failure and only wait for a single successful send before updating UI
|
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
|
6 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.
|
6 years ago |
Beaudan
|
923d7ffe27
|
Change to get_n_service_nodes method
|
6 years ago |
Beaudan
|
d12f6b6d32
|
Handle swarm nodes the same for us or contacts, attach our key to message api object
|
6 years ago |
Beaudan
|
0948a344d2
|
Review refactor
|
6 years ago |
Beaudan
|
d5546b9473
|
Lint
|
6 years ago |
Beaudan
|
b6b0248e9d
|
Retrieve from seed
|
6 years ago |
Beaudan
|
1f74088586
|
Send to IP
|
6 years ago |
Beaudan
|
6b2b9ce926
|
Remove default port and use port from storage server responses
|
6 years ago |
Beaudan
|
eea2b8e6a7
|
Do port null check inside rpc call
|
6 years ago |
Beaudan
|
52c191fc94
|
Merge branch 'development' into clearnet
|
6 years ago |
sachaaaaa
|
9d6c5bff36
|
make unverified https queries to the snodes
|
6 years ago |
Beaudan
|
7141847dfb
|
Restart sendMessage logic if PoW changed an dfix NaN bug
|
6 years ago |
Beaudan
|
f01d8088b7
|
Remove development PoW
|
6 years ago |
Beaudan
|
dad52a784d
|
Change wrong pow http response
|
6 years ago |
Beaudan
|
dbcaaf98dc
|
Lint
|
6 years ago |
Beaudan
|
c27d1ef69a
|
Clean some stuff in loki_rpc and get new difficulty from successful requests
|
6 years ago |
Beaudan
|
e520bf109a
|
Persist PoW difficulty and update if get response from snodes
|
6 years ago |
Beaudan
|
18a87d5463
|
Review changes
|
6 years ago |
Beaudan
|
c02d5d4053
|
Lint
|
6 years ago |
Beaudan
|
709db4bf54
|
Make sendMessage take options, remove redundant retrieve function and get constant
|
6 years ago |
Beaudan
|
b43978ece1
|
Initial refactoring of sendmessage
|
6 years ago |
Beaudan Campbell-Brown
|
1e11a6527c
|
Merge pull request #289 from Mikunj/p2p-ping
Updated pinging logic.
|
6 years ago |
sachaaaaa
|
1b1c18b928
|
Patch from Beau
|
6 years ago |
Mikunj
|
147861790b
|
Always send application/json as content type in rpc.
|
6 years ago |
Mikunj
|
bc6586e5ce
|
Removed duplicated function.
|
6 years ago |
Mikunj
|
f77b67d358
|
Updated tests.
Fix some minor logic.
|
6 years ago |