Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
Modifier and Type | Method and Description |
---|---|
RejectMessage.RejectCode |
RejectMessage.getReasonCode()
The reason code given for why the peer rejected the message.
|
static RejectMessage.RejectCode |
RejectMessage.RejectCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RejectMessage.RejectCode[] |
RejectMessage.RejectCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
RejectMessage(NetworkParameters params,
RejectMessage.RejectCode code,
Sha256Hash hash,
String message,
String reason)
Constructs a reject message that fingers the object with the given hash as rejected for the given reason.
|
Copyright © 2016. All rights reserved.