Commit Graph

156 Commits

Author SHA1 Message Date
Kagami Hiiragi
3f25744017 Move connection to self detection to transport 2015-02-24 19:38:03 +03:00
Kagami Hiiragi
2bdd415835 error.fatal -> error.type 2015-02-24 19:18:49 +03:00
Kagami Hiiragi
96d63f0613 version.version -> version.protoVersion 2015-02-24 19:09:01 +03:00
Kagami Hiiragi
fe63ccf227 version.streamNumbers -> version.streams 2015-02-24 18:42:57 +03:00
Kagami Hiiragi
9d535bb25d Refactor decodeVersion 2015-02-24 11:47:56 +03:00
Kagami Hiiragi
c916023393 Decode and validate version message in transports 2015-02-23 23:45:32 +03:00
Kagami Hiiragi
ec8e4e1cb2 Fix version docstring 2015-02-23 21:23:53 +03:00
Kagami Hiiragi
849e76ca23 Bitfield.toString 2015-02-23 20:55:30 +03:00
Kagami Hiiragi
5f96a5d893 Emit "close" for ws transport 2015-02-23 14:00:31 +03:00
Kagami Hiiragi
cb917c6bda Transport fixes 2015-02-22 13:12:23 +03:00
Kagami Hiiragi
0f2a21c134 Fix warning reporting in net transports 2015-02-21 20:52:26 +03:00
Kagami Hiiragi
0642977538 Add error.type2str 2015-02-21 20:17:12 +03:00
Kagami Hiiragi
3f57b972d7 Net fixes 2015-02-20 19:37:28 +03:00
Kagami Hiiragi
06df8c42b3 Add separate dns-specific bootstrap method 2015-02-19 17:16:41 +03:00
Kagami Hiiragi
e52e226662 Net improvements 2015-02-17 15:35:40 +03:00
Kagami Hiiragi
49e4aa4158 Add object.validate API 2015-02-16 19:47:19 +03:00
Kagami Hiiragi
c2cd98fe7f Add NODE_GATEWAY/NODE_MOBILE unofficial bits 2015-02-14 18:22:57 +03:00
Kagami Hiiragi
f251b3e569 Fix WS transport default port 2015-02-14 18:11:18 +03:00
Kagami Hiiragi
e32e9c23f5 Fix link 2015-02-14 14:05:25 +03:00
Kagami Hiiragi
3f1cfac1c0 Fix module paths again 2015-02-14 14:00:27 +03:00
Kagami Hiiragi
508c92009d Fix module paths 2015-02-14 13:53:24 +03:00
Kagami Hiiragi
9ca411ec22 docs: add missed field to version.DecodeResult 2015-02-12 13:50:04 +03:00
Kagami Hiiragi
fd70fd6433 docs: usage examples 2015-02-12 13:36:44 +03:00
Kagami Hiiragi
e70acd6b99 docs: objects 2015-02-11 22:56:14 +03:00
Kagami Hiiragi
96d7074b2d docs: messages 2015-02-11 18:16:43 +03:00
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