bitcoinj/target/site/apidocs/serialized-form.html

1289 lines
43 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0-google-v3) on Mon Jun 27 16:26:11 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Serialized Form (BitCoinJ 0.2 API)
</TITLE>
<META NAME="date" CONTENT="2011-06-27">
<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="Serialized Form (BitCoinJ 0.2 API)";
}
}
</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="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-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;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="serialized-form.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>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<CENTER>
<H1>
Serialized Form</H1>
</CENTER>
<HR SIZE="4" NOSHADE>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="center"><FONT SIZE="+2">
<B>Package</B> <B>com.google.bitcoin.core</B></FONT></TH>
</TR>
</TABLE>
<P>
<A NAME="com.google.bitcoin.core.AddressFormatException"><!-- --></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/AddressFormatException.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.AddressFormatException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<P>
<A NAME="com.google.bitcoin.core.AddressMessage"><!-- --></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/AddressMessage.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.AddressMessage</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>8058283864924679460L
<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>
addresses</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>addresses</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.Block"><!-- --></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/Block.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.Block</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>2738848929966035281L
<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>
version</H3>
<PRE>
long <B>version</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
prevBlockHash</H3>
<PRE>
byte[] <B>prevBlockHash</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
merkleRoot</H3>
<PRE>
byte[] <B>merkleRoot</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
time</H3>
<PRE>
long <B>time</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
difficultyTarget</H3>
<PRE>
long <B>difficultyTarget</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
nonce</H3>
<PRE>
long <B>nonce</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
transactions</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>transactions</B></PRE>
<DL>
<DD>If null, it means this object holds only the headers.
<P>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.BlockStoreException"><!-- --></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/BlockStoreException.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.BlockStoreException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<P>
<A NAME="com.google.bitcoin.core.ECKey"><!-- --></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/ECKey.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.ECKey</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-728224901792295832L
<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>
priv</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>priv</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
pub</H3>
<PRE>
byte[] <B>pub</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.GetBlocksMessage"><!-- --></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/GetBlocksMessage.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.GetBlocksMessage</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>3479412877853645644L
<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>
locator</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>locator</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
stopHash</H3>
<PRE>
byte[] <B>stopHash</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.GetDataMessage"><!-- --></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/GetDataMessage.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.GetDataMessage</A> extends <A HREF="com/google/bitcoin/core/ListMessage.html" title="class in com.google.bitcoin.core">ListMessage</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>2754681589501709887L
<P>
<P>
<A NAME="com.google.bitcoin.core.InventoryMessage"><!-- --></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/InventoryMessage.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.InventoryMessage</A> extends <A HREF="com/google/bitcoin/core/ListMessage.html" title="class in com.google.bitcoin.core">ListMessage</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-7050246551646107066L
<P>
<P>
<A NAME="com.google.bitcoin.core.ListMessage"><!-- --></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/ListMessage.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.ListMessage</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> 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>
items</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>items</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.Message"><!-- --></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/Message.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.Message</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-3561053461717079135L
<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>
params</H3>
<PRE>
<A HREF="com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> <B>params</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.NetworkParameters"><!-- --></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/NetworkParameters.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.NetworkParameters</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>3L
<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>
genesisBlock</H3>
<PRE>
<A HREF="com/google/bitcoin/core/Block.html" title="class in com.google.bitcoin.core">Block</A> <B>genesisBlock</B></PRE>
<DL>
<DD>Genesis block for this chain.<p>
The first block in every chain is a well known constant shared between all BitCoin implemenetations. For a
block to be valid, it must be eventually possible to work backwards to the genesis block by following the
prevBlockHash pointers in the block headers.<p>
The genesis blocks for both test and prod networks contain the timestamp of when they were created,
and a message in the coinbase transaction. It says, <i>"The Times 03/Jan/2009 Chancellor on brink of second
bailout for banks"</i>.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
proofOfWorkLimit</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>proofOfWorkLimit</B></PRE>
<DL>
<DD>What the easiest allowable proof of work should be.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
port</H3>
<PRE>
int <B>port</B></PRE>
<DL>
<DD>Default TCP port on which to connect to nodes.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
packetMagic</H3>
<PRE>
long <B>packetMagic</B></PRE>
<DL>
<DD>The header bytes that identify the start of a packet on this network.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
addressHeader</H3>
<PRE>
int <B>addressHeader</B></PRE>
<DL>
<DD>First byte of a base58 encoded address. See <A HREF="com/google/bitcoin/core/Address.html" title="class in com.google.bitcoin.core"><CODE>Address</CODE></A>
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
dumpedPrivateKeyHeader</H3>
<PRE>
int <B>dumpedPrivateKeyHeader</B></PRE>
<DL>
<DD>First byte of a base58 encoded dumped private key. See <A HREF="com/google/bitcoin/core/DumpedPrivateKey.html" title="class in com.google.bitcoin.core"><CODE>DumpedPrivateKey</CODE></A>.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
interval</H3>
<PRE>
int <B>interval</B></PRE>
<DL>
<DD>How many blocks pass between difficulty adjustment periods. BitCoin standardises this to be 2015.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
targetTimespan</H3>
<PRE>
int <B>targetTimespan</B></PRE>
<DL>
<DD>How much time in seconds is supposed to pass between "interval" blocks. If the actual elapsed time is
significantly different from this value, the network difficulty formula will produce a different value. Both
test and production BitCoin networks use 2 weeks (1209600 seconds).
<P>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.PeerAddress"><!-- --></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/PeerAddress.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.PeerAddress</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>7501293709324197411L
<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>
addr</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</A> <B>addr</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
port</H3>
<PRE>
int <B>port</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
services</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>services</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
time</H3>
<PRE>
long <B>time</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.PeerDiscoveryException"><!-- --></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/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.PeerDiscoveryException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-2863411151549391392L
<P>
<P>
<A NAME="com.google.bitcoin.core.Ping"><!-- --></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/Ping.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.Ping</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<P>
<A NAME="com.google.bitcoin.core.ProtocolException"><!-- --></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/ProtocolException.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.ProtocolException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<P>
<A NAME="com.google.bitcoin.core.ScriptException"><!-- --></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/ScriptException.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.ScriptException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<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 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> 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 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> 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>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <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="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class <A HREF="com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.Transaction</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-8567546957352643140L
<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>
version</H3>
<PRE>
long <B>version</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
inputs</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>inputs</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
outputs</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>outputs</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
lockTime</H3>
<PRE>
long <B>lockTime</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
appearsIn</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>appearsIn</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.TransactionInput"><!-- --></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/TransactionInput.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.TransactionInput</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>2L
<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>
sequence</H3>
<PRE>
long <B>sequence</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
outpoint</H3>
<PRE>
<A HREF="com/google/bitcoin/core/TransactionOutPoint.html" title="class in com.google.bitcoin.core">TransactionOutPoint</A> <B>outpoint</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
scriptBytes</H3>
<PRE>
byte[] <B>scriptBytes</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
parentTransaction</H3>
<PRE>
<A HREF="com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A> <B>parentTransaction</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.TransactionOutPoint"><!-- --></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/TransactionOutPoint.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.TransactionOutPoint</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-6320880638344662579L
<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>
<DD>Hash of the transaction to which we refer.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
index</H3>
<PRE>
long <B>index</B></PRE>
<DL>
<DD>Which output of that transaction we are talking about.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
fromTx</H3>
<PRE>
<A HREF="com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A> <B>fromTx</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.TransactionOutput"><!-- --></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/TransactionOutput.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.TransactionOutput</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-590332479859256824L
<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>
value</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>value</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
scriptBytes</H3>
<PRE>
byte[] <B>scriptBytes</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
availableForSpending</H3>
<PRE>
boolean <B>availableForSpending</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
spentBy</H3>
<PRE>
<A HREF="com/google/bitcoin/core/TransactionInput.html" title="class in com.google.bitcoin.core">TransactionInput</A> <B>spentBy</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
parentTransaction</H3>
<PRE>
<A HREF="com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A> <B>parentTransaction</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.UnknownMessage"><!-- --></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/UnknownMessage.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.UnknownMessage</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>3614705938207918775L
<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>
name</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>name</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.VerificationException"><!-- --></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/VerificationException.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.VerificationException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<P>
<A NAME="com.google.bitcoin.core.VersionAck"><!-- --></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/VersionAck.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.VersionAck</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<P>
<A NAME="com.google.bitcoin.core.VersionMessage"><!-- --></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/VersionMessage.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.VersionMessage</A> extends <A HREF="com/google/bitcoin/core/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>7313594258967483180L
<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>
clientVersion</H3>
<PRE>
int <B>clientVersion</B></PRE>
<DL>
<DD>The version number of the protocol spoken.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
localServices</H3>
<PRE>
long <B>localServices</B></PRE>
<DL>
<DD>Flags defining what is supported. Right now <A HREF="com/google/bitcoin/core/VersionMessage.html#NODE_NETWORK"><CODE>VersionMessage.NODE_NETWORK</CODE></A> is the only flag defined.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
time</H3>
<PRE>
long <B>time</B></PRE>
<DL>
<DD>What the other side believes the current time to be, in seconds.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
myAddr</H3>
<PRE>
<A HREF="com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core">PeerAddress</A> <B>myAddr</B></PRE>
<DL>
<DD>What the other side believes the address of this program is. Not used.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
theirAddr</H3>
<PRE>
<A HREF="com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core">PeerAddress</A> <B>theirAddr</B></PRE>
<DL>
<DD>What the other side believes their own address is. Not used.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
subVer</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>subVer</B></PRE>
<DL>
<DD>An additional string that today the official client sets to the empty string. We treat it as something like an
HTTP User-Agent header.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
bestHeight</H3>
<PRE>
long <B>bestHeight</B></PRE>
<DL>
<DD>How many blocks are in the chain, according to the other side.
<P>
<DL>
</DL>
</DL>
<P>
<A NAME="com.google.bitcoin.core.Wallet"><!-- --></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/Wallet.html" title="class in com.google.bitcoin.core">com.google.bitcoin.core.Wallet</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>2L
<P>
<A NAME="serialized_methods"><!-- --></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>Serialization Methods</B></FONT></TH>
</TR>
</TABLE>
<P>
<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3>
readObject</H3>
<PRE>
private void <B>readObject</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectInputStream.html?is-external=true" title="class or interface in java.io">ObjectInputStream</A>&nbsp;in)
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A></CODE></DD>
</DL>
</DL>
<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>
pending</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">V</A>&gt; <B>pending</B></PRE>
<DL>
<DD>Map of txhash->Transactions that have not made it into the best chain yet. They are eligible to move there but
are waiting for a miner to send a block on the best chain including them. 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>
unspent</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">V</A>&gt; <B>unspent</B></PRE>
<DL>
<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>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">V</A>&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>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">V</A>&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>
</DL>
<HR>
<H3>
dead</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">V</A>&gt; <B>dead</B></PRE>
<DL>
<DD>A dead transaction is one that's been overridden by a double spend. Such a transaction is pending except it
will never confirm and so should be presented to the user in some unique way - flashing red for example. This
should nearly never happen in normal usage. Dead transactions can be "resurrected" by re-orgs just like any
other. Dead transactions are not in the pending pool.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
keychain</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">E</A>&gt; <B>keychain</B></PRE>
<DL>
<DD>A list of public/private EC keys owned by this user.
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
params</H3>
<PRE>
<A HREF="com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> <B>params</B></PRE>
<DL>
<DL>
</DL>
</DL>
<P>
<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="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-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;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="serialized-form.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>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2011. All Rights Reserved.
</BODY>
</HTML>