mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
JavaDoc: Fix dangling comments.
This commit is contained in:
committed by
Andreas Schildbach
parent
df1b954b7b
commit
326e076373
@@ -341,10 +341,10 @@ public class FullPrunedBlockChain extends AbstractBlockChain {
|
|||||||
return new TransactionOutputChanges(txOutsCreated, txOutsSpent);
|
return new TransactionOutputChanges(txOutsCreated, txOutsSpent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
/**
|
/**
|
||||||
* Used during reorgs to connect a block previously on a fork
|
* Used during reorgs to connect a block previously on a fork
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
protected synchronized TransactionOutputChanges connectTransactions(StoredBlock newBlock)
|
protected synchronized TransactionOutputChanges connectTransactions(StoredBlock newBlock)
|
||||||
throws VerificationException, BlockStoreException, PrunedException {
|
throws VerificationException, BlockStoreException, PrunedException {
|
||||||
checkState(lock.isHeldByCurrentThread());
|
checkState(lock.isHeldByCurrentThread());
|
||||||
|
@@ -210,21 +210,7 @@ public class PaymentChannelClientConnection {
|
|||||||
public ListenableFuture<PaymentIncrementAck> incrementPayment(Coin size) throws ValueOutOfRangeException, IllegalStateException {
|
public ListenableFuture<PaymentIncrementAck> incrementPayment(Coin size) throws ValueOutOfRangeException, IllegalStateException {
|
||||||
return channelClient.incrementPayment(size, null, null);
|
return channelClient.incrementPayment(size, null, null);
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* Increments the total value which we pay the server.
|
|
||||||
*
|
|
||||||
* @param size How many satoshis to increment the payment by (note: not the new total).
|
|
||||||
* @param info Information about this payment increment, used to extend this protocol.
|
|
||||||
* @throws ValueOutOfRangeException If the size is negative or would pay more than this channel's total value
|
|
||||||
* ({@link PaymentChannelClientConnection#state()}.getTotalValue())
|
|
||||||
* @throws IllegalStateException If the channel has been closed or is not yet open
|
|
||||||
* (see {@link PaymentChannelClientConnection#getChannelOpenFuture()} for the second)
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
public ListenableFuture<PaymentIncrementAck> incrementPayment(Coin size, ByteString info) throws ValueOutOfRangeException, IllegalStateException {
|
|
||||||
return channelClient.incrementPayment(size, info, null);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/**
|
/**
|
||||||
* Increments the total value which we pay the server.
|
* Increments the total value which we pay the server.
|
||||||
*
|
*
|
||||||
|
@@ -1107,9 +1107,7 @@ public abstract class BtcFormat extends Format {
|
|||||||
return new BtcFixedFormat(locale, scale, minDecimals, groups);
|
return new BtcFixedFormat(locale, scale, minDecimals, groups);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************/
|
// ****** FORMATTING *****
|
||||||
/****** FORMATTING *****/
|
|
||||||
/***********************/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Formats a bitcoin monetary value and returns an {@link java.text.AttributedCharacterIterator}.
|
* Formats a bitcoin monetary value and returns an {@link java.text.AttributedCharacterIterator}.
|
||||||
@@ -1295,9 +1293,7 @@ public abstract class BtcFormat extends Format {
|
|||||||
return satoshis;
|
return satoshis;
|
||||||
}
|
}
|
||||||
|
|
||||||
/********************/
|
// ****** PARSING *****
|
||||||
/****** PARSING *****/
|
|
||||||
/********************/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse a <code>String</code> representation of a Bitcoin monetary value. Returns a
|
* Parse a <code>String</code> representation of a Bitcoin monetary value. Returns a
|
||||||
@@ -1461,9 +1457,7 @@ public abstract class BtcFormat extends Format {
|
|||||||
return (Coin)parseObject(source);
|
return (Coin)parseObject(source);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************/
|
|
||||||
/****** END OF PARSING STUFF *****/
|
/****** END OF PARSING STUFF *****/
|
||||||
/*********************************/
|
|
||||||
|
|
||||||
protected static String prefixCode(String code, int scale) {
|
protected static String prefixCode(String code, int scale) {
|
||||||
switch (scale) {
|
switch (scale) {
|
||||||
|
@@ -437,7 +437,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Key Management
|
//region Key Management
|
||||||
|
|
||||||
@@ -1288,7 +1288,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Serialization support
|
//region Serialization support
|
||||||
|
|
||||||
@@ -1626,7 +1626,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Inbound transaction reception and processing
|
//region Inbound transaction reception and processing
|
||||||
|
|
||||||
@@ -2531,7 +2531,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Event listeners
|
//region Event listeners
|
||||||
|
|
||||||
@@ -2791,7 +2791,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Vending transactions and other internal state
|
//region Vending transactions and other internal state
|
||||||
|
|
||||||
@@ -3432,7 +3432,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Balance and balance futures
|
//region Balance and balance futures
|
||||||
|
|
||||||
@@ -3662,7 +3662,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Creating and sending transactions
|
//region Creating and sending transactions
|
||||||
|
|
||||||
@@ -4286,8 +4286,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A custom {@link TransactionOutput} that is free standing. This contains all the information
|
* A custom {@link TransactionOutput} that is free standing. This contains all the information
|
||||||
* required for spending without actually having all the linked data (i.e parent tx).
|
* required for spending without actually having all the linked data (i.e parent tx).
|
||||||
@@ -4337,10 +4336,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
|
||||||
|
|
||||||
private static class TxOffsetPair implements Comparable<TxOffsetPair> {
|
private static class TxOffsetPair implements Comparable<TxOffsetPair> {
|
||||||
public final Transaction tx;
|
public final Transaction tx;
|
||||||
@@ -4691,7 +4687,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Extensions to the wallet format.
|
//region Extensions to the wallet format.
|
||||||
|
|
||||||
@@ -4938,7 +4934,7 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
/******************************************************************************************************************/
|
// ***************************************************************************************************************
|
||||||
|
|
||||||
//region Wallet maintenance transactions
|
//region Wallet maintenance transactions
|
||||||
|
|
||||||
|
@@ -363,7 +363,7 @@ public class NetworkAbstractionTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void largeDataTest() throws Exception {
|
public void largeDataTest() throws Exception {
|
||||||
/** Test various large-data handling, essentially testing {@link ProtobufConnection#receiveBytes(java.nio.ByteBuffer)} */
|
// Test various large-data handling, essentially testing {@link ProtobufConnection#receiveBytes(java.nio.ByteBuffer)}
|
||||||
final SettableFuture<Void> serverConnectionOpen = SettableFuture.create();
|
final SettableFuture<Void> serverConnectionOpen = SettableFuture.create();
|
||||||
final SettableFuture<Void> clientConnectionOpen = SettableFuture.create();
|
final SettableFuture<Void> clientConnectionOpen = SettableFuture.create();
|
||||||
final SettableFuture<Void> serverConnectionClosed = SettableFuture.create();
|
final SettableFuture<Void> serverConnectionClosed = SettableFuture.create();
|
||||||
|
Reference in New Issue
Block a user