Commit graph

53 commits

Author SHA1 Message Date
Audric Ackermann
eb894a9b66
lint 2020-05-15 12:57:23 +10:00
Audric Ackermann
f46c885fdf
merge fix-closed-group to clearnet 2020-05-15 12:53:49 +10:00
Mikunj
496afa85cb Remove libsodium-wrapper.
Remove LokiSnodeChannel as we weren't using it.
2020-03-27 15:51:03 +11:00
Mikunj
a09e370e1d Added testing on pull request
Disable proxy in tests.
2020-02-28 14:51:09 +11:00
Vincent
9dcc851ebd Updated all icon references 2020-01-30 14:19:07 +11:00
Maxim Shishmarev
02320334f0 Remove P2P 2020-01-30 11:47:37 +11:00
Vincent
a1a582d7ea Session branding fixes 2020-01-21 15:18:05 +11:00
Vincent
5fbbdc33c3 Signal branding 2020-01-21 14:59:18 +11:00
Beaudan
63396669bc Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore 2019-08-01 12:54:48 +10:00
Beaudan
df2c4af67c Run lint and check for ip or address when removing unreachable nodes 2019-07-04 10:20:16 +10:00
sachaaaaa
b6dc8b8a7e Fix tests for https server 2019-07-01 11:45:12 +10:00
Beaudan
96f7949ac8 Update endpoint for storage server and p2p 2019-06-26 14:27:42 +10:00
Beaudan
e520bf109a Persist PoW difficulty and update if get response from snodes 2019-06-03 13:37:34 +10:00
Mikunj
bc6586e5ce Removed duplicated function. 2019-05-27 09:46:02 +10:00
Mikunj
582298d9e4 Remove test which was causing hang. 2019-05-24 13:41:47 +10:00
Mikunj
7acce268cd linting. 2019-05-24 12:43:41 +10:00
Mikunj
f77b67d358 Updated tests.
Fix some minor logic.
2019-05-24 12:41:00 +10:00
Beaudan
db8f8ba36f Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds 2019-04-11 10:56:17 +10:00
Beaudan
c2226542a4 Fix tests 2019-03-14 10:40:30 +11:00
sachaaaaa
ad5efc9ba3 lint 2019-02-27 14:07:02 +11:00
sachaaaaa
3285b2d1b9 Update snode channel tests 2019-02-27 14:04:15 +11:00
Mikunj
75d0894104 Fixed files not included in release.
Moved node relevant stuff in libloki into its own modules folder.
2019-02-22 12:00:04 +11:00
sachaaaaa
3f755123e7
Merge pull request #207 from BeaudanBrown/p2p-json-rpc
P2p using rpc endpoint
2019-02-22 10:04:05 +11:00
Beaudan Campbell-Brown
7e2a409c43
Merge pull request #198 from sachaaaaa/channel-encryption
Add channel encryption library with tests
2019-02-21 14:48:15 +11:00
Beaudan
c0a6ba25bc Update p2p messages to follow the same endpoint format as storage server. Clean up message_api a lil bit and updated tests 2019-02-21 14:37:37 +11:00
Beaudan
0516e69ff7 Fix tests 2019-02-20 16:08:41 +11:00
sachaaaaa
e2abc0d510 Add channel encryption library with tests (not in used so far) 2019-02-15 16:09:02 +11:00
Beaudan
25a3129e37 Reworked p2p tests to be sensible and use the built in timeout/done system instead of hacky promise thing 2019-02-06 12:01:59 +11:00
Beaudan
cde7bbf3c3 Removed forceP2p as argument for the pingContact event and enforced it on the other side 2019-02-06 11:49:46 +11:00
Beaudan
02d6920ade Tests for loki_p2p_api, added yarn command to generate coverage html, instantiating loki_p2p_api in the test preload 2019-02-06 10:26:25 +11:00
Mikunj
3c07d99a89 Fix variable names.
Fix module export to be more consistent.
2019-01-31 11:30:26 +11:00
Mikunj
8c9b1a7a7a Added loki server.
Added test.
2019-01-21 15:23:20 +11:00
Mikunj
e08a63d078 Merge development into lint 2019-01-17 12:58:33 +11:00
Beaudan
714a5ab8b1 Update consolidateLists function to take a selector function and updated tests 2019-01-16 17:08:46 +11:00
Mikunj
6bd2d3962e Linted files 2019-01-16 16:18:08 +11:00
sachaaaaa
7f78409f43 add TTL variation in pow metrics 2019-01-15 09:52:24 +11:00
Mikunj
4eda13733a Cleanup tests.
Moved service_node_test to assert to keep consistency.
2019-01-10 10:44:01 +11:00
Mikunj
f9147663d5 Updated tests.
Removed libloki-protocol.
2019-01-10 10:27:10 +11:00
Mikunj
070d18b514 Updated function calls. 2019-01-10 10:26:25 +11:00
sachaaaaa
4b4a2b1bf2
Merge pull request #122 from sachaaaaa/consolidateLists
Add logic to consolidate list of data returned by different snodes
2019-01-09 17:39:46 +11:00
sachaaaaa
583a10628a run service_node in the browser instead of as a nodejs module 2019-01-09 16:55:52 +11:00
sachaaaaa
1274beb510 Add consolidateLists function with unit tests 2019-01-08 12:11:02 +11:00
sachaaaaa
e3138f8fde add yarn pow-metrics 2018-12-20 15:58:18 +11:00
Beaudan
6113f13d3a Rip the worker logic out of message_receiver and add the functionality for it to work with pow. Fix pow tests to work with those changes 2018-12-13 17:13:52 +11:00
sachaaaaa
8b32583b79 fix loki test 2018-12-10 15:44:30 +11:00
Beaudan
a0584a68c9 Review suggested test case 2018-12-10 14:13:54 +11:00
sachaaaaa
5084d8cfec Update libloki/test/libloki-protocol_test.js
Co-Authored-By: BeaudanBrown <beau@loki.network>
2018-12-10 14:13:54 +11:00
sachaaaaa
1bc1213705 Update libloki/test/libloki-protocol_test.js
Co-Authored-By: BeaudanBrown <beau@loki.network>
2018-12-10 14:13:54 +11:00
Beaudan
7782c58d14 Slight refactor of PoW file to make easier to test plus some tests for the PoW functionality 2018-12-10 14:13:54 +11:00
Beaudan
11883cb989 Cleaner separation of loki tests 2018-12-10 14:13:54 +11:00