Refresh JavaDocs.

This commit is contained in:
Mike Hearn 2011-04-25 22:01:15 +00:00
parent c20118d871
commit ccef45c6c9
24 changed files with 877 additions and 108 deletions

View File

@ -31,8 +31,12 @@ All Classes
<BR>
<A HREF="com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core" target="classFrame">BlockChain</A>
<BR>
<A HREF="com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core" target="classFrame"><I>BlockStore</I></A>
<BR>
<A HREF="com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core" target="classFrame">BlockStoreException</A>
<BR>
<A HREF="com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core" target="classFrame">DiskBlockStore</A>
<BR>
<A HREF="com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core" target="classFrame">ECKey</A>
<BR>
<A HREF="com/google/bitcoin/core/GetBlocksMessage.html" title="class in com.google.bitcoin.core" target="classFrame">GetBlocksMessage</A>
@ -45,6 +49,8 @@ All Classes
<BR>
<A HREF="com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core" target="classFrame">InventoryMessage</A>
<BR>
<A HREF="com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core" target="classFrame">MemoryBlockStore</A>
<BR>
<A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core" target="classFrame">Message</A>
<BR>
<A HREF="com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core" target="classFrame">NetworkConnection</A>
@ -61,6 +67,10 @@ All Classes
<BR>
<A HREF="com/google/bitcoin/core/ScriptException.html" title="class in com.google.bitcoin.core" target="classFrame">ScriptException</A>
<BR>
<A HREF="com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core" target="classFrame">Sha256Hash</A>
<BR>
<A HREF="com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core" target="classFrame">StoredBlock</A>
<BR>
<A HREF="com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core" target="classFrame">Transaction</A>
<BR>
<A HREF="com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core" target="classFrame">Transaction.SigHash</A>

View File

@ -31,8 +31,12 @@ All Classes
<BR>
<A HREF="com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core">BlockChain</A>
<BR>
<A HREF="com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><I>BlockStore</I></A>
<BR>
<A HREF="com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core">BlockStoreException</A>
<BR>
<A HREF="com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core">DiskBlockStore</A>
<BR>
<A HREF="com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core">ECKey</A>
<BR>
<A HREF="com/google/bitcoin/core/GetBlocksMessage.html" title="class in com.google.bitcoin.core">GetBlocksMessage</A>
@ -45,6 +49,8 @@ All Classes
<BR>
<A HREF="com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core">InventoryMessage</A>
<BR>
<A HREF="com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core">MemoryBlockStore</A>
<BR>
<A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A>
<BR>
<A HREF="com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core">NetworkConnection</A>
@ -61,6 +67,10 @@ All Classes
<BR>
<A HREF="com/google/bitcoin/core/ScriptException.html" title="class in com.google.bitcoin.core">ScriptException</A>
<BR>
<A HREF="com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A>
<BR>
<A HREF="com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<BR>
<A HREF="com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>
<BR>
<A HREF="com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core">Transaction.SigHash</A>

View File

@ -72,9 +72,9 @@ function windowTitle()
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.google.bitcoin.core.Message">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
@ -123,6 +123,14 @@ A block is the foundation of the BitCoin system. It records a set of <A HREF="..
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Block.html#HEADER_SIZE">HEADER_SIZE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How many bytes are required to represent a block header.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_com.google.bitcoin.core.Message"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
@ -303,6 +311,27 @@ A block is the foundation of the BitCoin system. It records a set of <A HREF="..
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="HEADER_SIZE"><!-- --></A><H3>
HEADER_SIZE</H3>
<PRE>
public static final int <B>HEADER_SIZE</B></PRE>
<DL>
<DD>How many bytes are required to represent a block header.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.google.bitcoin.core.Block.HEADER_SIZE">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
@ -610,9 +639,9 @@ public long <B>getNonce</B>()</PRE>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.google.bitcoin.core.Message">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>

View File

@ -52,7 +52,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/BlockChain.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BlockChain.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
@ -135,7 +135,7 @@ A BlockChain holds a series of <A HREF="../../../../com/google/bitcoin/core/Bloc
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;com.google.bitcoin.core.BlockStore</CODE></FONT></TD>
<CODE>protected &nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/BlockChain.html#blockStore">blockStore</A></B></CODE>
<BR>
@ -143,7 +143,7 @@ A BlockChain holds a series of <A HREF="../../../../com/google/bitcoin/core/Bloc
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;com.google.bitcoin.core.StoredBlock</CODE></FONT></TD>
<CODE>protected &nbsp;<A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/BlockChain.html#chainHead">chainHead</A></B></CODE>
<BR>
@ -176,11 +176,12 @@ A BlockChain holds a series of <A HREF="../../../../com/google/bitcoin/core/Bloc
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/BlockChain.html#BlockChain(com.google.bitcoin.core.NetworkParameters, com.google.bitcoin.core.Wallet)">BlockChain</A></B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>&nbsp;wallet)</CODE>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/BlockChain.html#BlockChain(com.google.bitcoin.core.NetworkParameters, com.google.bitcoin.core.Wallet, com.google.bitcoin.core.BlockStore)">BlockChain</A></B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>&nbsp;wallet,
<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>&nbsp;blockStore)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a BlockChain connected to the given wallet and store.</TD>
</TR>
</TABLE>
&nbsp;
@ -202,7 +203,7 @@ A BlockChain holds a series of <A HREF="../../../../com/google/bitcoin/core/Bloc
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;com.google.bitcoin.core.StoredBlock</CODE></FONT></TD>
<CODE>&nbsp;<A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/BlockChain.html#getChainHead()">getChainHead</A></B>()</CODE>
<BR>
@ -242,7 +243,7 @@ A BlockChain holds a series of <A HREF="../../../../com/google/bitcoin/core/Bloc
<A NAME="blockStore"><!-- --></A><H3>
blockStore</H3>
<PRE>
protected com.google.bitcoin.core.BlockStore <B>blockStore</B></PRE>
protected <A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A> <B>blockStore</B></PRE>
<DL>
<DD>Keeps a map of block hashes to StoredBlocks.
<P>
@ -254,7 +255,7 @@ protected com.google.bitcoin.core.BlockStore <B>blockStore</B></PRE>
<A NAME="chainHead"><!-- --></A><H3>
chainHead</H3>
<PRE>
protected com.google.bitcoin.core.StoredBlock <B>chainHead</B></PRE>
protected <A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A> <B>chainHead</B></PRE>
<DL>
<DD>Tracks the top of the best known chain.<p>
@ -297,12 +298,20 @@ protected final <A HREF="../../../../com/google/bitcoin/core/Wallet.html" title=
</TR>
</TABLE>
<A NAME="BlockChain(com.google.bitcoin.core.NetworkParameters, com.google.bitcoin.core.Wallet)"><!-- --></A><H3>
<A NAME="BlockChain(com.google.bitcoin.core.NetworkParameters, com.google.bitcoin.core.Wallet, com.google.bitcoin.core.BlockStore)"><!-- --></A><H3>
BlockChain</H3>
<PRE>
public <B>BlockChain</B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>&nbsp;wallet)</PRE>
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>&nbsp;wallet,
<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>&nbsp;blockStore)</PRE>
<DL>
<DD>Constructs a BlockChain connected to the given wallet and store. To obtain a <A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><CODE>Wallet</CODE></A> you can construct
one from scratch, or you can deserialize a saved wallet from disk using <A HREF="../../../../com/google/bitcoin/core/Wallet.html#loadFromFile(java.io.File)"><CODE>Wallet.loadFromFile(java.io.File)</CODE></A>
<p>
For the store you can use a <A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><CODE>MemoryBlockStore</CODE></A> if you don't care about saving the downloaded data, or a
<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><CODE>DiskBlockStore</CODE></A> if you'd like to ensure fast startup the next time you run the program.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
@ -338,7 +347,7 @@ public boolean <B>add</B>(<A HREF="../../../../com/google/bitcoin/core/Block.htm
<A NAME="getChainHead()"><!-- --></A><H3>
getChainHead</H3>
<PRE>
public com.google.bitcoin.core.StoredBlock <B>getChainHead</B>()</PRE>
public <A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A> <B>getChainHead</B>()</PRE>
<DL>
<DD>Returns the block at the head of the current best chain. This is the block which represents the greatest
amount of cumulative work done.
@ -390,7 +399,7 @@ public <A HREF="../../../../com/google/bitcoin/core/Block.html" title="class in
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/BlockChain.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BlockChain.html" target="_top"><B>NO FRAMES</B></A> &nbsp;

View File

@ -0,0 +1,252 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
BlockStoreException
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BlockStoreException";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/google/bitcoin/core/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/BlockStoreException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BlockStoreException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.google.bitcoin.core</FONT>
<BR>
Class BlockStoreException</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.bitcoin.core.BlockStoreException</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>BlockStoreException</B><DT>extends java.lang.Exception</DL>
</PRE>
<P>
Thrown when something goes wrong with storing a block. Examples: out of disk space.
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.google.bitcoin.core.BlockStoreException">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html#BlockStoreException(java.lang.String)">BlockStoreException</A></B>(java.lang.String&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html#BlockStoreException(java.lang.Throwable)">BlockStoreException</A></B>(java.lang.Throwable&nbsp;t)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="BlockStoreException(java.lang.String)"><!-- --></A><H3>
BlockStoreException</H3>
<PRE>
public <B>BlockStoreException</B>(java.lang.String&nbsp;message)</PRE>
<DL>
</DL>
<HR>
<A NAME="BlockStoreException(java.lang.Throwable)"><!-- --></A><H3>
BlockStoreException</H3>
<PRE>
public <B>BlockStoreException</B>(java.lang.Throwable&nbsp;t)</PRE>
<DL>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/google/bitcoin/core/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/BlockStoreException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="BlockStoreException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>

View File

@ -51,7 +51,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/GetBlocksMessage.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/ECKey.html" target="_top"><B>FRAMES</B></A> &nbsp;
@ -184,6 +184,15 @@ Represents an elliptic curve keypair that we own and can use for signing transac
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/ECKey.html#toASN1()">toASN1</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output this ECKey as an ASN.1 encoded private key, as understood by OpenSSL or used by the BitCoin reference
implementation in its wallet storage format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/ECKey.html#toString()">toString</A></B>()</CODE>
@ -279,6 +288,23 @@ public static <A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="cl
</DL>
<HR>
<A NAME="toASN1()"><!-- --></A><H3>
toASN1</H3>
<PRE>
public byte[] <B>toASN1</B>()</PRE>
<DL>
<DD>Output this ECKey as an ASN.1 encoded private key, as understood by OpenSSL or used by the BitCoin reference
implementation in its wallet storage format.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPubKeyHash()"><!-- --></A><H3>
getPubKeyHash</H3>
<PRE>
@ -422,7 +448,7 @@ public boolean <B>verify</B>(byte[]&nbsp;data,
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/GetBlocksMessage.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/ECKey.html" target="_top"><B>FRAMES</B></A> &nbsp;

View File

@ -52,7 +52,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/InventoryMessage.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="InventoryMessage.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
@ -327,7 +327,7 @@ public void <B>bitcoinSerializeToStream</B>(java.io.OutputStream&nbsp;stream)
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/InventoryMessage.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="InventoryMessage.html" target="_top"><B>NO FRAMES</B></A> &nbsp;

View File

@ -51,7 +51,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/Message.html" target="_top"><B>FRAMES</B></A> &nbsp;
@ -360,7 +360,7 @@ public byte[] <B>bitcoinSerialize</B>()</PRE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/Message.html" target="_top"><B>FRAMES</B></A> &nbsp;

View File

@ -119,8 +119,9 @@ A NetworkConnection handles talking to a remote BitCoin peer at a low level. It
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/NetworkConnection.html#NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters)">NetworkConnection</A></B>(java.net.InetAddress&nbsp;remoteIp,
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params)</CODE>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/NetworkConnection.html#NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters, int)">NetworkConnection</A></B>(java.net.InetAddress&nbsp;remoteIp,
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
int&nbsp;bestHeight)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connect to the given IP address using the port specified as part of the network parameters.</TD>
@ -207,11 +208,12 @@ A NetworkConnection handles talking to a remote BitCoin peer at a low level. It
</TR>
</TABLE>
<A NAME="NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters)"><!-- --></A><H3>
<A NAME="NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters, int)"><!-- --></A><H3>
NetworkConnection</H3>
<PRE>
public <B>NetworkConnection</B>(java.net.InetAddress&nbsp;remoteIp,
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params)
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
int&nbsp;bestHeight)
throws java.io.IOException,
<A HREF="../../../../com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core">ProtocolException</A></PRE>
<DL>
@ -219,7 +221,7 @@ public <B>NetworkConnection</B>(java.net.InetAddress&nbsp;remoteIp,
is complete a functioning network channel is set up and running.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>remoteIp</CODE> - IP address to connect to. IPv6 is not currently supported by BitCoin.<DD><CODE>params</CODE> - Defines which network to connect to and details of the protocol.
<DT><B>Parameters:</B><DD><CODE>remoteIp</CODE> - IP address to connect to. IPv6 is not currently supported by BitCoin.<DD><CODE>params</CODE> - Defines which network to connect to and details of the protocol.<DD><CODE>bestHeight</CODE> - How many blocks are in our best chain
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - if there is a network related failure.
<DD><CODE><A HREF="../../../../com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core">ProtocolException</A></CODE> - if the version negotiation failed.</DL>

View File

@ -139,8 +139,9 @@ A PeerAddress holds an IP address and port number representing the network locat
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/PeerAddress.html#PeerAddress(java.net.InetAddress, int)">PeerAddress</A></B>(java.net.InetAddress&nbsp;addr,
int&nbsp;port)</CODE>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/PeerAddress.html#PeerAddress(java.net.InetAddress, int, int)">PeerAddress</A></B>(java.net.InetAddress&nbsp;addr,
int&nbsp;port,
int&nbsp;protocolVersion)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
@ -236,11 +237,12 @@ public <B>PeerAddress</B>(<A HREF="../../../../com/google/bitcoin/core/NetworkPa
</DL>
<HR>
<A NAME="PeerAddress(java.net.InetAddress, int)"><!-- --></A><H3>
<A NAME="PeerAddress(java.net.InetAddress, int, int)"><!-- --></A><H3>
PeerAddress</H3>
<PRE>
public <B>PeerAddress</B>(java.net.InetAddress&nbsp;addr,
int&nbsp;port)</PRE>
int&nbsp;port,
int&nbsp;protocolVersion)</PRE>
<DL>
</DL>

View File

@ -52,7 +52,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/ScriptException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ScriptException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
@ -216,7 +216,7 @@ public <B>ScriptException</B>(java.lang.String&nbsp;msg,
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/ScriptException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ScriptException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;

View File

@ -107,10 +107,9 @@ java.lang.Object
These constants are a part of a scriptSig signature on the inputs. They define the details of how a
transaction can be redeemed, specifically, they control how the hash of the transaction is calculated.
Note: in the official client, this enum also has another flag, SIGHASH_ANYONECANPAY. In this implementation,
that's kept separate.
Also note: only SIGHASH_ALL is actually used in the official client today.
In the official client, this enum also has another flag, SIGHASH_ANYONECANPAY. In this implementation,
that's kept separate. Only SIGHASH_ALL is actually used in the official client today. The other flags
exist to allow for distributed contracts.
<P>
<P>

View File

@ -51,7 +51,7 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/ScriptException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/Transaction.html" target="_top"><B>FRAMES</B></A> &nbsp;
@ -219,7 +219,7 @@ A transaction represents the movement of coins from some addresses to some other
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte[]</CODE></FONT></TD>
<CODE>&nbsp;<A HREF="../../../../com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Transaction.html#getHash()">getHash</A></B>()</CODE>
<BR>
@ -393,7 +393,7 @@ public java.util.List&lt;<A HREF="../../../../com/google/bitcoin/core/Transactio
<A NAME="getHash()"><!-- --></A><H3>
getHash</H3>
<PRE>
public byte[] <B>getHash</B>()</PRE>
public <A HREF="../../../../com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A> <B>getHash</B>()</PRE>
<DL>
<DD>Returns the transaction hash as you see them in the block explorer.
<P>
@ -431,8 +431,7 @@ public java.math.BigInteger <B>getValueSentToMe</B>(<A HREF="../../../../com/goo
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>sum in nanocoins</DL>
</DL>
</DD>
</DL>
<HR>
@ -652,7 +651,7 @@ public int <B>hashCode</B>()</PRE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/google/bitcoin/core/ScriptException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/google/bitcoin/core/Transaction.html" target="_top"><B>FRAMES</B></A> &nbsp;

View File

@ -119,7 +119,7 @@ A collection of various utility methods that are helpful for working with the Bi
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Utils.html#CENT">CENT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How many nanocoins there are in 0.01 BitCoins.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How many "nanocoins" there are in 0.01 BitCoins.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@ -127,7 +127,7 @@ A collection of various utility methods that are helpful for working with the Bi
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Utils.html#COIN">COIN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How many nanocoins there are in a BitCoin.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How many "nanocoins" there are in a BitCoin.</TD>
</TR>
</TABLE>
&nbsp;
@ -251,6 +251,14 @@ A collection of various utility methods that are helpful for working with the Bi
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Utils.html#toNanoCoins(int, int)">toNanoCoins</A></B>(int&nbsp;coins,
int&nbsp;cents)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert an amount expressed in the way humans are used to into nanocoins.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.math.BigInteger</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Utils.html#toNanoCoins(java.lang.String)">toNanoCoins</A></B>(java.lang.String&nbsp;coins)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert an amount expressed in the way humans are used to into nanocoins.</TD>
</TR>
@ -320,7 +328,11 @@ COIN</H3>
<PRE>
public static final java.math.BigInteger <B>COIN</B></PRE>
<DL>
<DD>How many nanocoins there are in a BitCoin.
<DD>How many "nanocoins" there are in a BitCoin.
A nanocoin is the smallest unit that can be transferred using BitCoin.
The term nanocoin is very misleading, though, because there are only 100 million
of them in a coin (whereas one would expect 1 billion.
<P>
<DL>
</DL>
@ -332,7 +344,11 @@ CENT</H3>
<PRE>
public static final java.math.BigInteger <B>CENT</B></PRE>
<DL>
<DD>How many nanocoins there are in 0.01 BitCoins.
<DD>How many "nanocoins" there are in 0.01 BitCoins.
A nanocoin is the smallest unit that can be transferred using BitCoin.
The term nanocoin is very misleading, though, because there are only 100 million
of them in a coin (whereas one would expect 1 billion).
<P>
<DL>
</DL>
@ -379,6 +395,24 @@ public static java.math.BigInteger <B>toNanoCoins</B>(int&nbsp;coins,
</DL>
<HR>
<A NAME="toNanoCoins(java.lang.String)"><!-- --></A><H3>
toNanoCoins</H3>
<PRE>
public static java.math.BigInteger <B>toNanoCoins</B>(java.lang.String&nbsp;coins)</PRE>
<DL>
<DD>Convert an amount expressed in the way humans are used to into nanocoins.<p>
This takes string in a format understood by <CODE>BigDecimal.BigDecimal(String)</CODE>,
for example "0", "1", "0.10", "1.23E3", "1234.5E-5".
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.lang.ArithmeticException</CODE> - if you try to specify fractional nanocoins</DL>
</DD>
</DL>
<HR>
<A NAME="uint32ToByteArrayBE(long, byte[], int)"><!-- --></A><H3>
uint32ToByteArrayBE</H3>
<PRE>

View File

@ -198,14 +198,15 @@ java.lang.Object
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/VersionMessage.html#VersionMessage(com.google.bitcoin.core.NetworkParameters)">VersionMessage</A></B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params)</CODE>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/VersionMessage.html#VersionMessage(com.google.bitcoin.core.NetworkParameters, byte[])">VersionMessage</A></B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
byte[]&nbsp;msg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/VersionMessage.html#VersionMessage(com.google.bitcoin.core.NetworkParameters, byte[])">VersionMessage</A></B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
byte[]&nbsp;msg)</CODE>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/VersionMessage.html#VersionMessage(com.google.bitcoin.core.NetworkParameters, int)">VersionMessage</A></B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
int&nbsp;newBestHeight)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
@ -397,10 +398,11 @@ public <B>VersionMessage</B>(<A HREF="../../../../com/google/bitcoin/core/Networ
</DL>
<HR>
<A NAME="VersionMessage(com.google.bitcoin.core.NetworkParameters)"><!-- --></A><H3>
<A NAME="VersionMessage(com.google.bitcoin.core.NetworkParameters, int)"><!-- --></A><H3>
VersionMessage</H3>
<PRE>
public <B>VersionMessage</B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params)</PRE>
public <B>VersionMessage</B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>&nbsp;params,
int&nbsp;newBestHeight)</PRE>
<DL>
</DL>

View File

@ -131,14 +131,6 @@ A Wallet stores keys and a record of transactions that have not yet been spent.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A list of public/private EC keys owned by this user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.ArrayList&lt;<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#unspent">unspent</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A list of transactions with outputs we can spend.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
@ -191,11 +183,43 @@ A Wallet stores keys and a record of transactions that have not yet been spent.
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core">ECKey</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#findKeyFromPubKey(byte[])">findKeyFromPubKey</A></B>(byte[]&nbsp;pubkey)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Locates a keypair from the keychain given the raw public key bytes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.math.BigInteger</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#getBalance()">getBalance</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the balance of this wallet in nanocoins by summing up all unspent outputs that were sent to us.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the balance of this wallet by summing up all unspent outputs that were sent to us.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Collection&lt;<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#getPendingTransactions()">getPendingTransactions</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an immutable view of the transactions currently waiting for network confirmations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#isPubKeyHashMine(byte[])">isPubKeyHashMine</A></B>(byte[]&nbsp;pubkeyHash)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this wallet contains a public key which hashes to the given hash.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#isPubKeyMine(byte[])">isPubKeyMine</A></B>(byte[]&nbsp;pubkey)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this wallet contains a keypair with the given public key.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@ -263,21 +287,6 @@ A Wallet stores keys and a record of transactions that have not yet been spent.
</TR>
</TABLE>
<A NAME="unspent"><!-- --></A><H3>
unspent</H3>
<PRE>
public final java.util.ArrayList&lt;<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>&gt; <B>unspent</B></PRE>
<DL>
<DD>A list of transactions with outputs we can spend. Note that some of these transactions may be partially spent,
that is, they have outputs some of which are redeemed and others which aren't already. The spentness of each
output is tracked in the TransactionOutput object. The value of all unspent outputs is the balance of the
wallet.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="keychain"><!-- --></A><H3>
keychain</H3>
<PRE>
@ -452,12 +461,61 @@ public <A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in
</DL>
<HR>
<A NAME="isPubKeyHashMine(byte[])"><!-- --></A><H3>
isPubKeyHashMine</H3>
<PRE>
public boolean <B>isPubKeyHashMine</B>(byte[]&nbsp;pubkeyHash)</PRE>
<DL>
<DD>Returns true if this wallet contains a public key which hashes to the given hash.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="findKeyFromPubKey(byte[])"><!-- --></A><H3>
findKeyFromPubKey</H3>
<PRE>
public <A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core">ECKey</A> <B>findKeyFromPubKey</B>(byte[]&nbsp;pubkey)</PRE>
<DL>
<DD>Locates a keypair from the keychain given the raw public key bytes.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>ECKey or null if no such key was found.</DL>
</DD>
</DL>
<HR>
<A NAME="isPubKeyMine(byte[])"><!-- --></A><H3>
isPubKeyMine</H3>
<PRE>
public boolean <B>isPubKeyMine</B>(byte[]&nbsp;pubkey)</PRE>
<DL>
<DD>Returns true if this wallet contains a keypair with the given public key.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getBalance()"><!-- --></A><H3>
getBalance</H3>
<PRE>
public java.math.BigInteger <B>getBalance</B>()</PRE>
<DL>
<DD>Returns the balance of this wallet in nanocoins by summing up all unspent outputs that were sent to us.
<DD>Returns the balance of this wallet by summing up all unspent outputs that were sent to us.
<P>
<DD><DL>
</DL>
@ -480,6 +538,22 @@ public java.lang.String <B>toString</B>()</PRE>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPendingTransactions()"><!-- --></A><H3>
getPendingTransactions</H3>
<PRE>
public java.util.Collection&lt;<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>&gt; <B>getPendingTransactions</B>()</PRE>
<DL>
<DD>Returns an immutable view of the transactions currently waiting for network confirmations.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

View File

@ -15,6 +15,17 @@ com.google.bitcoin.core
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameTitleFont">
<A HREF="../../../../com/google/bitcoin/core/package-summary.html" target="classFrame">com.google.bitcoin.core</A></FONT>
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Interfaces</FONT>&nbsp;
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="BlockStore.html" title="interface in com.google.bitcoin.core" target="classFrame"><I>BlockStore</I></A></FONT></TD>
</TR>
</TABLE>
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
@ -31,6 +42,8 @@ Classes</FONT>&nbsp;
<BR>
<A HREF="BlockChain.html" title="class in com.google.bitcoin.core" target="classFrame">BlockChain</A>
<BR>
<A HREF="DiskBlockStore.html" title="class in com.google.bitcoin.core" target="classFrame">DiskBlockStore</A>
<BR>
<A HREF="ECKey.html" title="class in com.google.bitcoin.core" target="classFrame">ECKey</A>
<BR>
<A HREF="GetBlocksMessage.html" title="class in com.google.bitcoin.core" target="classFrame">GetBlocksMessage</A>
@ -41,6 +54,8 @@ Classes</FONT>&nbsp;
<BR>
<A HREF="InventoryMessage.html" title="class in com.google.bitcoin.core" target="classFrame">InventoryMessage</A>
<BR>
<A HREF="MemoryBlockStore.html" title="class in com.google.bitcoin.core" target="classFrame">MemoryBlockStore</A>
<BR>
<A HREF="Message.html" title="class in com.google.bitcoin.core" target="classFrame">Message</A>
<BR>
<A HREF="NetworkConnection.html" title="class in com.google.bitcoin.core" target="classFrame">NetworkConnection</A>
@ -53,6 +68,10 @@ Classes</FONT>&nbsp;
<BR>
<A HREF="Script.html" title="class in com.google.bitcoin.core" target="classFrame">Script</A>
<BR>
<A HREF="Sha256Hash.html" title="class in com.google.bitcoin.core" target="classFrame">Sha256Hash</A>
<BR>
<A HREF="StoredBlock.html" title="class in com.google.bitcoin.core" target="classFrame">StoredBlock</A>
<BR>
<A HREF="Transaction.html" title="class in com.google.bitcoin.core" target="classFrame">Transaction</A>
<BR>
<A HREF="TransactionInput.html" title="class in com.google.bitcoin.core" target="classFrame">TransactionInput</A>

View File

@ -79,6 +79,20 @@ function windowTitle()
Package com.google.bitcoin.core
</H2>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Interface Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A></B></TD>
<TD>An implementor of BlockStore saves StoredBlock objects to disk.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
@ -106,6 +120,10 @@ Package com.google.bitcoin.core
chain follows the rules of the <A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core"><CODE>NetworkParameters</CODE></A> for this chain.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core">DiskBlockStore</A></B></TD>
<TD>Stores the block chain to disk but still holds it in memory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core">ECKey</A></B></TD>
<TD>Represents an elliptic curve keypair that we own and can use for signing transactions.</TD>
</TR>
@ -126,6 +144,10 @@ Package com.google.bitcoin.core
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core">MemoryBlockStore</A></B></TD>
<TD>Keeps <A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><CODE>StoredBlock</CODE></A>s in memory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A></B></TD>
<TD>A Message is a data structure that can be serialized/deserialized using both the BitCoin proprietary serialization
format and built-in Java object serialization.</TD>
@ -152,6 +174,16 @@ Package com.google.bitcoin.core
<TD>BitCoin transactions don't specify what they do directly.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A></B></TD>
<TD>A Sha256Hash just wraps a byte[] so that equals and hashcode work correctly, allowing it to be used as keys in a
map.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A></B></TD>
<TD>Wraps a <A HREF="../../../../com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core"><CODE>Block</CODE></A> object with extra data that can be derived from the block chain but is slow or inconvenient to
calculate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A></B></TD>
<TD>A transaction represents the movement of coins from some addresses to some other addresses.</TD>
</TR>

View File

@ -85,8 +85,10 @@ Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">java.lang.Object<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Address.html" title="class in com.google.bitcoin.core"><B>Address</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Base58.html" title="class in com.google.bitcoin.core"><B>Base58</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core"><B>BlockChain</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core"><B>ECKey</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/InventoryItem.html" title="class in com.google.bitcoin.core"><B>InventoryItem</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core"><B>Message</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Address.html" title="class in com.google.bitcoin.core"><B>Address</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Base58.html" title="class in com.google.bitcoin.core"><B>Base58</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core"><B>BlockChain</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>DiskBlockStore</B></A> (implements com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core"><B>ECKey</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/InventoryItem.html" title="class in com.google.bitcoin.core"><B>InventoryItem</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>MemoryBlockStore</B></A> (implements com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core"><B>Message</B></A> (implements java.io.Serializable)
<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/AddressMessage.html" title="class in com.google.bitcoin.core"><B>AddressMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core"><B>Block</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/GetBlocksMessage.html" title="class in com.google.bitcoin.core"><B>GetBlocksMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/GetDataMessage.html" title="class in com.google.bitcoin.core"><B>GetDataMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>InventoryMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core"><B>PeerAddress</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core"><B>Transaction</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/TransactionInput.html" title="class in com.google.bitcoin.core"><B>TransactionInput</B></A> (implements java.io.Serializable)
@ -94,7 +96,9 @@ Class Hierarchy
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/TransactionOutput.html" title="class in com.google.bitcoin.core"><B>TransactionOutput</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/UnknownMessage.html" title="class in com.google.bitcoin.core"><B>UnknownMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core"><B>VersionMessage</B></A></UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core"><B>NetworkConnection</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core"><B>NetworkParameters</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core"><B>Peer</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core"><B>Script</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core"><B>Peer</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core"><B>Script</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core"><B>Sha256Hash</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><B>StoredBlock</B></A> (implements java.io.Serializable)
<LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<UL>
<LI TYPE="circle">java.lang.Exception<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core"><B>AddressFormatException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>BlockStoreException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core"><B>ProtocolException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/ScriptException.html" title="class in com.google.bitcoin.core"><B>ScriptException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/VerificationException.html" title="class in com.google.bitcoin.core"><B>VerificationException</B></A></UL>
@ -103,6 +107,11 @@ Class Hierarchy
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core"><B>WalletEventListener</B></A></UL>
</UL>
<H2>
Interface Hierarchy
</H2>
<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><B>BlockStore</B></A></UL>
<H2>
Enum Hierarchy
</H2>
<UL>

View File

@ -94,6 +94,24 @@ com.google.*</FONT></TH>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="3">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="com.google.bitcoin.core.Block.HEADER_SIZE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="com/google/bitcoin/core/Block.html#HEADER_SIZE">HEADER_SIZE</A></CODE></TD>
<TD ALIGN="right"><CODE>80</CODE></TD>
</TR>
</FONT></TD>
</TR>
</TABLE>
<P>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="3">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A></TH>

View File

@ -156,15 +156,21 @@ Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/cor
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A>
<DD>Constructs a block object from the BitCoin wire format.
<DT><A HREF="./com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core"><B>BlockChain</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A BlockChain holds a series of <A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core"><CODE>Block</CODE></A> objects, links them together, and knows how to verify that the
chain follows the rules of the <A HREF="./com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core"><CODE>NetworkParameters</CODE></A> for this chain.<DT><A HREF="./com/google/bitcoin/core/BlockChain.html#BlockChain(com.google.bitcoin.core.NetworkParameters, com.google.bitcoin.core.Wallet)"><B>BlockChain(NetworkParameters, Wallet)</B></A> -
chain follows the rules of the <A HREF="./com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core"><CODE>NetworkParameters</CODE></A> for this chain.<DT><A HREF="./com/google/bitcoin/core/BlockChain.html#BlockChain(com.google.bitcoin.core.NetworkParameters, com.google.bitcoin.core.Wallet, com.google.bitcoin.core.BlockStore)"><B>BlockChain(NetworkParameters, Wallet, BlockStore)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core">BlockChain</A>
<DD>&nbsp;
<DD>Constructs a BlockChain connected to the given wallet and store.
<DT><A HREF="./com/google/bitcoin/core/BlockChain.html#blockStore"><B>blockStore</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core">BlockChain</A>
<DD>Keeps a map of block hashes to StoredBlocks.
<DT><A HREF="./com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>BlockStoreException</B></A> - Exception in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Thrown when something goes wrong with storing a block.<DT><A HREF="./com/google/bitcoin/core/BlockStoreException.html#BlockStoreException()"><B>BlockStoreException()</B></A> -
<DT><A HREF="./com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><B>BlockStore</B></A> - Interface in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>An implementor of BlockStore saves StoredBlock objects to disk.<DT><A HREF="./com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>BlockStoreException</B></A> - Exception in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Thrown when something goes wrong with storing a block.<DT><A HREF="./com/google/bitcoin/core/BlockStoreException.html#BlockStoreException(java.lang.String)"><B>BlockStoreException(String)</B></A> -
Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core">BlockStoreException</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/BlockStoreException.html#BlockStoreException(java.lang.Throwable)"><B>BlockStoreException(Throwable)</B></A> -
Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core">BlockStoreException</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#build(com.google.bitcoin.core.Block)"><B>build(Block)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>Creates a new StoredBlock, calculating the additional fields by adding to the values in this block.
<DT><A HREF="./com/google/bitcoin/core/Message.html#bytes"><B>bytes</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A>
<DD>&nbsp;
@ -178,7 +184,7 @@ Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/cor
<DL>
<DT><A HREF="./com/google/bitcoin/core/Utils.html#CENT"><B>CENT</B></A> -
Static variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core">Utils</A>
<DD>How many nanocoins there are in 0.01 BitCoins.
<DD>How many "nanocoins" there are in 0.01 BitCoins.
<DT><A HREF="./com/google/bitcoin/core/BlockChain.html#chainHead"><B>chainHead</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core">BlockChain</A>
<DD>Tracks the top of the best known chain.
@ -190,7 +196,7 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block
<DD>Returns a copy of the block, but without any transactions.
<DT><A HREF="./com/google/bitcoin/core/Utils.html#COIN"><B>COIN</B></A> -
Static variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core">Utils</A>
<DD>How many nanocoins there are in a BitCoin.
<DD>How many "nanocoins" there are in a BitCoin.
<DT><A HREF="./com/google/bitcoin/core/package-summary.html"><B>com.google.bitcoin.core</B></A> - package com.google.bitcoin.core<DD>&nbsp;<DT><A HREF="./com/google/bitcoin/core/Message.html#cursor"><B>cursor</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A>
<DD>&nbsp;
@ -208,6 +214,9 @@ Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/cor
<DT><A HREF="./com/google/bitcoin/core/Peer.html#disconnect()"><B>disconnect()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core">Peer</A>
<DD>Terminates the network connection and stops the background thread.
<DT><A HREF="./com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>DiskBlockStore</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Stores the block chain to disk but still holds it in memory.<DT><A HREF="./com/google/bitcoin/core/DiskBlockStore.html#DiskBlockStore(com.google.bitcoin.core.NetworkParameters, java.io.File)"><B>DiskBlockStore(NetworkParameters, File)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core">DiskBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Utils.html#doubleDigest(byte[])"><B>doubleDigest(byte[])</B></A> -
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core">Utils</A>
<DD>See <A HREF="./com/google/bitcoin/core/Utils.html#doubleDigest(byte[], int, int)"><CODE>Utils.doubleDigest(byte[],int,int)</CODE></A>.
@ -246,6 +255,12 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Addre
<DT><A HREF="./com/google/bitcoin/core/Block.html#equals(java.lang.Object)"><B>equals(Object)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Sha256Hash.html#equals(java.lang.Object)"><B>equals(Object)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A>
<DD>Returns true if the hashes are equal.
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#equals(java.lang.Object)"><B>equals(Object)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Transaction.html#equals(java.lang.Object)"><B>equals(Object)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>
<DD>&nbsp;
@ -257,6 +272,9 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Trans
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#findKeyFromPubHash(byte[])"><B>findKeyFromPubHash(byte[])</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>Locates a keypair from the keychain given the hash of the public key.
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#findKeyFromPubKey(byte[])"><B>findKeyFromPubKey(byte[])</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>Locates a keypair from the keychain given the raw public key bytes.
<DT><A HREF="./com/google/bitcoin/core/ECKey.html#fromASN1(byte[])"><B>fromASN1(byte[])</B></A> -
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core">ECKey</A>
<DD>Construct an ECKey from an ASN.1 encoded private key.
@ -268,9 +286,18 @@ Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/cor
<DT><A HREF="./com/google/bitcoin/core/NetworkParameters.html#genesisBlock"><B>genesisBlock</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A>
<DD>Genesis block for this chain.
<DT><A HREF="./com/google/bitcoin/core/BlockStore.html#get(byte[])"><B>get(byte[])</B></A> -
Method in interface com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>
<DD>Returns the StoredBlock given a hash.
<DT><A HREF="./com/google/bitcoin/core/DiskBlockStore.html#get(byte[])"><B>get(byte[])</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core">DiskBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/MemoryBlockStore.html#get(byte[])"><B>get(byte[])</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core">MemoryBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#getBalance()"><B>getBalance()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>Returns the balance of this wallet in nanocoins by summing up all unspent outputs that were sent to us.
<DD>Returns the balance of this wallet by summing up all unspent outputs that were sent to us.
<DT><A HREF="./com/google/bitcoin/core/Peer.html#getBlock(byte[])"><B>getBlock(byte[])</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core">Peer</A>
<DD>Asks the connected peer for the block of the given hash, and returns a Future representing the answer.
@ -280,6 +307,18 @@ Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core
<DT><A HREF="./com/google/bitcoin/core/BlockChain.html#getChainHead()"><B>getChainHead()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core">BlockChain</A>
<DD>Returns the block at the head of the current best chain.
<DT><A HREF="./com/google/bitcoin/core/BlockStore.html#getChainHead()"><B>getChainHead()</B></A> -
Method in interface com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>
<DD>Returns the <A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><CODE>StoredBlock</CODE></A> that represents the top of the chain of greatest total work.
<DT><A HREF="./com/google/bitcoin/core/DiskBlockStore.html#getChainHead()"><B>getChainHead()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core">DiskBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/MemoryBlockStore.html#getChainHead()"><B>getChainHead()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core">MemoryBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#getChainWork()"><B>getChainWork()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>The total sum of work done in this block, and all the blocks below it in the chain.
<DT><A HREF="./com/google/bitcoin/core/GetDataMessage.html" title="class in com.google.bitcoin.core"><B>GetDataMessage</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>&nbsp;<DT><A HREF="./com/google/bitcoin/core/GetDataMessage.html#GetDataMessage(com.google.bitcoin.core.NetworkParameters, byte[])"><B>GetDataMessage(NetworkParameters, byte[])</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/GetDataMessage.html" title="class in com.google.bitcoin.core">GetDataMessage</A>
<DD>&nbsp;
@ -311,6 +350,12 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block
<DT><A HREF="./com/google/bitcoin/core/Transaction.html#getHashAsString()"><B>getHashAsString()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#getHeader()"><B>getHeader()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>The block header this object wraps.
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#getHeight()"><B>getHeight()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>Position in the chain for this block.
<DT><A HREF="./com/google/bitcoin/core/Transaction.html#getInputs()"><B>getInputs()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>
<DD>Returns a read-only list of the inputs of this transaction.
@ -321,6 +366,12 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A>
<DD>Returns the nonce, an arbitrary value that exists only to make the hash of the block header fall below the
difficulty target.
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#getPendingTransactions()"><B>getPendingTransactions()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>Returns an immutable view of the transactions currently waiting for network confirmations.
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#getPrev(com.google.bitcoin.core.BlockStore)"><B>getPrev(BlockStore)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>Given a block store, looks up the previous block in this chain.
<DT><A HREF="./com/google/bitcoin/core/Block.html#getPrevBlockHash()"><B>getPrevBlockHash()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A>
<DD>Returns the hash of the previous block in the chain, as defined by the block header.
@ -388,15 +439,27 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Versi
<DT><A HREF="./com/google/bitcoin/core/InventoryItem.html#hash"><B>hash</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/InventoryItem.html" title="class in com.google.bitcoin.core">InventoryItem</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Sha256Hash.html#hash"><B>hash</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Address.html#hashCode()"><B>hashCode()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Address.html" title="class in com.google.bitcoin.core">Address</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Block.html#hashCode()"><B>hashCode()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Sha256Hash.html#hashCode()"><B>hashCode()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A>
<DD>Hash code of the byte array as calculated by <CODE>Object.hashCode()</CODE>.
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#hashCode()"><B>hashCode()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Transaction.html#hashCode()"><B>hashCode()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Block.html#HEADER_SIZE"><B>HEADER_SIZE</B></A> -
Static variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A>
<DD>How many bytes are required to represent a block header.
</DL>
<HR>
<A NAME="_I_"><!-- --></A><H2>
@ -426,6 +489,12 @@ Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/cor
<DT><A HREF="./com/google/bitcoin/core/TransactionOutput.html#isMine(com.google.bitcoin.core.Wallet)"><B>isMine(Wallet)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/TransactionOutput.html" title="class in com.google.bitcoin.core">TransactionOutput</A>
<DD>Returns true if this output is to an address we have the keys for in the wallet.
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#isPubKeyHashMine(byte[])"><B>isPubKeyHashMine(byte[])</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>Returns true if this wallet contains a public key which hashes to the given hash.
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#isPubKeyMine(byte[])"><B>isPubKeyMine(byte[])</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>Returns true if this wallet contains a keypair with the given public key.
<DT><A HREF="./com/google/bitcoin/core/Script.html#isSentToIP()"><B>isSentToIP()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core">Script</A>
<DD>Returns true if this transaction is of a format that means it was a direct IP to IP transaction.
@ -471,10 +540,16 @@ Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Ver
<DT><A HREF="./com/google/bitcoin/core/Message.html#MAX_SIZE"><B>MAX_SIZE</B></A> -
Static variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>MemoryBlockStore</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Keeps <A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><CODE>StoredBlock</CODE></A>s in memory.<DT><A HREF="./com/google/bitcoin/core/MemoryBlockStore.html#MemoryBlockStore(com.google.bitcoin.core.NetworkParameters)"><B>MemoryBlockStore(NetworkParameters)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core">MemoryBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core"><B>Message</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A Message is a data structure that can be serialized/deserialized using both the BitCoin proprietary serialization
format and built-in Java object serialization.<DT><A HREF="./com/google/bitcoin/core/Message.html#Message()"><B>Message()</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A>
<DD>This exists for the Java serialization framework to use only.
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#moreWorkThan(com.google.bitcoin.core.StoredBlock)"><B>moreWorkThan(StoredBlock)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>Returns true if this objects chainWork is higher than the others.
<DT><A HREF="./com/google/bitcoin/core/VersionMessage.html#myAddr"><B>myAddr</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core">VersionMessage</A>
<DD>What the other side believes the address of this program is.
@ -483,7 +558,7 @@ Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Ver
<A NAME="_N_"><!-- --></A><H2>
<B>N</B></H2>
<DL>
<DT><A HREF="./com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core"><B>NetworkConnection</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A NetworkConnection handles talking to a remote BitCoin peer at a low level.<DT><A HREF="./com/google/bitcoin/core/NetworkConnection.html#NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters)"><B>NetworkConnection(InetAddress, NetworkParameters)</B></A> -
<DT><A HREF="./com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core"><B>NetworkConnection</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A NetworkConnection handles talking to a remote BitCoin peer at a low level.<DT><A HREF="./com/google/bitcoin/core/NetworkConnection.html#NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters, int)"><B>NetworkConnection(InetAddress, NetworkParameters, int)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core">NetworkConnection</A>
<DD>Connect to the given IP address using the port specified as part of the network parameters.
<DT><A HREF="./com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core"><B>NetworkParameters</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>NetworkParameters contains the data needed for working with an instantiation of a BitCoin chain.<DT><A HREF="./com/google/bitcoin/core/NetworkParameters.html#NetworkParameters()"><B>NetworkParameters()</B></A> -
@ -566,7 +641,7 @@ Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core
a peer in the BitCoin P2P network.<DT><A HREF="./com/google/bitcoin/core/PeerAddress.html#PeerAddress(com.google.bitcoin.core.NetworkParameters, byte[], int, int)"><B>PeerAddress(NetworkParameters, byte[], int, int)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core">PeerAddress</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/PeerAddress.html#PeerAddress(java.net.InetAddress, int)"><B>PeerAddress(InetAddress, int)</B></A> -
<DT><A HREF="./com/google/bitcoin/core/PeerAddress.html#PeerAddress(java.net.InetAddress, int, int)"><B>PeerAddress(InetAddress, int, int)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core">PeerAddress</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/NetworkConnection.html#ping()"><B>ping()</B></A> -
@ -596,6 +671,15 @@ Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/
<DT><A HREF="./com/google/bitcoin/core/Message.html#protocolVersion"><B>protocolVersion</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/BlockStore.html#put(com.google.bitcoin.core.StoredBlock)"><B>put(StoredBlock)</B></A> -
Method in interface com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>
<DD>Saves the given block header+extra data.
<DT><A HREF="./com/google/bitcoin/core/DiskBlockStore.html#put(com.google.bitcoin.core.StoredBlock)"><B>put(StoredBlock)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core">DiskBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/MemoryBlockStore.html#put(com.google.bitcoin.core.StoredBlock)"><B>put(StoredBlock)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core">MemoryBlockStore</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="_R_"><!-- --></A><H2>
@ -636,9 +720,22 @@ Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#sendCoins(com.google.bitcoin.core.Peer, com.google.bitcoin.core.Address, java.math.BigInteger)"><B>sendCoins(Peer, Address, BigInteger)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>Sends coins to the given address, via the given <A HREF="./com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core"><CODE>Peer</CODE></A>.
<DT><A HREF="./com/google/bitcoin/core/BlockStore.html#setChainHead(com.google.bitcoin.core.StoredBlock)"><B>setChainHead(StoredBlock)</B></A> -
Method in interface com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>
<DD>Sets the <A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><CODE>StoredBlock</CODE></A> that represents the top of the chain of greatest total work.
<DT><A HREF="./com/google/bitcoin/core/DiskBlockStore.html#setChainHead(com.google.bitcoin.core.StoredBlock)"><B>setChainHead(StoredBlock)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core">DiskBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/MemoryBlockStore.html#setChainHead(com.google.bitcoin.core.StoredBlock)"><B>setChainHead(StoredBlock)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core">MemoryBlockStore</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Script.html#setTracing(boolean)"><B>setTracing(boolean)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core">Script</A>
<DD>If true, running a program will log its instructions.
<DT><A HREF="./com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core"><B>Sha256Hash</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A Sha256Hash just wraps a byte[] so that equals and hashcode work correctly, allowing it to be used as keys in a
map.<DT><A HREF="./com/google/bitcoin/core/Sha256Hash.html#Sha256Hash(byte[])"><B>Sha256Hash(byte[])</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Utils.html#sha256hash160(byte[])"><B>sha256hash160(byte[])</B></A> -
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core">Utils</A>
<DD>Calculates RIPEMD160(SHA256(input)).
@ -657,6 +754,10 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Peer.
<DT><A HREF="./com/google/bitcoin/core/Peer.html#startBlockChainDownload()"><B>startBlockChainDownload()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core">Peer</A>
<DD>Starts an asynchronous download of the block chain.
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><B>StoredBlock</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Wraps a <A HREF="./com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core"><CODE>Block</CODE></A> object with extra data that can be derived from the block chain but is slow or inconvenient to
calculate.<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#StoredBlock(com.google.bitcoin.core.Block, java.math.BigInteger, int)"><B>StoredBlock(Block, BigInteger, int)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/VersionMessage.html#subVer"><B>subVer</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core">VersionMessage</A>
<DD>An additional string that today the official client sets to the empty string.
@ -680,9 +781,16 @@ Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Ver
<DT><A HREF="./com/google/bitcoin/core/ECKey.html#toAddress(com.google.bitcoin.core.NetworkParameters)"><B>toAddress(NetworkParameters)</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core">ECKey</A>
<DD>Returns the address that corresponds to the public part of this ECKey.
<DT><A HREF="./com/google/bitcoin/core/ECKey.html#toASN1()"><B>toASN1()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core">ECKey</A>
<DD>Output this ECKey as an ASN.1 encoded private key, as understood by OpenSSL or used by the BitCoin reference
implementation in its wallet storage format.
<DT><A HREF="./com/google/bitcoin/core/Utils.html#toNanoCoins(int, int)"><B>toNanoCoins(int, int)</B></A> -
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core">Utils</A>
<DD>Convert an amount expressed in the way humans are used to into nanocoins.
<DT><A HREF="./com/google/bitcoin/core/Utils.html#toNanoCoins(java.lang.String)"><B>toNanoCoins(String)</B></A> -
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core">Utils</A>
<DD>Convert an amount expressed in the way humans are used to into nanocoins.
<DT><A HREF="./com/google/bitcoin/core/Address.html#toString()"><B>toString()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Address.html" title="class in com.google.bitcoin.core">Address</A>
<DD>&nbsp;
@ -710,6 +818,12 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerA
<DT><A HREF="./com/google/bitcoin/core/Script.html#toString()"><B>toString()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core">Script</A>
<DD>Returns the program opcodes as a string, for example "[1234] DUP HAHS160"
<DT><A HREF="./com/google/bitcoin/core/Sha256Hash.html#toString()"><B>toString()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">Sha256Hash</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/StoredBlock.html#toString()"><B>toString()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">StoredBlock</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Transaction.html#toString()"><B>toString()</B></A> -
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A>
<DD>&nbsp;
@ -764,9 +878,6 @@ Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/cor
<DT><A HREF="./com/google/bitcoin/core/UnknownMessage.html" title="class in com.google.bitcoin.core"><B>UnknownMessage</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>&nbsp;<DT><A HREF="./com/google/bitcoin/core/UnknownMessage.html#UnknownMessage(com.google.bitcoin.core.NetworkParameters, java.lang.String, byte[])"><B>UnknownMessage(NetworkParameters, String, byte[])</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/UnknownMessage.html" title="class in com.google.bitcoin.core">UnknownMessage</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#unspent"><B>unspent</B></A> -
Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
<DD>A list of transactions with outputs we can spend.
<DT><A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core"><B>Utils</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A collection of various utility methods that are helpful for working with the BitCoin protocol.<DT><A HREF="./com/google/bitcoin/core/Utils.html#Utils()"><B>Utils()</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core">Utils</A>
<DD>&nbsp;
@ -817,7 +928,7 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Trans
<DT><A HREF="./com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core"><B>VersionMessage</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>&nbsp;<DT><A HREF="./com/google/bitcoin/core/VersionMessage.html#VersionMessage(com.google.bitcoin.core.NetworkParameters, byte[])"><B>VersionMessage(NetworkParameters, byte[])</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core">VersionMessage</A>
<DD>&nbsp;
<DT><A HREF="./com/google/bitcoin/core/VersionMessage.html#VersionMessage(com.google.bitcoin.core.NetworkParameters)"><B>VersionMessage(NetworkParameters)</B></A> -
<DT><A HREF="./com/google/bitcoin/core/VersionMessage.html#VersionMessage(com.google.bitcoin.core.NetworkParameters, int)"><B>VersionMessage(NetworkParameters, int)</B></A> -
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core">VersionMessage</A>
<DD>&nbsp;
</DL>

View File

@ -87,8 +87,10 @@ Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">java.lang.Object<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Address.html" title="class in com.google.bitcoin.core"><B>Address</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Base58.html" title="class in com.google.bitcoin.core"><B>Base58</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core"><B>BlockChain</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core"><B>ECKey</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/InventoryItem.html" title="class in com.google.bitcoin.core"><B>InventoryItem</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core"><B>Message</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Address.html" title="class in com.google.bitcoin.core"><B>Address</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Base58.html" title="class in com.google.bitcoin.core"><B>Base58</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/BlockChain.html" title="class in com.google.bitcoin.core"><B>BlockChain</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>DiskBlockStore</B></A> (implements com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core"><B>ECKey</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/InventoryItem.html" title="class in com.google.bitcoin.core"><B>InventoryItem</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>MemoryBlockStore</B></A> (implements com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core">BlockStore</A>)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core"><B>Message</B></A> (implements java.io.Serializable)
<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/AddressMessage.html" title="class in com.google.bitcoin.core"><B>AddressMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core"><B>Block</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/GetBlocksMessage.html" title="class in com.google.bitcoin.core"><B>GetBlocksMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/GetDataMessage.html" title="class in com.google.bitcoin.core"><B>GetDataMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>InventoryMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core"><B>PeerAddress</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core"><B>Transaction</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/TransactionInput.html" title="class in com.google.bitcoin.core"><B>TransactionInput</B></A> (implements java.io.Serializable)
@ -96,7 +98,9 @@ Class Hierarchy
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/TransactionOutput.html" title="class in com.google.bitcoin.core"><B>TransactionOutput</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/UnknownMessage.html" title="class in com.google.bitcoin.core"><B>UnknownMessage</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core"><B>VersionMessage</B></A></UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core"><B>NetworkConnection</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core"><B>NetworkParameters</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core"><B>Peer</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core"><B>Script</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core"><B>Peer</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core"><B>Script</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core"><B>Sha256Hash</B></A> (implements java.io.Serializable)
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core"><B>StoredBlock</B></A> (implements java.io.Serializable)
<LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<UL>
<LI TYPE="circle">java.lang.Exception<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core"><B>AddressFormatException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>BlockStoreException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core"><B>ProtocolException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/ScriptException.html" title="class in com.google.bitcoin.core"><B>ScriptException</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/VerificationException.html" title="class in com.google.bitcoin.core"><B>VerificationException</B></A></UL>
@ -105,6 +109,11 @@ Class Hierarchy
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core"><B>WalletEventListener</B></A></UL>
</UL>
<H2>
Interface Hierarchy
</H2>
<UL>
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/BlockStore.html" title="interface in com.google.bitcoin.core"><B>BlockStore</B></A></UL>
<H2>
Enum Hierarchy
</H2>
<UL>

View File

@ -565,6 +565,81 @@ long <B>time</B></PRE>
<P>
<P>
<A NAME="com.google.bitcoin.core.Sha256Hash"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class <A HREF="com/google/bitcoin/core/Sha256Hash.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.Sha256Hash</A> extends java.lang.Object implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<A NAME="serializedForm"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Serialized Fields</B></FONT></TH>
</TR>
</TABLE>
<H3>
hash</H3>
<PRE>
byte[] <B>hash</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.StoredBlock"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class <A HREF="com/google/bitcoin/core/StoredBlock.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.StoredBlock</A> extends java.lang.Object implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-6097565241243701771L
<P>
<A NAME="serializedForm"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Serialized Fields</B></FONT></TH>
</TR>
</TABLE>
<H3>
header</H3>
<PRE>
<A HREF="com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A> <B>header</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
chainWork</H3>
<PRE>
java.math.BigInteger <B>chainWork</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
height</H3>
<PRE>
int <B>height</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.Transaction"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
@ -621,6 +696,15 @@ long <B>lockTime</B></PRE>
<DL>
</DL>
</DL>
<HR>
<H3>
appearsIn</H3>
<PRE>
java.util.Set&lt;E&gt; <B>appearsIn</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.TransactionInput"><!-- --></A>
@ -929,7 +1013,7 @@ long <B>bestHeight</B></PRE>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-4501424466753895784L
<B>serialVersionUID:&nbsp;</B>2L
<P>
<A NAME="serialized_methods"><!-- --></A>
@ -964,26 +1048,65 @@ private void <B>readObject</B>(java.io.ObjectInputStream&nbsp;in)
</TABLE>
<H3>
unspent</H3>
pending</H3>
<PRE>
java.util.ArrayList&lt;E&gt; <B>unspent</B></PRE>
java.util.Map&lt;K,V&gt; <B>pending</B></PRE>
<DL>
<DD>A list of transactions with outputs we can spend. Note that some of these transactions may be partially spent,
that is, they have outputs some of which are redeemed and others which aren't already. The spentness of each
output is tracked in the TransactionOutput object. The value of all unspent outputs is the balance of the
wallet.
<DD>Map of txhash->Transactions that have not made it into the best chain yet. These transactions inputs count as
spent for the purposes of calculating our balance but their outputs are not available for spending yet. This
means after a spend, our balance can actually go down temporarily before going up again!
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
fullySpent</H3>
unspent</H3>
<PRE>
java.util.LinkedList&lt;E&gt; <B>fullySpent</B></PRE>
java.util.Map&lt;K,V&gt; <B>unspent</B></PRE>
<DL>
<DD>When all the outputs of a transaction are spent, it gets put here. These transactions aren't useful for
anything except record keeping and presentation to the user.
<DD>Map of txhash->Transactions where the Transaction has unspent outputs. These are transactions we can use
to pay other people and so count towards our balance. Transactions only appear in this map if they are part
of the best chain. Transactions we have broacast that are not confirmed yet appear in pending even though they
may have unspent "change" outputs.<p>
Note: for now we will not allow spends of transactions that did not make it into the block chain. The code
that handles this in BitCoin C++ is complicated. Satoshis code will not allow you to spend unconfirmed coins,
however, it does seem to support dependency resolution entirely within the context of the memory pool so
theoretically you could spend zero-conf coins and all of them would be included together. To simplify we'll
make people wait but it would be a good improvement to resolve this in future.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
spent</H3>
<PRE>
java.util.Map&lt;K,V&gt; <B>spent</B></PRE>
<DL>
<DD>Map of txhash->Transactions where the Transactions outputs are all fully spent. They are kept separately so
the time to create a spend does not grow infinitely as wallets become more used. Some of these transactions
may not have appeared in a block yet if they were created by us to spend coins and that spend is still being
worked on by miners.<p>
Transactions only appear in this map if they are part of the best chain.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
inactive</H3>
<PRE>
java.util.Map&lt;K,V&gt; <B>inactive</B></PRE>
<DL>
<DD>An inactive transaction is one that is seen only in a block that is not a part of the best chain. We keep it
around in case a re-org promotes a different chain to be the best. In this case some (not necessarily all)
inactive transactions will be moved out to unspent and spent, and some might be moved in.<p>
Note that in the case where a transaction appears in both the best chain and a side chain as well, it is not
placed in this map. It's an error for a transaction to be in both the inactive pool and unspent/spent.
<P>
<DL>
</DL>

View File

@ -41,7 +41,7 @@ public class Sha256Hash implements Serializable {
}
/**
* Hash code of the byte array as calculated by {@link Arrays.hashCode()}. Note the difference between a SHA256
* Hash code of the byte array as calculated by {@link Arrays#hashCode()}. Note the difference between a SHA256
* secure hash and the type of quick/dirty hash used by the Java hashCode method which is designed for use in
* hash tables.
*/