Commit Graph

131 Commits

Author SHA1 Message Date
Kagami Hiiragi
f619a066c6 Fix error.decode API 2015-02-11 18:14:22 +03:00
Kagami Hiiragi
3f0b881a58 Use Buffer type for vector in error encode/decode 2015-02-11 17:53:49 +03:00
Kagami Hiiragi
3ca97f294c Fix double Buffer.concat
Though I'm not sure is it gonna be faster.
2015-02-11 16:52:40 +03:00
Kagami Hiiragi
782b7e7d27 docs: structs 2015-02-11 15:18:38 +03:00
Kagami Hiiragi
5c981309df docs: use optional instead of nullable 2015-02-10 21:23:20 +03:00
Kagami Hiiragi
a9a21fe480 Document crypto module 2015-02-10 21:23:01 +03:00
Kagami Hiiragi
3389359ce5 Document pow module 2015-02-10 21:07:08 +03:00
Kagami Hiiragi
74bbfda83e Document bitfields 2015-02-10 19:16:07 +03:00
Kagami Hiiragi
73a0dc4e56 address/net documentation 2015-02-10 17:59:49 +03:00
Kagami Hiiragi
5ada61cbe1 Accept Buffer on UserAgent.encode 2015-02-10 17:39:01 +03:00
Kagami Hiiragi
68c7966bef Document address module 2015-02-10 16:40:57 +03:00
Kagami Hiiragi
2ae5d40463 Improve net/ documentation 2015-02-10 15:57:55 +03:00
Kagami Hiiragi
084ddc8084 WebSocket transport 2015-02-10 00:56:55 +03:00
Kagami Hiiragi
142cb76e6b Almost finished TCP transport 2015-02-09 17:38:10 +03:00
Kagami Hiiragi
f8327baf73 Check max message payload length
Relates: Bitmessage/PyBitmessage#767
2015-02-07 14:14:53 +03:00
Kagami Hiiragi
e15bdecfcb Decode messages in stream mode 2015-02-06 20:44:27 +03:00
Kagami Hiiragi
be6234893f Fix tcp connection tracking 2015-02-06 16:04:17 +03:00
Kagami Hiiragi
9ed1c87df8 More strict inet_pton 2015-02-06 15:57:22 +03:00
Kagami Hiiragi
701fa33742 Fix net module API 2015-02-06 12:47:40 +03:00
Kagami Hiiragi
376bc25912 this bugfix 2015-02-05 23:04:06 +03:00
Kagami Hiiragi
40d40c55aa TCP bootstrap 2015-02-05 22:55:36 +03:00
Kagami Hiiragi
84ab3ec3a0 Minimal TCP node 2015-02-05 21:38:36 +03:00
Kagami Hiiragi
0fd8fb595f More net stub 2015-02-03 23:13:27 +03:00
Kagami Hiiragi
5e85ae4ab7 Functional tests stub 2015-02-02 18:30:05 +03:00
Kagami Hiiragi
edf254c6e5 Use karma-env-preprocessor 2015-02-02 17:34:00 +03:00
Kagami Hiiragi
2ee782090d More net stub 2015-02-01 23:34:47 +03:00
Kagami Hiiragi
22c7f7c298 net stub 2015-02-01 21:52:31 +03:00
Kagami Hiiragi
d2a6528fb3 Empty payload by default with message.encode 2015-02-01 18:15:34 +03:00
Kagami Hiiragi
25243531e9 Fix version nonce handling 2015-02-01 17:09:46 +03:00
Kagami Hiiragi
156a3f7e56 Fix polifilled promise name 2015-02-01 16:10:03 +03:00
Kagami Hiiragi
9f368d32fb Improve documentation 2015-01-31 14:51:35 +03:00
Kagami Hiiragi
2615c25425 Do a POW for objects 2015-01-31 00:16:56 +03:00
Kagami Hiiragi
56679a0f8f Check objects POW 2015-01-30 20:13:09 +03:00
Kagami Hiiragi
25d5b70bae Fix target calculation
Relates: Bitmessage/PyBitmessage#758
2015-01-30 18:15:20 +03:00
Kagami Hiiragi
e38c14239e Check object message payload length
See also: Bitmessage/PyBitmessage#767
2015-01-30 17:19:38 +03:00
Kagami Hiiragi
4ef94e91f7 Add tests for msg/broadcast with address v2 2015-01-30 15:53:03 +03:00
Kagami Hiiragi
a42ec4b8f7 Address#clone 2015-01-29 21:47:01 +03:00
Kagami Hiiragi
ea9e8e60ef objects.broadcast 2015-01-29 21:19:37 +03:00
Kagami Hiiragi
34868ff014 objects module improvements/refactoring 2015-01-29 16:23:18 +03:00
Kagami Hiiragi
2416094686 Fix pubkey.decode API 2015-01-29 01:21:48 +03:00
Kagami Hiiragi
8e892581f5 Improve comments; fixes 2015-01-29 01:13:41 +03:00
Kagami Hiiragi
2e4c91f49b objects.msg 2015-01-28 23:37:20 +03:00
Kagami Hiiragi
4610701a3e Fix Address#ripe/Address#getShortRipe API 2015-01-28 17:24:31 +03:00
Kagami Hiiragi
ceceaee721 objects.getType 2015-01-28 16:31:18 +03:00
Kagami Hiiragi
70f7054bbf messages.getCommand 2015-01-27 16:35:49 +03:00
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
643edbbdc6 s/ripelen/ripeLength/ option to be consistent 2015-01-23 18:29:39 +03:00