Commit Graph

167 Commits

Author SHA1 Message Date
Kagami Hiiragi
f29f32b3aa Add option to check stream in object.validate 2015-03-07 00:35:30 +03:00
Kagami Hiiragi
956d58ce2f Rename option inventory -> vectors 2015-03-05 23:31:11 +03:00
Kagami Hiiragi
542d31d387 Support bitmessage: scheme in Address.decode 2015-03-01 20:37:22 +03:00
Kagami Hiiragi
56083e4751 Allow to pass services as buffer to net_addr 2015-02-28 22:25:28 +03:00
Kagami Hiiragi
d68e5adf0b Filter out private IPs in addr messages
Fixes #10
2015-02-27 15:54:05 +03:00
Kagami Hiiragi
84ad9eb2c2 Extract transports to bitmessage-transports
Fixes #13
2015-02-25 13:28:58 +03:00
Kagami Hiiragi
dd8648e582 Fix Address example 2015-02-24 22:59:59 +03:00
Kagami Hiiragi
c4ccee2719 Remove outdated todo 2015-02-24 22:32:16 +03:00
Kagami Hiiragi
1082fc708a Fix messages example 2015-02-24 21:21:42 +03:00
Kagami Hiiragi
ecf2931aad Improve networking usage 2015-02-24 20:27:41 +03:00
Kagami Hiiragi
d91a87a804 Check version's user agent/streams size per spec 2015-02-24 20:12:52 +03:00
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