fullnode: document events.
This commit is contained in:
parent
b0b7745039
commit
182b25f9ab
@ -20,26 +20,12 @@ var HTTPServer = require('../http/server');
|
|||||||
var policy = require('../protocol/policy');
|
var policy = require('../protocol/policy');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a fullnode complete with a chain,
|
* Respresents a fullnode complete with a
|
||||||
* mempool, miner, wallet, etc.
|
* chain, mempool, miner, wallet, etc.
|
||||||
* @alias module:node.FullNode
|
* @alias module:node.FullNode
|
||||||
* @extends Node
|
* @extends Node
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param {Object?} options
|
* @param {Object?} options
|
||||||
* @param {Boolean?} options.limitFree
|
|
||||||
* @param {Number?} options.limitFreeRelay
|
|
||||||
* @param {Boolean?} options.requireStandard
|
|
||||||
* @param {Boolean?} options.rejectInsaneFees
|
|
||||||
* @param {Boolean?} options.replaceByFee
|
|
||||||
* @param {Boolean?} options.selfish
|
|
||||||
* @param {Base58Address?} options.payoutAddress
|
|
||||||
* @param {String?} options.coinbaseFlags
|
|
||||||
* @param {Buffer?} options.sslKey
|
|
||||||
* @param {Buffer?} options.sslCert
|
|
||||||
* @param {Number?} options.httpPort
|
|
||||||
* @param {String?} options.httpHost
|
|
||||||
* @param {Object?} options.wallet - Primary {@link Wallet} options.
|
|
||||||
* @property {Boolean} loaded
|
|
||||||
* @property {Chain} chain
|
* @property {Chain} chain
|
||||||
* @property {PolicyEstimator} fees
|
* @property {PolicyEstimator} fees
|
||||||
* @property {Mempool} mempool
|
* @property {Mempool} mempool
|
||||||
@ -49,6 +35,9 @@ var policy = require('../protocol/policy');
|
|||||||
* @property {HTTPServer} http
|
* @property {HTTPServer} http
|
||||||
* @emits FullNode#block
|
* @emits FullNode#block
|
||||||
* @emits FullNode#tx
|
* @emits FullNode#tx
|
||||||
|
* @emits FullNode#connect
|
||||||
|
* @emits FullNode#disconnect
|
||||||
|
* @emits FullNode#reset
|
||||||
* @emits FullNode#error
|
* @emits FullNode#error
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user