3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +00:00
altcoinj/docs/serialized-form.html

1068 lines
28 KiB
HTML
Raw Normal View History

2011-03-07 10:17:10 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Serialized Form
</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="Serialized Form";
}
}
</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">
2011-03-24 09:25:54 +00:00
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/google/bitcoin/core/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
2011-03-07 10:17:10 +00:00
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
2011-03-24 09:25:54 +00:00
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/google/bitcoin/core/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
2011-03-07 10:17:10 +00:00
<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 java.lang.Exception 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>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>8058283864924679460L
2011-03-07 10:17:10 +00:00
<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>
java.util.List&lt;E&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>
2011-03-15 14:04:38 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>2738848929966035281L
2011-03-07 10:17:10 +00:00
<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>
java.util.List&lt;E&gt; <B>transactions</B></PRE>
<DL>
<DD>If null, it means this object holds only the headers.
<P>
2011-03-07 10:17:10 +00:00
<DL>
</DL>
</DL>
2011-03-24 09:25:54 +00:00
<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 java.lang.Exception implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
2011-03-07 10:17:10 +00:00
<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 java.lang.Object 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>
java.math.BigInteger <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>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>3479412877853645644L
2011-03-07 10:17:10 +00:00
<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>
java.util.List&lt;E&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/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>2754681589501709887L
2011-03-07 10:17:10 +00:00
<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/Message.html" title="class in com.google.bitcoin.core">Message</A> implements Serializable</B></FONT></TH>
</TR>
</TABLE>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>-7050246551646107066L
2011-03-07 10:17:10 +00:00
<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>
java.util.List&lt;E&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 java.lang.Object implements Serializable</B></FONT></TH>
</TR>
</TABLE>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>-3561053461717079135L
2011-03-07 10:17:10 +00:00
<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 java.lang.Object implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>2579833727976661964L
<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>
2011-03-24 09:25:54 +00:00
<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>.
2011-03-07 10:17:10 +00:00
<P>
<DL>
</DL>
</DL>
<HR>
<H3>
proofOfWorkLimit</H3>
<PRE>
java.math.BigInteger <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>
byte <B>addressHeader</B></PRE>
<DL>
<DD>First byte of a base58 encoded address.
<P>
<DL>
</DL>
</DL>
2011-03-24 09:25:54 +00:00
<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>
2011-03-07 10:17:10 +00:00
<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>
java.net.InetAddress <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>
java.math.BigInteger <B>services</B></PRE>
<DL>
<DL>
</DL>
</DL>
2011-03-24 09:25:54 +00:00
<HR>
<H3>
time</H3>
<PRE>
long <B>time</B></PRE>
<DL>
<DL>
</DL>
</DL>
2011-03-07 10:17:10 +00:00
<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 java.lang.Exception 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 java.lang.Exception implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<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>
java.util.ArrayList&lt;E&gt; <B>inputs</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
outputs</H3>
<PRE>
java.util.ArrayList&lt;E&gt; <B>outputs</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
lockTime</H3>
<PRE>
long <B>lockTime</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>-7687665228438202968L
<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>
<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>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>-6320880638344662579L
2011-03-07 10:17:10 +00:00
<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>
2011-03-24 09:25:54 +00:00
<DD>Hash of the transaction to which we refer.
<P>
2011-03-07 10:17:10 +00:00
<DL>
</DL>
</DL>
<HR>
<H3>
index</H3>
<PRE>
long <B>index</B></PRE>
<DL>
2011-03-24 09:25:54 +00:00
<DD>Which output of that transaction we are talking about.
<P>
2011-03-07 10:17:10 +00:00
<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>
java.math.BigInteger <B>value</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
scriptBytes</H3>
<PRE>
byte[] <B>scriptBytes</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
isSpent</H3>
<PRE>
boolean <B>isSpent</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>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>3614705938207918775L
2011-03-07 10:17:10 +00:00
<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>
java.lang.String <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 java.lang.Exception 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>
2011-03-24 09:25:54 +00:00
<P>
<B>serialVersionUID:&nbsp;</B>7313594258967483180L
2011-03-07 10:17:10 +00:00
<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>
2011-03-24 09:25:54 +00:00
<DD>The version number of the protocol spoken.
<P>
2011-03-07 10:17:10 +00:00
<DL>
</DL>
</DL>
<HR>
<H3>
localServices</H3>
<PRE>
2011-03-15 14:04:38 +00:00
long <B>localServices</B></PRE>
2011-03-07 10:17:10 +00:00
<DL>
2011-03-24 09:25:54 +00:00
<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>
2011-03-07 10:17:10 +00:00
<DL>
</DL>
</DL>
<HR>
<H3>
time</H3>
<PRE>
2011-03-24 09:25:54 +00:00
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>
java.lang.String <B>subVer</B></PRE>
2011-03-07 10:17:10 +00:00
<DL>
2011-03-24 09:25:54 +00:00
<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>
2011-03-07 10:17:10 +00:00
<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 java.lang.Object implements Serializable</B></FONT></TH>
</TR>
</TABLE>
<P>
<B>serialVersionUID:&nbsp;</B>-4501424466753895784L
<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>(java.io.ObjectInputStream&nbsp;in)
throws java.io.IOException,
java.lang.ClassNotFoundException</PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE>
<DD><CODE>java.lang.ClassNotFoundException</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>
unspent</H3>
<PRE>
java.util.ArrayList&lt;E&gt; <B>unspent</B></PRE>
<DL>
2011-03-24 09:25:54 +00:00
<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>
2011-03-07 10:17:10 +00:00
<DL>
</DL>
</DL>
<HR>
<H3>
fullySpent</H3>
<PRE>
java.util.LinkedList&lt;E&gt; <B>fullySpent</B></PRE>
<DL>
2011-03-24 09:25:54 +00:00
<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.
<P>
2011-03-07 10:17:10 +00:00
<DL>
</DL>
</DL>
<HR>
<H3>
keychain</H3>
<PRE>
java.util.ArrayList&lt;E&gt; <B>keychain</B></PRE>
<DL>
2011-03-24 09:25:54 +00:00
<DD>A list of public/private EC keys owned by this user.
<P>
2011-03-07 10:17:10 +00:00
<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">
2011-03-24 09:25:54 +00:00
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/google/bitcoin/core/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
2011-03-07 10:17:10 +00:00
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
2011-03-24 09:25:54 +00:00
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="com/google/bitcoin/core/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
2011-03-07 10:17:10 +00:00
<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>
</BODY>
</HTML>