Commit Graph

45 Commits

Author SHA1 Message Date
fdd941083d
Update links to the Spec 2024-03-08 02:20:24 +02:00
305bce9397
Replace [new ]Buffer() with Buffer.alloc() or Buffer.from() in code 2024-03-08 02:20:24 +02:00
Kagami Hiiragi
956d58ce2f Rename option inventory -> vectors 2015-03-05 23:31:11 +03:00
Kagami Hiiragi
d68e5adf0b Filter out private IPs in addr messages
Fixes #10
2015-02-27 15:54:05 +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
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
ec8e4e1cb2 Fix version docstring 2015-02-23 21:23:53 +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
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
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
25243531e9 Fix version nonce handling 2015-02-01 17:09:46 +03:00
Kagami Hiiragi
9f368d32fb Improve documentation 2015-01-31 14:51:35 +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
514265b7cd Add encodePayload/decodePayload to messages module 2015-01-26 20:03:43 +03:00
Kagami Hiiragi
aa691b4d1f Improve user agent API 2015-01-24 15:13:21 +03:00
Kagami Hiiragi
d50dcac4a2 Huge commit with partial objects.getpubkey impl 2015-01-22 03:14:21 +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
09f7be7062 Implement getpubkey 2015-01-18 14:37:09 +03:00
Kagami Hiiragi
3e9f3a62a6 API fixes 2015-01-16 21:36:57 +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
bf8b663c5d Do not use promises in crypto
Because sha.js is faster than WebCryptoAPI for POW.
2015-01-03 17:52:27 +03:00
Kagami Hiiragi
7048464691 Rearrange modules 2015-01-03 13:14:39 +03:00