Modules stub

This commit is contained in:
Kagami Hiiragi 2015-01-03 00:45:56 +03:00
parent 4d5a699c6e
commit ca13fdf566
5 changed files with 24 additions and 0 deletions

View File

@ -50,6 +50,7 @@ With the help of browserify `bitmessage` provides different implementations for
- [ ] addr
- [ ] inv
- [ ] getdata
- [ ] error
- [ ] object
- [ ] Object types
- [ ] getpubkey

View File

@ -7,7 +7,15 @@
/** Common structures. */
exports.struct = require("./struct");
/** Messages. */
exports.message = require("./message");
/** Objects. */
exports.object = require("./object");
/** Working with WIF. */
exports.WIF = require("./wif");
/** Proof of work. */
exports.POW = require("./pow");
/** Working with addresses. */
exports.Address = require("./address");

5
lib/message.js Normal file
View File

@ -0,0 +1,5 @@
/**
* Working with messages.
* @see {@link https://bitmessage.org/wiki/Protocol_specification#Message_types}
* @module bitmessage/message
*/

5
lib/object.js Normal file
View File

@ -0,0 +1,5 @@
/**
* Working with objects.
* @see {@link https://bitmessage.org/wiki/Protocol_specification#Object_types}
* @module bitmessage/object
*/

5
lib/pow.js Normal file
View File

@ -0,0 +1,5 @@
/**
* Implements proof of work.
* @see {@link https://bitmessage.org/wiki/Proof_of_work}
* @module bitmessage/pow
*/