3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-14 19:25:51 +00:00

JavaDoc: Fix references.

This commit is contained in:
Andreas Schildbach 2018-03-11 20:53:42 +01:00 committed by Andreas Schildbach
parent fa5bdbb672
commit 9e16d5fdeb
4 changed files with 8 additions and 10 deletions

View File

@ -39,15 +39,13 @@ public class AddressMessage extends Message {
* Contruct a new 'addr' message. * Contruct a new 'addr' message.
* @param params NetworkParameters object. * @param params NetworkParameters object.
* @param offset The location of the first payload byte within the array. * @param offset The location of the first payload byte within the array.
* @param parseRetain Whether to retain the backing byte array for quick reserialization. * @param serializer the serializer to use for this block.
* If true and the backing byte array is invalidated due to modification of a field then
* the cached bytes may be repopulated and retained if the message is serialized again in the future.
* @param length The length of message if known. Usually this is provided when deserializing of the wire * @param length The length of message if known. Usually this is provided when deserializing of the wire
* as the length will be provided as part of the header. If unknown then set to Message.UNKNOWN_LENGTH * as the length will be provided as part of the header. If unknown then set to Message.UNKNOWN_LENGTH
* @throws ProtocolException * @throws ProtocolException
*/ */
AddressMessage(NetworkParameters params, byte[] payload, int offset, MessageSerializer setSerializer, int length) throws ProtocolException { AddressMessage(NetworkParameters params, byte[] payload, int offset, MessageSerializer serializer, int length) throws ProtocolException {
super(params, payload, offset, setSerializer, length); super(params, payload, offset, serializer, length);
} }
/** /**

View File

@ -58,8 +58,8 @@ public class LegacyAddress extends Address {
* *
* @param params * @param params
* network this address is valid for * network this address is valid for
* @param version * @param p2sh
* version header of the address * true if hash160 is hash of a script, false if it is hash of a pubkey
* @param hash160 * @param hash160
* 20-byte hash of pubkey or script * 20-byte hash of pubkey or script
*/ */

View File

@ -36,7 +36,7 @@ public interface UTXOProvider {
/** /**
* Get the height of the chain head. * Get the height of the chain head.
* @return The chain head height. * @return The chain head height.
* @throws UTXOProvider If there is an error. * @throws UTXOProviderException If there is an error.
*/ */
int getChainHeadHeight() throws UTXOProviderException; int getChainHeadHeight() throws UTXOProviderException;

View File

@ -686,7 +686,7 @@ public class Script {
/** /**
* Cast a script chunk to a BigInteger. * Cast a script chunk to a BigInteger.
* *
* @see #castToBigInteger(byte[], int) for values with different maximum * @see #castToBigInteger(byte[], int, boolean) for values with different maximum
* sizes. * sizes.
* @throws ScriptException if the chunk is longer than 4 bytes. * @throws ScriptException if the chunk is longer than 4 bytes.
*/ */
@ -696,7 +696,7 @@ public class Script {
/** /**
* Cast a script chunk to a BigInteger. Normally you would want * Cast a script chunk to a BigInteger. Normally you would want
* {@link #castToBigInteger(byte[])} instead, this is only for cases where * {@link #castToBigInteger(byte[], boolean)} instead, this is only for cases where
* the normal maximum length does not apply (i.e. CHECKLOCKTIMEVERIFY, CHECKSEQUENCEVERIFY). * the normal maximum length does not apply (i.e. CHECKLOCKTIMEVERIFY, CHECKSEQUENCEVERIFY).
* *
* @param maxLength the maximum length in bytes. * @param maxLength the maximum length in bytes.