Commit Graph

172 Commits

Author SHA1 Message Date
Kagami Hiiragi
a25bf41036 encodePayloadAsync/decodePayloadAsync for objects 2015-01-27 16:08:18 +03:00
Kagami Hiiragi
514265b7cd Add encodePayload/decodePayload to messages module 2015-01-26 20:03:43 +03:00
Kagami Hiiragi
874acfac45 Fix message.encode API 2015-01-26 19:34:29 +03:00
Kagami Hiiragi
aa691b4d1f Improve user agent API 2015-01-24 15:13:21 +03:00
Kagami Hiiragi
4a0e4f3709 Fix ttl test 2015-01-23 21:33:18 +03:00
Kagami Hiiragi
643edbbdc6 s/ripelen/ripeLength/ option to be consistent 2015-01-23 18:29:39 +03:00
Kagami Hiiragi
d50dcac4a2 Huge commit with partial objects.getpubkey impl 2015-01-22 03:14:21 +03:00
Kagami Hiiragi
33432c6735 Address.isAddress 2015-01-22 02:39:51 +03:00
Kagami Hiiragi
26da0b1d2f Use MSB 0 in bitfields 2015-01-21 21:05:00 +03:00
Kagami Hiiragi
3078dd2365 Add npm image to readme 2015-01-21 03:19:35 +03:00
Kagami Hiiragi
dc868634ac Improve Address API 2015-01-19 15:08:56 +03:00
Kagami Hiiragi
232e06caf2 OOPify bitfields 2015-01-19 02:06:28 +03:00
Kagami Hiiragi
dd7d4315c2 Some bitfields refactoring 2015-01-19 01:09:17 +03:00
Kagami Hiiragi
5d812eba47 Use MSB 0 for pubkey behavior bitfield 2015-01-19 00:50:57 +03:00
Kagami Hiiragi
0cd386d65c Provide ECMA5 setters for Address 2015-01-18 19:38:23 +03:00
Kagami Hiiragi
76cf227513 Add getpubkey v3 test 2015-01-18 18:27:09 +03:00
Kagami Hiiragi
bc3fef1aea Address.fromPassphrase 2015-01-18 15:34:02 +03:00
Kagami Hiiragi
09f7be7062 Implement getpubkey 2015-01-18 14:37:09 +03:00
Kagami Hiiragi
9208e95e20 Remove useless messageEncodings struct 2015-01-18 13:20:32 +03:00
Kagami Hiiragi
3e9f3a62a6 API fixes 2015-01-16 21:36:57 +03:00
Kagami Hiiragi
8fa539c61b Add SHA-1 (used for signing) 2015-01-16 18:35:40 +03:00
Kagami Hiiragi
1d8f694c84 Implement messages.error 2015-01-16 03:08:56 +03:00
Kagami Hiiragi
1f5ae113b0 Implement messages.object 2015-01-16 02:14:30 +03:00
Kagami Hiiragi
52dce062c4 Fixes 2015-01-16 01:43:15 +03:00
Kagami Hiiragi
51974d4666 Link getdata to inv 2015-01-16 00:07:49 +03:00
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