peer: comments.
This commit is contained in:
parent
7728a00470
commit
75c279169c
@ -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}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user