mirror of
				https://github.com/Qortal/altcoinj.git
				synced 2025-11-03 05:57:21 +00:00 
			
		
		
		
	Javadoc format corrections
This commit is contained in:
		
				
					committed by
					
						
						Andreas Schildbach
					
				
			
			
				
	
			
			
			
						parent
						
							7aa6448e8e
						
					
				
				
					commit
					a01bdf4b0d
				
			@@ -35,20 +35,20 @@ import static org.bitcoinj.core.Utils.*;
 | 
			
		||||
 * depth-first traversal is performed, consuming bits and hashes as they were written during encoding.</p>
 | 
			
		||||
 *
 | 
			
		||||
 * <p>The serialization is fixed and provides a hard guarantee about the encoded size,
 | 
			
		||||
 * <tt>SIZE <= 10 + ceil(32.25*N)</tt> where N represents the number of leaf nodes of the partial tree. N itself
 | 
			
		||||
 * <tt>SIZE <= 10 + ceil(32.25*N)</tt> where N represents the number of leaf nodes of the partial tree. N itself
 | 
			
		||||
 * is bounded by:</p>
 | 
			
		||||
 *
 | 
			
		||||
 * <p>
 | 
			
		||||
 * N <= total_transactions<br>
 | 
			
		||||
 * N <= 1 + matched_transactions*tree_height
 | 
			
		||||
 * N <= total_transactions<br>
 | 
			
		||||
 * N <= 1 + matched_transactions*tree_height
 | 
			
		||||
 * </p>
 | 
			
		||||
 *
 | 
			
		||||
 * <p><pre>The serialization format:
 | 
			
		||||
 *  - uint32     total_transactions (4 bytes)
 | 
			
		||||
 *  - varint     number of hashes   (1-3 bytes)
 | 
			
		||||
 *  - uint256[]  hashes in depth-first order (<= 32*N bytes)
 | 
			
		||||
 *  - uint256[]  hashes in depth-first order (<= 32*N bytes)
 | 
			
		||||
 *  - varint     number of bytes of flag bits (1-3 bytes)
 | 
			
		||||
 *  - byte[]     flag bits, packed per 8 in a byte, least significant bit first (<= 2*N-1 bits)
 | 
			
		||||
 *  - byte[]     flag bits, packed per 8 in a byte, least significant bit first (<= 2*N-1 bits)
 | 
			
		||||
 * The size constraints follow from this.</pre></p>
 | 
			
		||||
 */
 | 
			
		||||
public class PartialMerkleTree extends Message {
 | 
			
		||||
 
 | 
			
		||||
@@ -216,7 +216,7 @@ public class Transaction extends ChildMessage implements Serializable {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Creates a transaction by reading payload starting from offset bytes in. Length of a transaction is fixed.
 | 
			
		||||
     * Creates a transaction by reading payload. Length of a transaction is fixed.
 | 
			
		||||
     */
 | 
			
		||||
    public Transaction(NetworkParameters params, byte[] payload, @Nullable Message parent, boolean parseLazy, boolean parseRetain, int length)
 | 
			
		||||
            throws ProtocolException {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user