コード例 #1
0
 private void scanTransaction(StoredBlock block, Transaction tx, NewBlockType blockType)
     throws ScriptException, VerificationException {
   // Coinbase transactions don't have anything useful in their inputs (as they create coins out of
   // thin air).
   if (tx.isMine(wallet) && !tx.isCoinBase()) {
     System.out.println("======> RECEIVING" + tx.toString());
     wallet.receive(tx, block, blockType);
   }
 }