Class: RejectPacket

net/packets~RejectPacket()

Reject Packet

Constructor

new RejectPacket()

Properties:
Name Type Attributes Description
code Number | String <nullable>

Code (see RejectPacket.codes).

msg String <nullable>

Message.

reason String <nullable>

Reason.

data Hash | Buffer <nullable>

Transaction or block hash.

Source:

Extends

  • Packet

Members

(static) codes :Number

Reject codes. Note that internal and higher are not meant for use on the p2p network.

Type:
  • Number
Default Value:
  • {"MALFORMED":"","INVALID":"","OBSOLETE":"","DUPLICATE":"","NONSTANDARD":"","DUST":"","INSUFFICIENTFEE":"","CHECKPOINT":"","INTERNAL":"","HIGHFEE":"","ALREADYKNOWN":"","CONFLICT":""}
Source:

(static, constant) codesByVal :Object

Reject codes by value.

Type:
  • Object
Source: