Take some Block setters out of the public API. The ability to create/solve blocks is intended only for unit testing in this library.

This commit is contained in:
Mike Hearn
2011-03-25 21:19:52 +00:00
parent bb017a5dab
commit af371677fd
4 changed files with 21 additions and 216 deletions

View File

@@ -214,26 +214,6 @@ java.util.List&lt;E&gt; <B>transactions</B></PRE>
<DL>
</DL>
</DL>
<HR>
<H3>
hash</H3>
<PRE>
byte[] <B>hash</B></PRE>
<DL>
<DD>Stores the hash of the block. If null, getHash() will recalculate it.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
prevBlock</H3>
<PRE>
<A HREF="com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A> <B>prevBlock</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.BlockStoreException"><!-- --></A>