diff --git a/docs/address.js.html b/docs/address.js.html index e013bd3..bf1153a 100644 --- a/docs/address.js.html +++ b/docs/address.js.html @@ -31,7 +31,7 @@ * **NOTE**: `Address` is exported as a module. * @example * var Address = require("bitmessage").Address; - * // Or: var Address = require("bitmessage/address"); + * // Or: var Address = require("bitmessage/lib/address"); * * // Generate a new random Bitmessage identity. * var addr1 = Address.fromRandom(); @@ -456,13 +456,13 @@ module.exports = Address;
diff --git a/docs/crypto.js.html b/docs/crypto.js.html index 9ff34d2..12bc6de 100644 --- a/docs/crypto.js.html +++ b/docs/crypto.js.html @@ -212,13 +212,13 @@ exports.decrypt = function(privateKey, buf) {
diff --git a/docs/index.html b/docs/index.html index 183fe2b..f9f0d0d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -160,8 +160,8 @@ console.log(decodedPayload.addrs[0].host); // 2.2.2.2 // Encode with empty payload: var verackmsg = structs.message.encode("verack"); -console.log(structs.message.decode(verackmsg).command); // verack

Network

var messages = require("bitmessage").messages;
-var TcpTransport = require("bitmessage/net/tcp");
+console.log(structs.message.decode(verackmsg).command);  // verack

Networking

var messages = require("bitmessage").messages;
+var TcpTransport = require("bitmessage/lib/net/tcp");
 
 var tcp = new TcpTransport({
   dnsSeeds: [["bootstrap8444.bitmessage.org", 8444]],
@@ -186,7 +186,7 @@ tcp.on("established", function() {
     }
   });
 });

License

bitmessage - JavaScript Bitmessage library

-

Written in 2014-2015 by Kagami Hiiragi kagami@genshiken.org

+

Written in 2014-2015 by Kagami Hiiragi kagami@genshiken.org

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see .

@@ -199,13 +199,13 @@ tcp.on("established", function() {
diff --git a/docs/index.js.html b/docs/index.js.html index e97f657..4513625 100644 --- a/docs/index.js.html +++ b/docs/index.js.html @@ -65,13 +65,13 @@ exports.UserAgent = require("./user-agent");
diff --git a/docs/messages.js.html b/docs/messages.js.html index 28198a3..d1cef84 100644 --- a/docs/messages.js.html +++ b/docs/messages.js.html @@ -592,13 +592,13 @@ var error = exports.error = {
diff --git a/docs/module-bitmessage.html b/docs/module-bitmessage.html index 0beec4a..b29d298 100644 --- a/docs/module-bitmessage.html +++ b/docs/module-bitmessage.html @@ -654,13 +654,13 @@
diff --git a/docs/module-bitmessage_address.Address.html b/docs/module-bitmessage_address.Address.html index a7e8b8d..be3b3ab 100644 --- a/docs/module-bitmessage_address.Address.html +++ b/docs/module-bitmessage_address.Address.html @@ -2200,13 +2200,13 @@ encrypt/decrypt
diff --git a/docs/module-bitmessage_address.html b/docs/module-bitmessage_address.html index 1db9b9f..749103c 100644 --- a/docs/module-bitmessage_address.html +++ b/docs/module-bitmessage_address.html @@ -122,7 +122,7 @@
Example
var Address = require("bitmessage").Address;
-// Or: var Address = require("bitmessage/address");
+// Or: var Address = require("bitmessage/lib/address");
 
 // Generate a new random Bitmessage identity.
 var addr1 = Address.fromRandom();
@@ -172,13 +172,13 @@ console.log("Deterministic Bitmessage address:", addr2.encode());

diff --git a/docs/module-bitmessage_crypto.html b/docs/module-bitmessage_crypto.html index 2f00fa0..270671c 100644 --- a/docs/module-bitmessage_crypto.html +++ b/docs/module-bitmessage_crypto.html @@ -2028,13 +2028,13 @@ and rejects on bad key or signature.


diff --git a/docs/module-bitmessage_net_base.BaseTransport.html b/docs/module-bitmessage_lib_net_base.BaseTransport.html similarity index 79% rename from docs/module-bitmessage_net_base.BaseTransport.html rename to docs/module-bitmessage_lib_net_base.BaseTransport.html index 46c60c0..cb12eec 100644 --- a/docs/module-bitmessage_net_base.BaseTransport.html +++ b/docs/module-bitmessage_lib_net_base.BaseTransport.html @@ -29,7 +29,7 @@

- bitmessage/net/base. + bitmessage/lib/net/base. BaseTransport

@@ -866,13 +866,13 @@ argument is a string)


diff --git a/docs/module-bitmessage_lib_net_base.html b/docs/module-bitmessage_lib_net_base.html new file mode 100644 index 0000000..78a1b5a --- /dev/null +++ b/docs/module-bitmessage_lib_net_base.html @@ -0,0 +1,173 @@ + + + + + JSDoc: Module: bitmessage/lib/net/base + + + + + + + + + + +
+ +

Module: bitmessage/lib/net/base

+ + + + + + +
+ +
+ + + + + +
+ +
+
+ + +

Networking base module. Defines base transport interface, useful for +implementing new transports. End-users should import some transport +instead in order to connect/accept connections to/from other nodes.
NOTE: BaseTransport is exported as a module.

+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Example
+ +
var BaseTransport = require("bitmessage/lib/net/base");
+ + + + + +
+ + + + + + +

Classes

+ +
+
BaseTransport
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/module-bitmessage_net_tcp.TcpTransport.html b/docs/module-bitmessage_lib_net_tcp.TcpTransport.html similarity index 72% rename from docs/module-bitmessage_net_tcp.TcpTransport.html rename to docs/module-bitmessage_lib_net_tcp.TcpTransport.html index 9594d5d..b4c9bde 100644 --- a/docs/module-bitmessage_net_tcp.TcpTransport.html +++ b/docs/module-bitmessage_lib_net_tcp.TcpTransport.html @@ -29,7 +29,7 @@

- bitmessage/net/tcp. + bitmessage/lib/net/tcp. TcpTransport

@@ -51,8 +51,7 @@
-

TCP transport class. Implements -base transport interface.

+

TCP transport class. Implements base transport interface.

@@ -558,13 +557,13 @@ for
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_lib_net_tcp.html b/docs/module-bitmessage_lib_net_tcp.html new file mode 100644 index 0000000..87ea9eb --- /dev/null +++ b/docs/module-bitmessage_lib_net_tcp.html @@ -0,0 +1,197 @@ + + + + + JSDoc: Module: bitmessage/lib/net/tcp + + + + + + + + + + +
+ +

Module: bitmessage/lib/net/tcp

+ + + + + + +
+ +
+ + + + + +
+ +
+
+ + +

TCP transport compatible with PyBitmessage. Available only for Node +platform.
NOTE: TcpTransport is exported as a module.

+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Example
+ +
var messages = require("bitmessage").messages;
+var TcpTransport = require("bitmessage/lib/net/tcp");
+
+var tcp = new TcpTransport({
+  dnsSeeds: [["bootstrap8444.bitmessage.org", 8444]],
+});
+
+tcp.bootstrap().then(function(nodes) {
+  var remoteHost = nodes[0][0];
+  var remotePort = nodes[0][1];
+  console.log("Connecting to", nodes[0]);
+  tcp.connect(remotePort, remoteHost);
+});
+
+tcp.on("established", function() {
+  console.log("Connection established");
+
+  tcp.on("message", function(command, payload) {
+    console.log("Got new", command, "message");
+    var decoded;
+    if (command === "addr") {
+      decoded = messages.addr.decodePayload(payload);
+      console.log("Got", decoded.addrs.length, "node addresses");
+    }
+  });
+});
+ + + + + +
+ + + + + + +

Classes

+ +
+
TcpTransport
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK) +
+ + + + + \ No newline at end of file diff --git a/docs/module-bitmessage_net_ws.WsTransport.html b/docs/module-bitmessage_lib_net_ws.WsTransport.html similarity index 71% rename from docs/module-bitmessage_net_ws.WsTransport.html rename to docs/module-bitmessage_lib_net_ws.WsTransport.html index b0b8257..9b0bb89 100644 --- a/docs/module-bitmessage_net_ws.WsTransport.html +++ b/docs/module-bitmessage_lib_net_ws.WsTransport.html @@ -29,7 +29,7 @@

- bitmessage/net/ws. + bitmessage/lib/net/ws. WsTransport

@@ -51,8 +51,8 @@
-

WebSocket transport class. Implements -base transport interface.

+

WebSocket transport class. Implements [base transport +interface]module:bitmessage/lib/net/base.BaseTransport.

@@ -536,13 +536,13 @@ Available only for Node platform.


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_lib_net_ws.html b/docs/module-bitmessage_lib_net_ws.html new file mode 100644 index 0000000..73d9e37 --- /dev/null +++ b/docs/module-bitmessage_lib_net_ws.html @@ -0,0 +1,173 @@ + + + + + JSDoc: Module: bitmessage/lib/net/ws + + + + + + + + + + +
+ +

Module: bitmessage/lib/net/ws

+ + + + + + +
+ +
+ + + + + +
+ +
+
+ + +

WebSocket transport. Needed because browsers can't handle TCP sockets +so we use separate WebSocket server to proxy messages into TCP data +packets. Available for both Node.js and Browser platforms.
NOTE: WsTransport is exported as a module.

+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Example
+ +
var WsTransport = require("bitmessage/lib/net/ws");
+ + + + + +
+ + + + + + +

Classes

+ +
+
WsTransport
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK) +
+ + + + + \ No newline at end of file diff --git a/docs/module-bitmessage_messages.addr.html b/docs/module-bitmessage_messages.addr.html index 5540b09..4734b1e 100644 --- a/docs/module-bitmessage_messages.addr.html +++ b/docs/module-bitmessage_messages.addr.html @@ -751,13 +751,13 @@ The same as encode.
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_messages.error.html b/docs/module-bitmessage_messages.error.html index 2d7c053..7d5faa5 100644 --- a/docs/module-bitmessage_messages.error.html +++ b/docs/module-bitmessage_messages.error.html @@ -1239,13 +1239,13 @@ related to the error


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_messages.getdata.html b/docs/module-bitmessage_messages.getdata.html index 63a3e3e..d2411aa 100644 --- a/docs/module-bitmessage_messages.getdata.html +++ b/docs/module-bitmessage_messages.getdata.html @@ -752,13 +752,13 @@ The same as encode
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_messages.html b/docs/module-bitmessage_messages.html index 2b094b5..be7dc0d 100644 --- a/docs/module-bitmessage_messages.html +++ b/docs/module-bitmessage_messages.html @@ -364,13 +364,13 @@ routine.


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_messages.inv.html b/docs/module-bitmessage_messages.inv.html index f5bda56..50f29a3 100644 --- a/docs/module-bitmessage_messages.inv.html +++ b/docs/module-bitmessage_messages.inv.html @@ -751,13 +751,13 @@ The same as encode.


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_messages.version.html b/docs/module-bitmessage_messages.version.html index 85d2a1c..68affe8 100644 --- a/docs/module-bitmessage_messages.version.html +++ b/docs/module-bitmessage_messages.version.html @@ -1249,13 +1249,13 @@ to self


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_net_base.html b/docs/module-bitmessage_net_base.html deleted file mode 100644 index a1000c0..0000000 --- a/docs/module-bitmessage_net_base.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - JSDoc: Module: bitmessage/net/base - - - - - - - - - - -
- -

Module: bitmessage/net/base

- - - - - - -
- -
- - - - - -
- -
-
- - -

Networking base module. Defines base transport interface, useful for -implementing new transports. End-users should import some transport -instead in order to connect/accept connections to/from other nodes.
NOTE: BaseTransport is exported as a module.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Example
- -
var BaseTransport = require("bitmessage/net/base");
- - - - - -
- - - - - - -

Classes

- -
-
BaseTransport
-
-
- - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) -
- - - - - \ No newline at end of file diff --git a/docs/module-bitmessage_net_tcp.html b/docs/module-bitmessage_net_tcp.html deleted file mode 100644 index 1c4a188..0000000 --- a/docs/module-bitmessage_net_tcp.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - JSDoc: Module: bitmessage/net/tcp - - - - - - - - - - -
- -

Module: bitmessage/net/tcp

- - - - - - -
- -
- - - - - -
- -
-
- - -

TCP transport compatible with PyBitmessage. Available only for Node -platform.
NOTE: TcpTransport is exported as a module.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Example
- -
var messages = require("bitmessage").messages;
-var TcpTransport = require("bitmessage/net/tcp");
-
-var tcp = new TcpTransport({
-  dnsSeeds: [["bootstrap8444.bitmessage.org", 8444]],
-});
-
-tcp.bootstrap().then(function(nodes) {
-  var remoteHost = nodes[0][0];
-  var remotePort = nodes[0][1];
-  console.log("Connecting to", nodes[0]);
-  tcp.connect(remotePort, remoteHost);
-});
-
-tcp.on("established", function() {
-  console.log("Connection established");
-
-  tcp.on("message", function(command, payload) {
-    console.log("Got new", command, "message");
-    var decoded;
-    if (command === "addr") {
-      decoded = messages.addr.decodePayload(payload);
-      console.log("Got", decoded.addrs.length, "node addresses");
-    }
-  });
-});
- - - - - -
- - - - - - -

Classes

- -
-
TcpTransport
-
-
- - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) -
- - - - - \ No newline at end of file diff --git a/docs/module-bitmessage_net_ws.html b/docs/module-bitmessage_net_ws.html deleted file mode 100644 index 6fea2aa..0000000 --- a/docs/module-bitmessage_net_ws.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - JSDoc: Module: bitmessage/net/ws - - - - - - - - - - -
- -

Module: bitmessage/net/ws

- - - - - - -
- -
- - - - - -
- -
-
- - -

WebSocket transport. Needed because browsers can't handle TCP sockets -so we use separate WebSocket server to proxy messages into TCP data -packets. Available for both Node.js and Browser platforms.
NOTE: WsTransport is exported as a module.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Example
- -
var WsTransport = require("bitmessage/net/ws");
- - - - - -
- - - - - - -

Classes

- -
-
WsTransport
-
-
- - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) -
- - - - - \ No newline at end of file diff --git a/docs/module-bitmessage_objects.broadcast.html b/docs/module-bitmessage_objects.broadcast.html index 0bb4948..60c3ce1 100644 --- a/docs/module-bitmessage_objects.broadcast.html +++ b/docs/module-bitmessage_objects.broadcast.html @@ -1580,13 +1580,13 @@ unparsed buffer data for other encodings


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_objects.getpubkey.html b/docs/module-bitmessage_objects.getpubkey.html index 0cc1dd3..ba37cbd 100644 --- a/docs/module-bitmessage_objects.getpubkey.html +++ b/docs/module-bitmessage_objects.getpubkey.html @@ -1084,13 +1084,13 @@ for address version >= 4


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_objects.html b/docs/module-bitmessage_objects.html index 8b5dc85..5a02f21 100644 --- a/docs/module-bitmessage_objects.html +++ b/docs/module-bitmessage_objects.html @@ -413,13 +413,13 @@ then call decode function of the appropriate object handler.


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_objects.msg.html b/docs/module-bitmessage_objects.msg.html index ad8c87d..7b253ff 100644 --- a/docs/module-bitmessage_objects.msg.html +++ b/docs/module-bitmessage_objects.msg.html @@ -1890,13 +1890,13 @@ unparsed buffer data for other encodings


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_objects.pubkey.html b/docs/module-bitmessage_objects.pubkey.html index 2d42be4..ca7d1b0 100644 --- a/docs/module-bitmessage_objects.pubkey.html +++ b/docs/module-bitmessage_objects.pubkey.html @@ -1290,13 +1290,13 @@ only for pubkey version >= 3)


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_pow.html b/docs/module-bitmessage_pow.html index 7c74d94..0f103e6 100644 --- a/docs/module-bitmessage_pow.html +++ b/docs/module-bitmessage_pow.html @@ -1089,13 +1089,13 @@ raised to 1000.


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.PubkeyBitfield.html b/docs/module-bitmessage_structs.PubkeyBitfield.html index 13801c4..68c8527 100644 --- a/docs/module-bitmessage_structs.PubkeyBitfield.html +++ b/docs/module-bitmessage_structs.PubkeyBitfield.html @@ -798,13 +798,13 @@ bound for them.


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.ServicesBitfield.html b/docs/module-bitmessage_structs.ServicesBitfield.html index f673095..ad41908 100644 --- a/docs/module-bitmessage_structs.ServicesBitfield.html +++ b/docs/module-bitmessage_structs.ServicesBitfield.html @@ -718,13 +718,13 @@ console.log(services.get(15)); // false
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.encrypted.html b/docs/module-bitmessage_structs.encrypted.html index 8bbbb42..9bd1da7 100644 --- a/docs/module-bitmessage_structs.encrypted.html +++ b/docs/module-bitmessage_structs.encrypted.html @@ -750,13 +750,13 @@ size)


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.html b/docs/module-bitmessage_structs.html index 7170ee2..58fa3d5 100644 --- a/docs/module-bitmessage_structs.html +++ b/docs/module-bitmessage_structs.html @@ -210,13 +210,13 @@ console.log(decoded4.list); // [1, 2, 3]
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.inv_vect.html b/docs/module-bitmessage_structs.inv_vect.html index 87f737a..550b60c 100644 --- a/docs/module-bitmessage_structs.inv_vect.html +++ b/docs/module-bitmessage_structs.inv_vect.html @@ -283,13 +283,13 @@
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.message.html b/docs/module-bitmessage_structs.message.html index cb9e640..e7fc677 100644 --- a/docs/module-bitmessage_structs.message.html +++ b/docs/module-bitmessage_structs.message.html @@ -1143,13 +1143,13 @@ processing message


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.net_addr.html b/docs/module-bitmessage_structs.net_addr.html index 61e84cc..f58d4a9 100644 --- a/docs/module-bitmessage_structs.net_addr.html +++ b/docs/module-bitmessage_structs.net_addr.html @@ -927,13 +927,13 @@ provided by the node


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.object.html b/docs/module-bitmessage_structs.object.html index 258f038..8c6222d 100644 --- a/docs/module-bitmessage_structs.object.html +++ b/docs/module-bitmessage_structs.object.html @@ -1828,13 +1828,13 @@ useful if you are going to calculate it later).


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.var_int.html b/docs/module-bitmessage_structs.var_int.html index 6050f4d..643dc5c 100644 --- a/docs/module-bitmessage_structs.var_int.html +++ b/docs/module-bitmessage_structs.var_int.html @@ -609,13 +609,13 @@
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.var_int_list.html b/docs/module-bitmessage_structs.var_int_list.html index 1b8c6e0..ef79c48 100644 --- a/docs/module-bitmessage_structs.var_int_list.html +++ b/docs/module-bitmessage_structs.var_int_list.html @@ -607,13 +607,13 @@
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_structs.var_str.html b/docs/module-bitmessage_structs.var_str.html index 77f955f..7dc9eb9 100644 --- a/docs/module-bitmessage_structs.var_str.html +++ b/docs/module-bitmessage_structs.var_str.html @@ -606,13 +606,13 @@
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_user-agent.html b/docs/module-bitmessage_user-agent.html index 279f639..743e4f3 100644 --- a/docs/module-bitmessage_user-agent.html +++ b/docs/module-bitmessage_user-agent.html @@ -901,13 +901,13 @@ format because it's not that important.


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/module-bitmessage_wif.html b/docs/module-bitmessage_wif.html index d03f3b8..18e1221 100644 --- a/docs/module-bitmessage_wif.html +++ b/docs/module-bitmessage_wif.html @@ -463,13 +463,13 @@ key).


- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/net_base.js.html b/docs/net_base.js.html index 56c4ba7..f6562e1 100644 --- a/docs/net_base.js.html +++ b/docs/net_base.js.html @@ -31,8 +31,8 @@ * implementing new transports. End-users should import some transport * instead in order to connect/accept connections to/from other nodes. * **NOTE**: `BaseTransport` is exported as a module. - * @example var BaseTransport = require("bitmessage/net/base"); - * @module bitmessage/net/base + * @example var BaseTransport = require("bitmessage/lib/net/base"); + * @module bitmessage/lib/net/base */ // TODO(Kagami): Write some sort of tutorial. @@ -149,13 +149,13 @@ module.exports = BaseTransport;
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/net_tcp.js.html b/docs/net_tcp.js.html index 6718f9f..f33ef0e 100644 --- a/docs/net_tcp.js.html +++ b/docs/net_tcp.js.html @@ -30,10 +30,10 @@ * TCP transport compatible with PyBitmessage. Available only for Node * platform. * **NOTE**: `TcpTransport` is exported as a module. - * @module bitmessage/net/tcp + * @module bitmessage/lib/net/tcp * @example * var messages = require("bitmessage").messages; - * var TcpTransport = require("bitmessage/net/tcp"); + * var TcpTransport = require("bitmessage/lib/net/tcp"); * * var tcp = new TcpTransport({ * dnsSeeds: [["bootstrap8444.bitmessage.org", 8444]], @@ -76,8 +76,8 @@ var getmsg = BaseTransport._getmsg; var unmap = BaseTransport._unmap; /** - * TCP transport class. Implements - * [base transport interface]{@link module:bitmessage/net/base.BaseTransport}. + * TCP transport class. Implements [base transport interface]{@link + * module:bitmessage/lib/net/base.BaseTransport}. * @param {Object=} opts - Transport options * @param {Array} opts.seeds - Bootstrap nodes (none by default) * @param {Array} opts.dnsSeeds - Bootstrap DNS nodes (none by default) @@ -362,13 +362,13 @@ module.exports = TcpTransport;
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/net_ws.js.html b/docs/net_ws.js.html index 1091df2..62d250c 100644 --- a/docs/net_ws.js.html +++ b/docs/net_ws.js.html @@ -31,8 +31,8 @@ * so we use separate WebSocket server to proxy messages into TCP data * packets. Available for both Node.js and Browser platforms. * **NOTE**: `WsTransport` is exported as a module. - * @example var WsTransport = require("bitmessage/net/ws"); - * @module bitmessage/net/ws + * @example var WsTransport = require("bitmessage/lib/net/ws"); + * @module bitmessage/lib/net/ws */ "use strict"; @@ -51,8 +51,8 @@ var getmsg = BaseTransport._getmsg; var unmap = BaseTransport._unmap; /** - * WebSocket transport class. Implements - * [base transport interface]{@link module:bitmessage/net/base.BaseTransport}. + * WebSocket transport class. Implements [base transport + * interface]{@link module:bitmessage/lib/net/base.BaseTransport}. * @param {Object=} opts - Transport options * @param {Array} opts.seeds - Bootstrap nodes (none by default) * @param {Object} opts.services - @@ -292,13 +292,13 @@ module.exports = WsTransport;
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/objects.js.html b/docs/objects.js.html index 73cb44b..08be41b 100644 --- a/docs/objects.js.html +++ b/docs/objects.js.html @@ -1170,13 +1170,13 @@ var broadcast = exports.broadcast = {
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/pow.js.html b/docs/pow.js.html index 4b51915..121ae34 100644 --- a/docs/pow.js.html +++ b/docs/pow.js.html @@ -150,13 +150,13 @@ exports.doAsync = function(opts) {
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/structs.js.html b/docs/structs.js.html index 322de68..c8a9365 100644 --- a/docs/structs.js.html +++ b/docs/structs.js.html @@ -1091,13 +1091,13 @@ exports.PubkeyBitfield = objectAssign(Bitfield(32), {
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/user-agent.js.html b/docs/user-agent.js.html index 5598119..ac420c2 100644 --- a/docs/user-agent.js.html +++ b/docs/user-agent.js.html @@ -148,13 +148,13 @@ exports.encodeSelfWith = function(software) {
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)
diff --git a/docs/wif.js.html b/docs/wif.js.html index 1eec40a..2711f7a 100644 --- a/docs/wif.js.html +++ b/docs/wif.js.html @@ -81,13 +81,13 @@ exports.encode = function(privateKey) {
- Documentation generated by JSDoc 3.4.0-dev on Thu Feb 12 2015 13:50:46 GMT+0300 (MSK) + Documentation generated by JSDoc 3.4.0-dev on Sat Feb 14 2015 13:54:08 GMT+0300 (MSK)