test_class.declarator: params = TestNet2Params.get()
test_class.modifier: static final
test_class.original_string: static final NetworkParameters params = TestNet2Params.get();
test_class.type: NetworkParameters
test_class.var_name: params
test_class.declarator: blockBytes
test_class.modifier: public static final
test_class.original_string: public static final byte[] blockBytes;
test_class.type: byte[]
test_class.var_name: blockBytes
test_class.file: core/src/test/java/com/google/bitcoin/core/BlockTest.java
test_class.identifier: BlockTest
test_case.body: @Test
      public void testWork() throws Exception {
          BigInteger work = params.getGenesisBlock().getWork();
          // This number is printed by the official client at startup as the calculated value of chainWork on testnet:
          //
          // SetBestChain: new best=00000007199508e34a9f  height=0  work=536879104
          assertEquals(BigInteger.valueOf(536879104L), work);
      }
test_case.class_method_signature: BlockTest.testWork()
test_case.full_signature: @Test public void testWork()
test_case.identifier: testWork
test_case.invocations: getWork getGenesisBlock assertEquals valueOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWork()
focal_class.declarator: log = LoggerFactory.getLogger(Block.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(Block.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: serialVersionUID = 2738848929966035281L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 2738848929966035281L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: HEADER_SIZE = 80
focal_class.modifier: public static final
focal_class.original_string: public static final int HEADER_SIZE = 80;
focal_class.type: int
focal_class.var_name: HEADER_SIZE
focal_class.declarator: ALLOWED_TIME_DRIFT = 2 * 60 * 60
focal_class.modifier: static final
focal_class.original_string: static final long ALLOWED_TIME_DRIFT = 2 * 60 * 60;
focal_class.type: long
focal_class.var_name: ALLOWED_TIME_DRIFT
focal_class.declarator: MAX_BLOCK_SIZE = CoinDefinition.MAX_BLOCK_SIZE
focal_class.modifier: public static final
focal_class.original_string: public static final int MAX_BLOCK_SIZE = CoinDefinition.MAX_BLOCK_SIZE;
focal_class.type: int
focal_class.var_name: MAX_BLOCK_SIZE
focal_class.declarator: MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE / 50
focal_class.modifier: public static final
focal_class.original_string: public static final int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE / 50;
focal_class.type: int
focal_class.var_name: MAX_BLOCK_SIGOPS
focal_class.declarator: EASIEST_DIFFICULTY_TARGET = 0x207fFFFFL
focal_class.modifier: public static final
focal_class.original_string: public static final long EASIEST_DIFFICULTY_TARGET = 0x207fFFFFL;
focal_class.type: long
focal_class.var_name: EASIEST_DIFFICULTY_TARGET
focal_class.declarator: version
focal_class.modifier: private
focal_class.original_string: private long version;
focal_class.type: long
focal_class.var_name: version
focal_class.declarator: prevBlockHash
focal_class.modifier: private
focal_class.original_string: private Sha256Hash prevBlockHash;
focal_class.type: Sha256Hash
focal_class.var_name: prevBlockHash
focal_class.declarator: merkleRoot
focal_class.modifier: private
focal_class.original_string: private Sha256Hash merkleRoot;
focal_class.type: Sha256Hash
focal_class.var_name: merkleRoot
focal_class.declarator: time
focal_class.modifier: private
focal_class.original_string: private long time;
focal_class.type: long
focal_class.var_name: time
focal_class.declarator: difficultyTarget
focal_class.modifier: private
focal_class.original_string: private long difficultyTarget;
focal_class.type: long
focal_class.var_name: difficultyTarget
focal_class.declarator: nonce
focal_class.modifier: private
focal_class.original_string: private long nonce;
focal_class.type: long
focal_class.var_name: nonce
focal_class.declarator: transactions
focal_class.original_string: List<Transaction> transactions;
focal_class.type: List<Transaction>
focal_class.var_name: transactions
focal_class.declarator: hash
focal_class.modifier: private transient
focal_class.original_string: private transient Sha256Hash hash;
focal_class.type: Sha256Hash
focal_class.var_name: hash
focal_class.declarator: scryptHash
focal_class.modifier: private transient
focal_class.original_string: private transient Sha256Hash scryptHash;
focal_class.type: Sha256Hash
focal_class.var_name: scryptHash
focal_class.declarator: headerParsed
focal_class.modifier: private transient
focal_class.original_string: private transient boolean headerParsed;
focal_class.type: boolean
focal_class.var_name: headerParsed
focal_class.declarator: transactionsParsed
focal_class.modifier: private transient
focal_class.original_string: private transient boolean transactionsParsed;
focal_class.type: boolean
focal_class.var_name: transactionsParsed
focal_class.declarator: headerBytesValid
focal_class.modifier: private transient
focal_class.original_string: private transient boolean headerBytesValid;
focal_class.type: boolean
focal_class.var_name: headerBytesValid
focal_class.declarator: transactionBytesValid
focal_class.modifier: private transient
focal_class.original_string: private transient boolean transactionBytesValid;
focal_class.type: boolean
focal_class.var_name: transactionBytesValid
focal_class.declarator: optimalEncodingMessageSize
focal_class.modifier: private transient
focal_class.original_string: private transient int optimalEncodingMessageSize;
focal_class.type: int
focal_class.var_name: optimalEncodingMessageSize
focal_class.declarator: LARGEST_HASH = BigInteger.ONE.shiftLeft(256)
focal_class.modifier: static private
focal_class.original_string: static private BigInteger LARGEST_HASH = BigInteger.ONE.shiftLeft(256);
focal_class.type: BigInteger
focal_class.var_name: LARGEST_HASH
focal_class.declarator: txCounter
focal_class.modifier: static private
focal_class.original_string: static private int txCounter;
focal_class.type: int
focal_class.var_name: txCounter
focal_class.declarator: EMPTY_BYTES = new byte[32]
focal_class.modifier: static final
focal_class.original_string: static final byte[] EMPTY_BYTES = new byte[32];
focal_class.type: byte[]
focal_class.var_name: EMPTY_BYTES
focal_class.file: core/src/main/java/com/google/bitcoin/core/Block.java
focal_class.identifier: Block
focal_class.class_method_signature: Block.Block(NetworkParameters params)
focal_class.full_signature:   Block(NetworkParameters params)
focal_class.identifier: Block
focal_class.parameters: (NetworkParameters params)
focal_class.signature:  Block(NetworkParameters params)
focal_class.class_method_signature: Block.Block(NetworkParameters params, byte[] payloadBytes)
focal_class.full_signature: public  Block(NetworkParameters params, byte[] payloadBytes)
focal_class.identifier: Block
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params, byte[] payloadBytes)
focal_class.signature:  Block(NetworkParameters params, byte[] payloadBytes)
focal_class.class_method_signature: Block.Block(NetworkParameters params, byte[] payloadBytes, boolean parseLazy, boolean parseRetain, int length)
focal_class.full_signature: public  Block(NetworkParameters params, byte[] payloadBytes, boolean parseLazy, boolean parseRetain, int length)
focal_class.identifier: Block
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params, byte[] payloadBytes, boolean parseLazy, boolean parseRetain, int length)
focal_class.signature:  Block(NetworkParameters params, byte[] payloadBytes, boolean parseLazy, boolean parseRetain, int length)
focal_class.class_method_signature: Block.Block(NetworkParameters params, long version, Sha256Hash prevBlockHash, Sha256Hash merkleRoot, long time,
                   long difficultyTarget, long nonce, List<Transaction> transactions)
focal_class.full_signature: public  Block(NetworkParameters params, long version, Sha256Hash prevBlockHash, Sha256Hash merkleRoot, long time,
                   long difficultyTarget, long nonce, List<Transaction> transactions)
focal_class.identifier: Block
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params, long version, Sha256Hash prevBlockHash, Sha256Hash merkleRoot, long time,
                   long difficultyTarget, long nonce, List<Transaction> transactions)
focal_class.signature:  Block(NetworkParameters params, long version, Sha256Hash prevBlockHash, Sha256Hash merkleRoot, long time,
                   long difficultyTarget, long nonce, List<Transaction> transactions)
focal_class.class_method_signature: Block.getBlockInflation(int nHeight)
focal_class.full_signature: public BigInteger getBlockInflation(int nHeight)
focal_class.identifier: getBlockInflation
focal_class.modifiers: public
focal_class.parameters: (int nHeight)
focal_class.return: BigInteger
focal_class.signature: BigInteger getBlockInflation(int nHeight)
focal_class.class_method_signature: Block.readObject(ObjectInputStream ois)
focal_class.full_signature: private void readObject(ObjectInputStream ois)
focal_class.identifier: readObject
focal_class.modifiers: private
focal_class.parameters: (ObjectInputStream ois)
focal_class.return: void
focal_class.signature: void readObject(ObjectInputStream ois)
focal_class.class_method_signature: Block.parseHeader()
focal_class.full_signature: private void parseHeader()
focal_class.identifier: parseHeader
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parseHeader()
focal_class.class_method_signature: Block.parseTransactions()
focal_class.full_signature: private void parseTransactions()
focal_class.identifier: parseTransactions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parseTransactions()
focal_class.class_method_signature: Block.parse()
focal_class.full_signature:  void parse()
focal_class.identifier: parse
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parse()
focal_class.class_method_signature: Block.getOptimalEncodingMessageSize()
focal_class.full_signature: public int getOptimalEncodingMessageSize()
focal_class.identifier: getOptimalEncodingMessageSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getOptimalEncodingMessageSize()
focal_class.class_method_signature: Block.parseLite()
focal_class.full_signature: protected void parseLite()
focal_class.identifier: parseLite
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parseLite()
focal_class.class_method_signature: Block.maybeParseHeader()
focal_class.full_signature: private void maybeParseHeader()
focal_class.identifier: maybeParseHeader
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void maybeParseHeader()
focal_class.class_method_signature: Block.maybeParseTransactions()
focal_class.full_signature: private void maybeParseTransactions()
focal_class.identifier: maybeParseTransactions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void maybeParseTransactions()
focal_class.class_method_signature: Block.maybeParse()
focal_class.full_signature: protected void maybeParse()
focal_class.identifier: maybeParse
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void maybeParse()
focal_class.class_method_signature: Block.ensureParsed()
focal_class.full_signature: public void ensureParsed()
focal_class.identifier: ensureParsed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void ensureParsed()
focal_class.class_method_signature: Block.ensureParsedHeader()
focal_class.full_signature: public void ensureParsedHeader()
focal_class.identifier: ensureParsedHeader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void ensureParsedHeader()
focal_class.class_method_signature: Block.ensureParsedTransactions()
focal_class.full_signature: public void ensureParsedTransactions()
focal_class.identifier: ensureParsedTransactions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void ensureParsedTransactions()
focal_class.class_method_signature: Block.writeHeader(OutputStream stream)
focal_class.full_signature:  void writeHeader(OutputStream stream)
focal_class.identifier: writeHeader
focal_class.parameters: (OutputStream stream)
focal_class.return: void
focal_class.signature: void writeHeader(OutputStream stream)
focal_class.class_method_signature: Block.writeTransactions(OutputStream stream)
focal_class.full_signature: private void writeTransactions(OutputStream stream)
focal_class.identifier: writeTransactions
focal_class.modifiers: private
focal_class.parameters: (OutputStream stream)
focal_class.return: void
focal_class.signature: void writeTransactions(OutputStream stream)
focal_class.class_method_signature: Block.bitcoinSerialize()
focal_class.full_signature: public byte[] bitcoinSerialize()
focal_class.identifier: bitcoinSerialize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] bitcoinSerialize()
focal_class.class_method_signature: Block.bitcoinSerializeToStream(OutputStream stream)
focal_class.full_signature: @Override protected void bitcoinSerializeToStream(OutputStream stream)
focal_class.identifier: bitcoinSerializeToStream
focal_class.modifiers: @Override protected
focal_class.parameters: (OutputStream stream)
focal_class.return: void
focal_class.signature: void bitcoinSerializeToStream(OutputStream stream)
focal_class.class_method_signature: Block.guessTransactionsLength()
focal_class.full_signature: private int guessTransactionsLength()
focal_class.identifier: guessTransactionsLength
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int guessTransactionsLength()
focal_class.class_method_signature: Block.unCache()
focal_class.full_signature: protected void unCache()
focal_class.identifier: unCache
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unCache()
focal_class.class_method_signature: Block.unCacheHeader()
focal_class.full_signature: private void unCacheHeader()
focal_class.identifier: unCacheHeader
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unCacheHeader()
focal_class.class_method_signature: Block.unCacheTransactions()
focal_class.full_signature: private void unCacheTransactions()
focal_class.identifier: unCacheTransactions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unCacheTransactions()
focal_class.class_method_signature: Block.calculateHash()
focal_class.full_signature: private Sha256Hash calculateHash()
focal_class.identifier: calculateHash
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash calculateHash()
focal_class.class_method_signature: Block.calculateScryptHash()
focal_class.full_signature: private Sha256Hash calculateScryptHash()
focal_class.identifier: calculateScryptHash
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash calculateScryptHash()
focal_class.class_method_signature: Block.getHashAsString()
focal_class.full_signature: public String getHashAsString()
focal_class.identifier: getHashAsString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHashAsString()
focal_class.class_method_signature: Block.getScryptHashAsString()
focal_class.full_signature: public String getScryptHashAsString()
focal_class.identifier: getScryptHashAsString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getScryptHashAsString()
focal_class.class_method_signature: Block.getHash()
focal_class.full_signature: public Sha256Hash getHash()
focal_class.identifier: getHash
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash getHash()
focal_class.class_method_signature: Block.getScryptHash()
focal_class.full_signature: public Sha256Hash getScryptHash()
focal_class.identifier: getScryptHash
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash getScryptHash()
focal_class.class_method_signature: Block.getWork()
focal_class.full_signature: public BigInteger getWork()
focal_class.identifier: getWork
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: BigInteger
focal_class.signature: BigInteger getWork()
focal_class.class_method_signature: Block.cloneAsHeader()
focal_class.full_signature: public Block cloneAsHeader()
focal_class.identifier: cloneAsHeader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Block
focal_class.signature: Block cloneAsHeader()
focal_class.class_method_signature: Block.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Block.solve()
focal_class.full_signature: public void solve()
focal_class.identifier: solve
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void solve()
focal_class.class_method_signature: Block.getDifficultyTargetAsInteger()
focal_class.full_signature: public BigInteger getDifficultyTargetAsInteger()
focal_class.identifier: getDifficultyTargetAsInteger
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: BigInteger
focal_class.signature: BigInteger getDifficultyTargetAsInteger()
focal_class.class_method_signature: Block.checkProofOfWork(boolean throwException)
focal_class.full_signature: private boolean checkProofOfWork(boolean throwException)
focal_class.identifier: checkProofOfWork
focal_class.modifiers: private
focal_class.parameters: (boolean throwException)
focal_class.return: boolean
focal_class.signature: boolean checkProofOfWork(boolean throwException)
focal_class.class_method_signature: Block.checkTimestamp()
focal_class.full_signature: private void checkTimestamp()
focal_class.identifier: checkTimestamp
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkTimestamp()
focal_class.class_method_signature: Block.checkSigOps()
focal_class.full_signature: private void checkSigOps()
focal_class.identifier: checkSigOps
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkSigOps()
focal_class.class_method_signature: Block.checkMerkleRoot()
focal_class.full_signature: private void checkMerkleRoot()
focal_class.identifier: checkMerkleRoot
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkMerkleRoot()
focal_class.class_method_signature: Block.calculateMerkleRoot()
focal_class.full_signature: private Sha256Hash calculateMerkleRoot()
focal_class.identifier: calculateMerkleRoot
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash calculateMerkleRoot()
focal_class.class_method_signature: Block.buildMerkleTree()
focal_class.full_signature: private List<byte[]> buildMerkleTree()
focal_class.identifier: buildMerkleTree
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: List<byte[]>
focal_class.signature: List<byte[]> buildMerkleTree()
focal_class.class_method_signature: Block.checkTransactions()
focal_class.full_signature: private void checkTransactions()
focal_class.identifier: checkTransactions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkTransactions()
focal_class.class_method_signature: Block.verifyHeader()
focal_class.full_signature: public void verifyHeader()
focal_class.identifier: verifyHeader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void verifyHeader()
focal_class.class_method_signature: Block.verifyTransactions()
focal_class.full_signature: public void verifyTransactions()
focal_class.identifier: verifyTransactions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void verifyTransactions()
focal_class.class_method_signature: Block.verify()
focal_class.full_signature: public void verify()
focal_class.identifier: verify
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void verify()
focal_class.class_method_signature: Block.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: Block.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Block.getMerkleRoot()
focal_class.full_signature: public Sha256Hash getMerkleRoot()
focal_class.identifier: getMerkleRoot
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash getMerkleRoot()
focal_class.class_method_signature: Block.setMerkleRoot(Sha256Hash value)
focal_class.full_signature:  void setMerkleRoot(Sha256Hash value)
focal_class.identifier: setMerkleRoot
focal_class.parameters: (Sha256Hash value)
focal_class.return: void
focal_class.signature: void setMerkleRoot(Sha256Hash value)
focal_class.class_method_signature: Block.addTransaction(Transaction t)
focal_class.full_signature: public void addTransaction(Transaction t)
focal_class.identifier: addTransaction
focal_class.modifiers: public
focal_class.parameters: (Transaction t)
focal_class.return: void
focal_class.signature: void addTransaction(Transaction t)
focal_class.class_method_signature: Block.addTransaction(Transaction t, boolean runSanityChecks)
focal_class.full_signature:  void addTransaction(Transaction t, boolean runSanityChecks)
focal_class.identifier: addTransaction
focal_class.parameters: (Transaction t, boolean runSanityChecks)
focal_class.return: void
focal_class.signature: void addTransaction(Transaction t, boolean runSanityChecks)
focal_class.class_method_signature: Block.getVersion()
focal_class.full_signature: public long getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getVersion()
focal_class.class_method_signature: Block.getPrevBlockHash()
focal_class.full_signature: public Sha256Hash getPrevBlockHash()
focal_class.identifier: getPrevBlockHash
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash getPrevBlockHash()
focal_class.class_method_signature: Block.setPrevBlockHash(Sha256Hash prevBlockHash)
focal_class.full_signature:  void setPrevBlockHash(Sha256Hash prevBlockHash)
focal_class.identifier: setPrevBlockHash
focal_class.parameters: (Sha256Hash prevBlockHash)
focal_class.return: void
focal_class.signature: void setPrevBlockHash(Sha256Hash prevBlockHash)
focal_class.class_method_signature: Block.getTimeSeconds()
focal_class.full_signature: public long getTimeSeconds()
focal_class.identifier: getTimeSeconds
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getTimeSeconds()
focal_class.class_method_signature: Block.getTime()
focal_class.full_signature: public Date getTime()
focal_class.identifier: getTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getTime()
focal_class.class_method_signature: Block.setTime(long time)
focal_class.full_signature: public void setTime(long time)
focal_class.identifier: setTime
focal_class.modifiers: public
focal_class.parameters: (long time)
focal_class.return: void
focal_class.signature: void setTime(long time)
focal_class.class_method_signature: Block.getDifficultyTarget()
focal_class.full_signature: public long getDifficultyTarget()
focal_class.identifier: getDifficultyTarget
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getDifficultyTarget()
focal_class.class_method_signature: Block.setDifficultyTarget(long compactForm)
focal_class.full_signature: public void setDifficultyTarget(long compactForm)
focal_class.identifier: setDifficultyTarget
focal_class.modifiers: public
focal_class.parameters: (long compactForm)
focal_class.return: void
focal_class.signature: void setDifficultyTarget(long compactForm)
focal_class.class_method_signature: Block.getNonce()
focal_class.full_signature: public long getNonce()
focal_class.identifier: getNonce
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNonce()
focal_class.class_method_signature: Block.setNonce(long nonce)
focal_class.full_signature: public void setNonce(long nonce)
focal_class.identifier: setNonce
focal_class.modifiers: public
focal_class.parameters: (long nonce)
focal_class.return: void
focal_class.signature: void setNonce(long nonce)
focal_class.class_method_signature: Block.getTransactions()
focal_class.full_signature: public List<Transaction> getTransactions()
focal_class.identifier: getTransactions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Transaction>
focal_class.signature: List<Transaction> getTransactions()
focal_class.class_method_signature: Block.addCoinbaseTransaction(byte[] pubKeyTo, BigInteger value)
focal_class.full_signature:  void addCoinbaseTransaction(byte[] pubKeyTo, BigInteger value)
focal_class.identifier: addCoinbaseTransaction
focal_class.parameters: (byte[] pubKeyTo, BigInteger value)
focal_class.return: void
focal_class.signature: void addCoinbaseTransaction(byte[] pubKeyTo, BigInteger value)
focal_class.class_method_signature: Block.createNextBlock(Address to, long time)
focal_class.full_signature: @VisibleForTesting public Block createNextBlock(Address to, long time)
focal_class.identifier: createNextBlock
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (Address to, long time)
focal_class.return: Block
focal_class.signature: Block createNextBlock(Address to, long time)
focal_class.class_method_signature: Block.createNextBlock(@Nullable Address to, @Nullable TransactionOutPoint prevOut, long time,
                            byte[] pubKey, BigInteger coinbaseValue)
focal_class.full_signature:  Block createNextBlock(@Nullable Address to, @Nullable TransactionOutPoint prevOut, long time,
                            byte[] pubKey, BigInteger coinbaseValue)
focal_class.identifier: createNextBlock
focal_class.parameters: (@Nullable Address to, @Nullable TransactionOutPoint prevOut, long time,
                            byte[] pubKey, BigInteger coinbaseValue)
focal_class.return: Block
focal_class.signature: Block createNextBlock(@Nullable Address to, @Nullable TransactionOutPoint prevOut, long time,
                            byte[] pubKey, BigInteger coinbaseValue)
focal_class.class_method_signature: Block.createNextBlock(@Nullable Address to, TransactionOutPoint prevOut)
focal_class.full_signature: @VisibleForTesting public Block createNextBlock(@Nullable Address to, TransactionOutPoint prevOut)
focal_class.identifier: createNextBlock
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (@Nullable Address to, TransactionOutPoint prevOut)
focal_class.return: Block
focal_class.signature: Block createNextBlock(@Nullable Address to, TransactionOutPoint prevOut)
focal_class.class_method_signature: Block.createNextBlock(@Nullable Address to, BigInteger value)
focal_class.full_signature: @VisibleForTesting public Block createNextBlock(@Nullable Address to, BigInteger value)
focal_class.identifier: createNextBlock
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (@Nullable Address to, BigInteger value)
focal_class.return: Block
focal_class.signature: Block createNextBlock(@Nullable Address to, BigInteger value)
focal_class.class_method_signature: Block.createNextBlock(@Nullable Address to)
focal_class.full_signature: @VisibleForTesting public Block createNextBlock(@Nullable Address to)
focal_class.identifier: createNextBlock
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (@Nullable Address to)
focal_class.return: Block
focal_class.signature: Block createNextBlock(@Nullable Address to)
focal_class.class_method_signature: Block.createNextBlockWithCoinbase(byte[] pubKey, BigInteger coinbaseValue)
focal_class.full_signature: @VisibleForTesting public Block createNextBlockWithCoinbase(byte[] pubKey, BigInteger coinbaseValue)
focal_class.identifier: createNextBlockWithCoinbase
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (byte[] pubKey, BigInteger coinbaseValue)
focal_class.return: Block
focal_class.signature: Block createNextBlockWithCoinbase(byte[] pubKey, BigInteger coinbaseValue)
focal_class.class_method_signature: Block.createNextBlockWithCoinbase(byte[] pubKey)
focal_class.full_signature: @VisibleForTesting Block createNextBlockWithCoinbase(byte[] pubKey)
focal_class.identifier: createNextBlockWithCoinbase
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (byte[] pubKey)
focal_class.return: Block
focal_class.signature: Block createNextBlockWithCoinbase(byte[] pubKey)
focal_class.class_method_signature: Block.isParsedHeader()
focal_class.full_signature: @VisibleForTesting boolean isParsedHeader()
focal_class.identifier: isParsedHeader
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isParsedHeader()
focal_class.class_method_signature: Block.isParsedTransactions()
focal_class.full_signature: @VisibleForTesting boolean isParsedTransactions()
focal_class.identifier: isParsedTransactions
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isParsedTransactions()
focal_class.class_method_signature: Block.isHeaderBytesValid()
focal_class.full_signature: @VisibleForTesting boolean isHeaderBytesValid()
focal_class.identifier: isHeaderBytesValid
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isHeaderBytesValid()
focal_class.class_method_signature: Block.isTransactionBytesValid()
focal_class.full_signature: @VisibleForTesting boolean isTransactionBytesValid()
focal_class.identifier: isTransactionBytesValid
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isTransactionBytesValid()
focal_class.superclass: extends Message
focal_method.body: public BigInteger getWork() throws VerificationException {
          BigInteger target = getDifficultyTargetAsInteger();
          return LARGEST_HASH.divide(target.add(BigInteger.ONE));
      }
focal_method.class_method_signature: Block.getWork()
focal_method.full_signature: public BigInteger getWork()
focal_method.identifier: getWork
focal_method.invocations: getDifficultyTargetAsInteger divide add
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: BigInteger
focal_method.signature: BigInteger getWork()