Commit Graph

97 Commits

Author SHA1 Message Date
Kagami Hiiragi
73d2ad393a Implement inv_vect, inv 2015-01-16 00:00:27 +03:00
Kagami Hiiragi
ec616a0151 Check for number of addr entries 2015-01-15 23:19:52 +03:00
Kagami Hiiragi
75d1c1f2f4 Implement messages.addr 2015-01-15 21:11:33 +03:00
Kagami Hiiragi
808fc5eaf1 Implement messages.version 2015-01-15 20:27:52 +03:00
Kagami Hiiragi
3d5968bcc1 Improve usability of bitfield.encode 2015-01-15 17:46:58 +03:00
Kagami Hiiragi
df5e024004 Improve usability of UserAgent.encode 2015-01-15 17:28:52 +03:00
Kagami Hiiragi
ecdcd30a76 Fix for nan 1.5 2015-01-15 01:07:03 +03:00
Kagami Hiiragi
6faae5fcf4 Cosmetics 2015-01-15 00:37:23 +03:00
Kagami Hiiragi
1043b77c06 0.3.0 2015-01-14 02:36:32 +03:00
Kagami Hiiragi
5bb1257adf Newer eccrypto 2015-01-14 02:36:07 +03:00
Kagami Hiiragi
ab01647440 Build fixes 2015-01-13 22:46:23 +03:00
Kagami Hiiragi
663006a0e5 Fix POW test 2015-01-12 21:46:36 +03:00
Kagami Hiiragi
667775f015 More consistent API 2015-01-12 21:27:14 +03:00
Kagami Hiiragi
69ac264e26 Tune worker.cc a bit 2015-01-12 20:14:49 +03:00
Kagami Hiiragi
3804adea7f Fix platform.browser.pow 2015-01-11 20:31:26 +03:00
Kagami Hiiragi
e40a40abd0 Fix UserAgent.encode 2015-01-11 20:28:12 +03:00
Kagami Hiiragi
001f5b16df User agent 2015-01-11 20:24:39 +03:00
Kagami Hiiragi
887a757f87 Add fail tests 2015-01-11 18:27:14 +03:00
Kagami Hiiragi
4b2bb0ba51 Encrypted encode/decode 2015-01-11 16:59:43 +03:00
Kagami Hiiragi
b7f796e78b Fix test again 2015-01-11 15:00:12 +03:00
Kagami Hiiragi
e3765b81fc Better input validation 2015-01-11 05:59:32 +03:00
Kagami Hiiragi
12066842cc Harder POW for node platform 2015-01-11 01:44:09 +03:00
Kagami Hiiragi
728bd6d3ae Do not use macroses 2015-01-11 01:33:30 +03:00
Kagami Hiiragi
4c5fc4d3eb Multithread POW 2015-01-10 19:29:33 +03:00
Kagami Hiiragi
997ee55f85 Fix travis build 2015-01-10 16:32:41 +03:00
Kagami Hiiragi
1e553c1ab6 Fix API 2015-01-10 16:23:10 +03:00
Kagami Hiiragi
e562fbf645 Fix naming 2015-01-10 16:03:14 +03:00
Kagami Hiiragi
53f38be9ed Use webworkify 2015-01-10 16:00:08 +03:00
Kagami Hiiragi
3b662af5ed Fix POW test 2015-01-10 02:03:39 +03:00
Kagami Hiiragi
e99d76e670 Typo fix 2015-01-10 01:44:03 +03:00
Kagami Hiiragi
c15b5a457b Fix for UINT64_MAX macro 2015-01-10 01:36:28 +03:00
Kagami Hiiragi
719bed1f9b Some pow.cc refactoring 2015-01-10 01:09:01 +03:00
Kagami Hiiragi
225fba30e1 Do a POW (Node) 2015-01-10 00:36:42 +03:00
Kagami Hiiragi
8c799f4e91 Do a POW (Browser) 2015-01-09 16:12:23 +03:00
Kagami Hiiragi
9407e27529 Check a POW 2015-01-08 16:47:29 +03:00
Kagami Hiiragi
8ef3168af1 Make code more consistent 2015-01-08 05:00:19 +03:00
Kagami Hiiragi
a7eb439706 Calculate POW target 2015-01-08 00:28:13 +03:00
Kagami Hiiragi
8c2f180037 Fix docstrings 2015-01-07 05:24:30 +03:00
Kagami Hiiragi
85798fa619 Make message.encode more consistent 2015-01-07 05:18:41 +03:00
Kagami Hiiragi
2dc2f48a47 Fixes 2015-01-06 14:08:39 +03:00
Kagami Hiiragi
6c20b3efd7 Fix npmignore 2015-01-06 04:27:50 +03:00
Kagami Hiiragi
118971d6ce 0.2.0 2015-01-06 04:25:45 +03:00
Kagami Hiiragi
96ba6b0fad Use hash.js for SHA-512 2015-01-06 04:24:48 +03:00
Kagami Hiiragi
3187e9d766 Imply NODE_NETWORK in net_addr.encode by default 2015-01-06 02:34:15 +03:00
Kagami Hiiragi
0a6aa667db Implement net_addr 2015-01-06 02:32:10 +03:00
Kagami Hiiragi
6fb61e72b6 Update eccrypto 2015-01-06 01:51:31 +03:00
Kagami Hiiragi
591134bd9a Fix hashes 2015-01-05 16:41:34 +03:00
Kagami Hiiragi
2dd9efd1a6 Use hash.js impl of SHA-256 and RIPEMD-160
Because it's already required by elliptic
2015-01-05 16:34:52 +03:00
Kagami Hiiragi
b8b6294f95 Use own assert
Because it weights much less that than the browserify's one.
2015-01-05 16:31:28 +03:00
Kagami Hiiragi
e6d4e4c029 Bitfields encoding/decoding 2015-01-05 02:40:52 +03:00