peer: comments.

This commit is contained in:
Christopher Jeffrey 2017-05-19 22:05:46 -07:00
parent 7728a00470
commit 75c279169c
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2141,7 +2141,8 @@ Peer.prototype.sendMempool = function sendMempool() {
* Send `reject` to peer. * Send `reject` to peer.
* @param {Number} code * @param {Number} code
* @param {String} reason * @param {String} reason
* @param {TX|Block} msg * @param {String} msg
* @param {Hash} hash
*/ */
Peer.prototype.sendReject = function sendReject(code, reason, msg, hash) { Peer.prototype.sendReject = function sendReject(code, reason, msg, hash) {
@ -2215,8 +2216,7 @@ Peer.prototype.ban = function ban() {
/** /**
* Send a `reject` packet to peer. * Send a `reject` packet to peer.
* @see Framer.reject * @param {String} msg
* @param {String msg
* @param {VerifyError} err * @param {VerifyError} err
* @returns {Boolean} * @returns {Boolean}
*/ */