mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 03:21:23 +00:00
Fix javadoc rule in ant. Refresh Javadocs.
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
<javadoc sourcepath="src"
|
||||
excludepackagenames="com.google.bitcoin.bouncycastle.*,com.google.bitcoin.examples.*"
|
||||
destdir="docs"
|
||||
additionalparam="-notimestamp"/>
|
||||
additionalparam="-notimestamp"
|
||||
classpath="lib/slf4j-api-1.6.1.jar"/>
|
||||
</target>
|
||||
|
||||
<target name="test" depends="compile">
|
||||
|
@@ -37,6 +37,8 @@ All Classes
|
||||
<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/DnsDiscovery.html" title="class in com.google.bitcoin.core" target="classFrame">DnsDiscovery</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>
|
||||
@@ -49,6 +51,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/IrcDiscovery.html" title="class in com.google.bitcoin.core" target="classFrame">IrcDiscovery</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>
|
||||
@@ -61,6 +65,10 @@ All Classes
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core" target="classFrame">PeerAddress</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core" target="classFrame"><I>PeerDiscovery</I></A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core" target="classFrame">PeerDiscoveryException</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core" target="classFrame">ProtocolException</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core" target="classFrame">Script</A>
|
||||
@@ -93,6 +101,8 @@ All Classes
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core" target="classFrame">Wallet</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core" target="classFrame">Wallet.BalanceType</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core" target="classFrame">WalletEventListener</A>
|
||||
<BR>
|
||||
</FONT></TD>
|
||||
|
@@ -37,6 +37,8 @@ All Classes
|
||||
<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/DnsDiscovery.html" title="class in com.google.bitcoin.core">DnsDiscovery</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>
|
||||
@@ -49,6 +51,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/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</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>
|
||||
@@ -61,6 +65,10 @@ All Classes
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core">PeerAddress</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core"><I>PeerDiscovery</I></A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core">ProtocolException</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/Script.html" title="class in com.google.bitcoin.core">Script</A>
|
||||
@@ -93,6 +101,8 @@ All Classes
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>
|
||||
<BR>
|
||||
<A HREF="com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core">WalletEventListener</A>
|
||||
<BR>
|
||||
</FONT></TD>
|
||||
|
@@ -150,6 +150,14 @@ A custom form of base58 is used to encode BitCoin addresses. Note that this is n
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static byte[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Base58.html#decodeChecked(java.lang.String)">decodeChecked</A></B>(java.lang.String input)</CODE>
|
||||
|
||||
<BR>
|
||||
Uses the checksum in the last 4 bytes of the decoded data to verify the rest are correct.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static java.math.BigInteger</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Base58.html#decodeToBigInteger(java.lang.String)">decodeToBigInteger</A></B>(java.lang.String input)</CODE>
|
||||
|
||||
@@ -218,10 +226,13 @@ public static java.lang.String <B>encode</B>(byte[] input)</PRE>
|
||||
<A NAME="decode(java.lang.String)"><!-- --></A><H3>
|
||||
decode</H3>
|
||||
<PRE>
|
||||
public static byte[] <B>decode</B>(java.lang.String input)</PRE>
|
||||
public static byte[] <B>decode</B>(java.lang.String input)
|
||||
throws <A HREF="../../../../com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core">AddressFormatException</A></PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="../../../../com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core">AddressFormatException</A></CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
@@ -229,10 +240,30 @@ public static byte[] <B>decode</B>(java.lang.String input)</PRE>
|
||||
<A NAME="decodeToBigInteger(java.lang.String)"><!-- --></A><H3>
|
||||
decodeToBigInteger</H3>
|
||||
<PRE>
|
||||
public static java.math.BigInteger <B>decodeToBigInteger</B>(java.lang.String input)</PRE>
|
||||
public static java.math.BigInteger <B>decodeToBigInteger</B>(java.lang.String input)
|
||||
throws <A HREF="../../../../com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core">AddressFormatException</A></PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="../../../../com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core">AddressFormatException</A></CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="decodeChecked(java.lang.String)"><!-- --></A><H3>
|
||||
decodeChecked</H3>
|
||||
<PRE>
|
||||
public static byte[] <B>decodeChecked</B>(java.lang.String input)
|
||||
throws <A HREF="../../../../com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core">AddressFormatException</A></PRE>
|
||||
<DL>
|
||||
<DD>Uses the checksum in the last 4 bytes of the decoded data to verify the rest are correct. The checksum is
|
||||
removed from the returned data.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="../../../../com/google/bitcoin/core/AddressFormatException.html" title="class in com.google.bitcoin.core">AddressFormatException</A></CODE> - if the input is not base 58 or the checksum does not validate.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
|
@@ -52,7 +52,7 @@ function windowTitle()
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.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/DiskBlockStore.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DiskBlockStore.html" target="_top"><B>NO FRAMES</B></A>
|
||||
@@ -323,7 +323,7 @@ public void <B>setChainHead</B>(<A HREF="../../../../com/google/bitcoin/core/Sto
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/BlockStoreException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ECKey.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.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/DiskBlockStore.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DiskBlockStore.html" target="_top"><B>NO FRAMES</B></A>
|
||||
|
316
docs/com/google/bitcoin/core/DnsDiscovery.html
Normal file
316
docs/com/google/bitcoin/core/DnsDiscovery.html
Normal file
@@ -0,0 +1,316 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
DnsDiscovery
|
||||
</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="DnsDiscovery";
|
||||
}
|
||||
}
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ECKey.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/DnsDiscovery.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DnsDiscovery.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></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 DnsDiscovery</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.bitcoin.core.DnsDiscovery</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>DnsDiscovery</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Supports peer discovery through DNS.<p>
|
||||
|
||||
This class does not support the testnet as currently there are no DNS servers providing testnet hosts.
|
||||
If this class is being used for testnet you must specify the hostnames to use.<p>
|
||||
|
||||
Failure to resolve individual host names will not cause an Exception to be thrown.
|
||||
However, if all hosts passed fail to resolve a PeerDiscoveryException will be thrown during getPeers().
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<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/DnsDiscovery.html#DnsDiscovery(com.google.bitcoin.core.NetworkParameters)">DnsDiscovery</A></B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> netParams)</CODE>
|
||||
|
||||
<BR>
|
||||
Supports finding peers through DNS A records.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.html#DnsDiscovery(java.lang.String[], com.google.bitcoin.core.NetworkParameters)">DnsDiscovery</A></B>(java.lang.String[] hostNames,
|
||||
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> netParams)</CODE>
|
||||
|
||||
<BR>
|
||||
Supports finding peers through DNS A records.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== 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>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static java.lang.String[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.html#getDefaultHostNames()">getDefaultHostNames</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the well known discovery host names on the production network.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.net.InetSocketAddress[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.html#getPeers()">getPeers</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns an array of addresses.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<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, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<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="DnsDiscovery(com.google.bitcoin.core.NetworkParameters)"><!-- --></A><H3>
|
||||
DnsDiscovery</H3>
|
||||
<PRE>
|
||||
public <B>DnsDiscovery</B>(<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> netParams)</PRE>
|
||||
<DL>
|
||||
<DD>Supports finding peers through DNS A records. Community run DNS entry points will be used.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>netParams</CODE> - Network parameters to be used for port information.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="DnsDiscovery(java.lang.String[], com.google.bitcoin.core.NetworkParameters)"><!-- --></A><H3>
|
||||
DnsDiscovery</H3>
|
||||
<PRE>
|
||||
public <B>DnsDiscovery</B>(java.lang.String[] hostNames,
|
||||
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> netParams)</PRE>
|
||||
<DL>
|
||||
<DD>Supports finding peers through DNS A records.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>hostNames</CODE> - Host names to be examined for seed addresses.<DD><CODE>netParams</CODE> - Network parameters to be used for port information.</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_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>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="getPeers()"><!-- --></A><H3>
|
||||
getPeers</H3>
|
||||
<PRE>
|
||||
public java.net.InetSocketAddress[] <B>getPeers</B>()
|
||||
throws <A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A></PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html#getPeers()">PeerDiscovery</A></CODE></B></DD>
|
||||
<DD>Returns an array of addresses. This method may block.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html#getPeers()">getPeers</A></CODE> in interface <CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A></CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getDefaultHostNames()"><!-- --></A><H3>
|
||||
getDefaultHostNames</H3>
|
||||
<PRE>
|
||||
public static java.lang.String[] <B>getDefaultHostNames</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the well known discovery host names on the production network.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ECKey.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/DnsDiscovery.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DnsDiscovery.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@@ -51,7 +51,7 @@ function windowTitle()
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<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>
|
||||
@@ -448,7 +448,7 @@ public boolean <B>verify</B>(byte[] data,
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/DiskBlockStore.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<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>
|
||||
|
@@ -52,7 +52,7 @@ function windowTitle()
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.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>
|
||||
<A HREF="InventoryMessage.html" target="_top"><B>NO FRAMES</B></A>
|
||||
@@ -327,7 +327,7 @@ public void <B>bitcoinSerializeToStream</B>(java.io.OutputStream stream)
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/MemoryBlockStore.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.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>
|
||||
<A HREF="InventoryMessage.html" target="_top"><B>NO FRAMES</B></A>
|
||||
|
337
docs/com/google/bitcoin/core/IrcDiscovery.html
Normal file
337
docs/com/google/bitcoin/core/IrcDiscovery.html
Normal file
@@ -0,0 +1,337 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
IrcDiscovery
|
||||
</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="IrcDiscovery";
|
||||
}
|
||||
}
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<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/IrcDiscovery.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="IrcDiscovery.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></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 IrcDiscovery</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.bitcoin.core.IrcDiscovery</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>IrcDiscovery</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
IrcDiscovery provides a way to find network peers by joining a pre-agreed rendevouz point on the LFnet IRC network.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<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/IrcDiscovery.html#IrcDiscovery(java.lang.String)">IrcDiscovery</A></B>(java.lang.String channel)</CODE>
|
||||
|
||||
<BR>
|
||||
Finds a list of peers by connecting to an IRC network, joining a channel, decoding the nicks and then
|
||||
disconnecting.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html#IrcDiscovery(java.lang.String, java.lang.String, int)">IrcDiscovery</A></B>(java.lang.String channel,
|
||||
java.lang.String server,
|
||||
int port)</CODE>
|
||||
|
||||
<BR>
|
||||
Finds a list of peers by connecting to an IRC network, joining a channel, decoding the nicks and then
|
||||
disconnecting.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== 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>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.net.InetSocketAddress[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html#getPeers()">getPeers</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns a list of peers that were found in the IRC channel.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>protected void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html#onIRCReceive(java.lang.String)">onIRCReceive</A></B>(java.lang.String message)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>protected void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html#onIRCSend(java.lang.String)">onIRCSend</A></B>(java.lang.String message)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<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, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<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="IrcDiscovery(java.lang.String)"><!-- --></A><H3>
|
||||
IrcDiscovery</H3>
|
||||
<PRE>
|
||||
public <B>IrcDiscovery</B>(java.lang.String channel)</PRE>
|
||||
<DL>
|
||||
<DD>Finds a list of peers by connecting to an IRC network, joining a channel, decoding the nicks and then
|
||||
disconnecting.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - The IRC channel to join, either "#bitcoin" or "#bitcoinTEST" for the production and test networks
|
||||
respectively.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="IrcDiscovery(java.lang.String, java.lang.String, int)"><!-- --></A><H3>
|
||||
IrcDiscovery</H3>
|
||||
<PRE>
|
||||
public <B>IrcDiscovery</B>(java.lang.String channel,
|
||||
java.lang.String server,
|
||||
int port)</PRE>
|
||||
<DL>
|
||||
<DD>Finds a list of peers by connecting to an IRC network, joining a channel, decoding the nicks and then
|
||||
disconnecting.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>server</CODE> - Name or textual IP address of the IRC server to join.<DD><CODE>channel</CODE> - The IRC channel to join, either "#bitcoin" or "#bitcoinTEST" for the production and test networks</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_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>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="onIRCSend(java.lang.String)"><!-- --></A><H3>
|
||||
onIRCSend</H3>
|
||||
<PRE>
|
||||
protected void <B>onIRCSend</B>(java.lang.String message)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onIRCReceive(java.lang.String)"><!-- --></A><H3>
|
||||
onIRCReceive</H3>
|
||||
<PRE>
|
||||
protected void <B>onIRCReceive</B>(java.lang.String message)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getPeers()"><!-- --></A><H3>
|
||||
getPeers</H3>
|
||||
<PRE>
|
||||
public java.net.InetSocketAddress[] <B>getPeers</B>()
|
||||
throws <A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A></PRE>
|
||||
<DL>
|
||||
<DD>Returns a list of peers that were found in the IRC channel. Note that just because a peer appears in the list
|
||||
does not mean it is accepting connections.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html#getPeers()">getPeers</A></CODE> in interface <CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A></CODE></DL>
|
||||
</DD>
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<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/IrcDiscovery.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="IrcDiscovery.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@@ -51,7 +51,7 @@ function windowTitle()
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Message.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/MemoryBlockStore.html" target="_top"><B>FRAMES</B></A>
|
||||
@@ -311,7 +311,7 @@ public void <B>setChainHead</B>(<A HREF="../../../../com/google/bitcoin/core/Sto
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Message.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/MemoryBlockStore.html" target="_top"><B>FRAMES</B></A>
|
||||
|
@@ -119,9 +119,10 @@ 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, int)">NetworkConnection</A></B>(java.net.InetAddress remoteIp,
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/NetworkConnection.html#NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters, int, int)">NetworkConnection</A></B>(java.net.InetAddress remoteIp,
|
||||
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> params,
|
||||
int bestHeight)</CODE>
|
||||
int bestHeight,
|
||||
int connectTimeout)</CODE>
|
||||
|
||||
<BR>
|
||||
Connect to the given IP address using the port specified as part of the network parameters.</TD>
|
||||
@@ -208,12 +209,13 @@ 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, int)"><!-- --></A><H3>
|
||||
<A NAME="NetworkConnection(java.net.InetAddress, com.google.bitcoin.core.NetworkParameters, int, int)"><!-- --></A><H3>
|
||||
NetworkConnection</H3>
|
||||
<PRE>
|
||||
public <B>NetworkConnection</B>(java.net.InetAddress remoteIp,
|
||||
<A HREF="../../../../com/google/bitcoin/core/NetworkParameters.html" title="class in com.google.bitcoin.core">NetworkParameters</A> params,
|
||||
int bestHeight)
|
||||
int bestHeight,
|
||||
int connectTimeout)
|
||||
throws java.io.IOException,
|
||||
<A HREF="../../../../com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core">ProtocolException</A></PRE>
|
||||
<DL>
|
||||
@@ -221,7 +223,7 @@ public <B>NetworkConnection</B>(java.net.InetAddress 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.<DD><CODE>bestHeight</CODE> - How many blocks are in our best chain
|
||||
<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<DD><CODE>connectTimeout</CODE> - Timeout in milliseconds when initially connecting to peer
|
||||
<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>
|
||||
|
@@ -52,7 +52,7 @@ function windowTitle()
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.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/PeerAddress.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PeerAddress.html" target="_top"><B>NO FRAMES</B></A>
|
||||
@@ -335,7 +335,7 @@ public java.lang.String <B>toString</B>()</PRE>
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/Peer.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.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/PeerAddress.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PeerAddress.html" target="_top"><B>NO FRAMES</B></A>
|
||||
|
213
docs/com/google/bitcoin/core/PeerDiscovery.html
Normal file
213
docs/com/google/bitcoin/core/PeerDiscovery.html
Normal file
@@ -0,0 +1,213 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
PeerDiscovery
|
||||
</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="PeerDiscovery";
|
||||
}
|
||||
}
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.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/PeerDiscovery.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PeerDiscovery.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></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>
|
||||
Interface PeerDiscovery</H2>
|
||||
<DL>
|
||||
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core">DnsDiscovery</A>, <A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public interface <B>PeerDiscovery</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
A PeerDiscovery object is responsible for finding addresses of other nodes in the BitCoin P2P network. Note that
|
||||
the addresses returned may or may not be accepting connections.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========== 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>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.net.InetSocketAddress[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html#getPeers()">getPeers</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns an array of addresses.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_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>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="getPeers()"><!-- --></A><H3>
|
||||
getPeers</H3>
|
||||
<PRE>
|
||||
java.net.InetSocketAddress[] <B>getPeers</B>()
|
||||
throws <A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A></PRE>
|
||||
<DL>
|
||||
<DD>Returns an array of addresses. This method may block.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A></CODE></DL>
|
||||
</DD>
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.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/PeerDiscovery.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PeerDiscovery.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
278
docs/com/google/bitcoin/core/PeerDiscoveryException.html
Normal file
278
docs/com/google/bitcoin/core/PeerDiscoveryException.html
Normal file
@@ -0,0 +1,278 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
PeerDiscoveryException
|
||||
</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="PeerDiscoveryException";
|
||||
}
|
||||
}
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ProtocolException.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/PeerDiscoveryException.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PeerDiscoveryException.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | 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 PeerDiscoveryException</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.PeerDiscoveryException</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>PeerDiscoveryException</B><DT>extends java.lang.Exception</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.google.bitcoin.core.PeerDiscoveryException">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/PeerDiscoveryException.html#PeerDiscoveryException()">PeerDiscoveryException</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html#PeerDiscoveryException(java.lang.String)">PeerDiscoveryException</A></B>(java.lang.String message)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html#PeerDiscoveryException(java.lang.String, java.lang.Throwable)">PeerDiscoveryException</A></B>(java.lang.String message,
|
||||
java.lang.Throwable arg0)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html#PeerDiscoveryException(java.lang.Throwable)">PeerDiscoveryException</A></B>(java.lang.Throwable arg0)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== 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>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<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="PeerDiscoveryException()"><!-- --></A><H3>
|
||||
PeerDiscoveryException</H3>
|
||||
<PRE>
|
||||
public <B>PeerDiscoveryException</B>()</PRE>
|
||||
<DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="PeerDiscoveryException(java.lang.String)"><!-- --></A><H3>
|
||||
PeerDiscoveryException</H3>
|
||||
<PRE>
|
||||
public <B>PeerDiscoveryException</B>(java.lang.String message)</PRE>
|
||||
<DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="PeerDiscoveryException(java.lang.Throwable)"><!-- --></A><H3>
|
||||
PeerDiscoveryException</H3>
|
||||
<PRE>
|
||||
public <B>PeerDiscoveryException</B>(java.lang.Throwable arg0)</PRE>
|
||||
<DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="PeerDiscoveryException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
||||
PeerDiscoveryException</H3>
|
||||
<PRE>
|
||||
public <B>PeerDiscoveryException</B>(java.lang.String message,
|
||||
java.lang.Throwable arg0)</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/ProtocolException.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/PeerDiscoveryException.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PeerDiscoveryException.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@@ -51,7 +51,7 @@ function windowTitle()
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Script.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/ProtocolException.html" target="_top"><B>FRAMES</B></A>
|
||||
@@ -229,7 +229,7 @@ public <B>ProtocolException</B>(java.lang.String msg,
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerAddress.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Script.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/ProtocolException.html" target="_top"><B>FRAMES</B></A>
|
||||
|
@@ -213,6 +213,15 @@ A collection of various utility methods that are helpful for working with the Bi
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Utils.html#readUint16BE(byte[], int)">readUint16BE</A></B>(byte[] bytes,
|
||||
int offset)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static long</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Utils.html#readUint32(byte[], int)">readUint32</A></B>(byte[] bytes,
|
||||
int offset)</CODE>
|
||||
@@ -580,6 +589,18 @@ public static long <B>readUint32BE</B>(byte[] bytes,
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="readUint16BE(byte[], int)"><!-- --></A><H3>
|
||||
readUint16BE</H3>
|
||||
<PRE>
|
||||
public static int <B>readUint16BE</B>(byte[] bytes,
|
||||
int offset)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="sha256hash160(byte[])"><!-- --></A><H3>
|
||||
sha256hash160</H3>
|
||||
<PRE>
|
||||
|
335
docs/com/google/bitcoin/core/Wallet.BalanceType.html
Normal file
335
docs/com/google/bitcoin/core/Wallet.BalanceType.html
Normal file
@@ -0,0 +1,335 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
Wallet.BalanceType
|
||||
</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="Wallet.BalanceType";
|
||||
}
|
||||
}
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/WalletEventListener.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/Wallet.BalanceType.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Wallet.BalanceType.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></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>
|
||||
Enum Wallet.BalanceType</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Enum<<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>>
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.bitcoin.core.Wallet.BalanceType</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable<<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>></DD>
|
||||
</DL>
|
||||
<DL>
|
||||
<DT><B>Enclosing class:</B><DD><A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public static enum <B>Wallet.BalanceType</B><DT>extends java.lang.Enum<<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
It's possible to calculate a wallets balance from multiple points of view. This enum selects which
|
||||
getBalance() should use.<p>
|
||||
|
||||
Consider a real-world example: you buy a snack costing $5 but you only have a $10 bill. At the start you have
|
||||
$10 viewed from every possible angle. After you order the snack you hand over your $10 bill. From the
|
||||
perspective of your wallet you have zero dollars (AVAILABLE). But you know in a few seconds the shopkeeper
|
||||
will give you back $5 change so most people in practice would say they have $5 (ESTIMATED).<p>
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
|
||||
<A NAME="enum_constant_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>Enum Constant Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html#AVAILABLE">AVAILABLE</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Balance that can be safely used to create new spends.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html#ESTIMATED">ESTIMATED</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Balance calculated assuming all pending transactions are in fact included into the best chain by miners.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== 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>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static <A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String name)</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the enum constant of this type with the specified name.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static <A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html#values()">values</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></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.Enum</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<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>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
|
||||
<A NAME="enum_constant_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>Enum Constant Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="ESTIMATED"><!-- --></A><H3>
|
||||
ESTIMATED</H3>
|
||||
<PRE>
|
||||
public static final <A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A> <B>ESTIMATED</B></PRE>
|
||||
<DL>
|
||||
<DD>Balance calculated assuming all pending transactions are in fact included into the best chain by miners.
|
||||
This is the right balance to show in user interfaces.
|
||||
<P>
|
||||
<DL>
|
||||
</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="AVAILABLE"><!-- --></A><H3>
|
||||
AVAILABLE</H3>
|
||||
<PRE>
|
||||
public static final <A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A> <B>AVAILABLE</B></PRE>
|
||||
<DL>
|
||||
<DD>Balance that can be safely used to create new spends. This is all confirmed unspent outputs minus the ones
|
||||
spent by pending transactions, but not including the outputs of those pending transactions.
|
||||
<P>
|
||||
<DL>
|
||||
</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_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>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="values()"><!-- --></A><H3>
|
||||
values</H3>
|
||||
<PRE>
|
||||
public static <A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>[] <B>values</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (Wallet.BalanceType c : Wallet.BalanceType.values())
|
||||
System.out.println(c);
|
||||
</pre>
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
|
||||
the order they are declared</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
|
||||
valueOf</H3>
|
||||
<PRE>
|
||||
public static <A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A> <B>valueOf</B>(java.lang.String name)</PRE>
|
||||
<DL>
|
||||
<DD>Returns the enum constant of this type with the specified name.
|
||||
The string must match <I>exactly</I> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
|
||||
<DT><B>Returns:</B><DD>the enum constant with the specified name
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant
|
||||
with the specified name
|
||||
<DD><CODE>java.lang.NullPointerException</CODE> - if the argument is null</DL>
|
||||
</DD>
|
||||
</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> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/WalletEventListener.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/Wallet.BalanceType.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Wallet.BalanceType.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<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: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@@ -52,7 +52,7 @@ function windowTitle()
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.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/Wallet.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Wallet.html" target="_top"><B>NO FRAMES</B></A>
|
||||
@@ -72,7 +72,7 @@ function windowTitle()
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
@@ -101,12 +101,11 @@ java.lang.Object
|
||||
|
||||
<P>
|
||||
A Wallet stores keys and a record of transactions that have not yet been spent. Thus, it is capable of
|
||||
providing transactions on demand that meet a given combined value. Once a transaction
|
||||
output is used, it is removed from the wallet as it is no longer available for spending.<p>
|
||||
providing transactions on demand that meet a given combined value.<p>
|
||||
|
||||
The Wallet is read and written from disk, so be sure to follow the Java serialization
|
||||
versioning rules here. We use the built in Java serialization to avoid the need to
|
||||
pull in a potentially large (code-size) third party serialization library.<p>
|
||||
The Wallet is read and written from disk, so be sure to follow the Java serialization versioning rules here. We
|
||||
use the built in Java serialization to avoid the need to pull in a potentially large (code-size) third party
|
||||
serialization library.<p>
|
||||
<P>
|
||||
|
||||
<P>
|
||||
@@ -115,7 +114,24 @@ A Wallet stores keys and a record of transactions that have not yet been spent.
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
It's possible to calculate a wallets balance from multiple points of view.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
@@ -195,7 +211,15 @@ A Wallet stores keys and a record of transactions that have not yet been spent.
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#getBalance()">getBalance</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the balance of this wallet by summing up all unspent outputs that were sent to us.</TD>
|
||||
Returns the AVAILABLE balance of this wallet.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.math.BigInteger</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/Wallet.html#getBalance(com.google.bitcoin.core.Wallet.BalanceType)">getBalance</A></B>(<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A> balanceType)</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the balance of this wallet as calculated by the provided balanceType.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
@@ -515,7 +539,28 @@ getBalance</H3>
|
||||
<PRE>
|
||||
public java.math.BigInteger <B>getBalance</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the balance of this wallet by summing up all unspent outputs that were sent to us.
|
||||
<DD>Returns the AVAILABLE balance of this wallet. See <A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html#AVAILABLE"><CODE>Wallet.BalanceType.AVAILABLE</CODE></A> for details on what this
|
||||
means.<p>
|
||||
|
||||
Note: the estimated balance is usually the one you want to show to the end user - however attempting to
|
||||
actually spend these coins may result in temporary failure. This method returns how much you can safely
|
||||
provide to <A HREF="../../../../com/google/bitcoin/core/Wallet.html#createSend(com.google.bitcoin.core.Address, java.math.BigInteger)"><CODE>createSend(Address, java.math.BigInteger)</CODE></A>.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getBalance(com.google.bitcoin.core.Wallet.BalanceType)"><!-- --></A><H3>
|
||||
getBalance</H3>
|
||||
<PRE>
|
||||
public java.math.BigInteger <B>getBalance</B>(<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A> balanceType)</PRE>
|
||||
<DL>
|
||||
<DD>Returns the balance of this wallet as calculated by the provided balanceType.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
@@ -584,7 +629,7 @@ public java.util.Collection<<A HREF="../../../../com/google/bitcoin/core/Tran
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/VersionMessage.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.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/Wallet.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Wallet.html" target="_top"><B>NO FRAMES</B></A>
|
||||
@@ -604,7 +649,7 @@ public java.util.Collection<<A HREF="../../../../com/google/bitcoin/core/Tran
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
|
@@ -51,7 +51,7 @@ function windowTitle()
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
NEXT CLASS</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../index.html?com/google/bitcoin/core/WalletEventListener.html" target="_top"><B>FRAMES</B></A>
|
||||
@@ -145,6 +145,15 @@ Implementing a subclass WalletEventListener allows you to learn when the content
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/WalletEventListener.html#onDeadTransaction(com.google.bitcoin.core.Transaction, com.google.bitcoin.core.Transaction)">onDeadTransaction</A></B>(<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A> deadTx,
|
||||
<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A> replacementTx)</CODE>
|
||||
|
||||
<BR>
|
||||
This is called on a Peer thread when a transaction becomes <i>dead</i>.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/google/bitcoin/core/WalletEventListener.html#onReorganize()">onReorganize</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
@@ -229,6 +238,26 @@ public void <B>onReorganize</B>()</PRE>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onDeadTransaction(com.google.bitcoin.core.Transaction, com.google.bitcoin.core.Transaction)"><!-- --></A><H3>
|
||||
onDeadTransaction</H3>
|
||||
<PRE>
|
||||
public void <B>onDeadTransaction</B>(<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A> deadTx,
|
||||
<A HREF="../../../../com/google/bitcoin/core/Transaction.html" title="class in com.google.bitcoin.core">Transaction</A> replacementTx)</PRE>
|
||||
<DL>
|
||||
<DD>This is called on a Peer thread when a transaction becomes <i>dead</i>. A dead transaction is one that has
|
||||
been overridden by a double spend from the network and so will never confirm no matter how long you wait.<p>
|
||||
|
||||
A dead transaction can occur if somebody is attacking the network, or by accident if keys are being shared.
|
||||
You can use this event handler to inform the user of the situation. A dead spend will show up in the BitCoin
|
||||
C++ client of the recipient as 0/unconfirmed forever, so if it was used to purchase something,
|
||||
the user needs to know their goods will never arrive.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>deadTx</CODE> - The transaction that is newly dead.<DD><CODE>replacementTx</CODE> - The transaction that killed it.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
@@ -258,7 +287,7 @@ public void <B>onReorganize</B>()</PRE>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core"><B>PREV CLASS</B></A>
|
||||
NEXT CLASS</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../index.html?com/google/bitcoin/core/WalletEventListener.html" target="_top"><B>FRAMES</B></A>
|
||||
|
@@ -21,7 +21,9 @@ com.google.bitcoin.core
|
||||
Interfaces</FONT>
|
||||
<FONT CLASS="FrameItemFont">
|
||||
<BR>
|
||||
<A HREF="BlockStore.html" title="interface in com.google.bitcoin.core" target="classFrame"><I>BlockStore</I></A></FONT></TD>
|
||||
<A HREF="BlockStore.html" title="interface in com.google.bitcoin.core" target="classFrame"><I>BlockStore</I></A>
|
||||
<BR>
|
||||
<A HREF="PeerDiscovery.html" title="interface in com.google.bitcoin.core" target="classFrame"><I>PeerDiscovery</I></A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -44,6 +46,8 @@ Classes</FONT>
|
||||
<BR>
|
||||
<A HREF="DiskBlockStore.html" title="class in com.google.bitcoin.core" target="classFrame">DiskBlockStore</A>
|
||||
<BR>
|
||||
<A HREF="DnsDiscovery.html" title="class in com.google.bitcoin.core" target="classFrame">DnsDiscovery</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>
|
||||
@@ -54,6 +58,8 @@ Classes</FONT>
|
||||
<BR>
|
||||
<A HREF="InventoryMessage.html" title="class in com.google.bitcoin.core" target="classFrame">InventoryMessage</A>
|
||||
<BR>
|
||||
<A HREF="IrcDiscovery.html" title="class in com.google.bitcoin.core" target="classFrame">IrcDiscovery</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>
|
||||
@@ -103,7 +109,9 @@ Enums</FONT>
|
||||
<BR>
|
||||
<A HREF="InventoryItem.Type.html" title="enum in com.google.bitcoin.core" target="classFrame">InventoryItem.Type</A>
|
||||
<BR>
|
||||
<A HREF="Transaction.SigHash.html" title="enum in com.google.bitcoin.core" target="classFrame">Transaction.SigHash</A></FONT></TD>
|
||||
<A HREF="Transaction.SigHash.html" title="enum in com.google.bitcoin.core" target="classFrame">Transaction.SigHash</A>
|
||||
<BR>
|
||||
<A HREF="Wallet.BalanceType.html" title="enum in com.google.bitcoin.core" target="classFrame">Wallet.BalanceType</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
@@ -118,6 +126,8 @@ Exceptions</FONT>
|
||||
<BR>
|
||||
<A HREF="BlockStoreException.html" title="class in com.google.bitcoin.core" target="classFrame">BlockStoreException</A>
|
||||
<BR>
|
||||
<A HREF="PeerDiscoveryException.html" title="class in com.google.bitcoin.core" target="classFrame">PeerDiscoveryException</A>
|
||||
<BR>
|
||||
<A HREF="ProtocolException.html" title="class in com.google.bitcoin.core" target="classFrame">ProtocolException</A>
|
||||
<BR>
|
||||
<A HREF="ScriptException.html" title="class in com.google.bitcoin.core" target="classFrame">ScriptException</A>
|
||||
|
@@ -88,6 +88,10 @@ Package com.google.bitcoin.core
|
||||
<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>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A></B></TD>
|
||||
<TD>A PeerDiscovery object is responsible for finding addresses of other nodes in the BitCoin P2P network.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
@@ -124,6 +128,10 @@ Package com.google.bitcoin.core
|
||||
<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/DnsDiscovery.html" title="class in com.google.bitcoin.core">DnsDiscovery</A></B></TD>
|
||||
<TD>Supports peer discovery through DNS.</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>
|
||||
@@ -144,6 +152,10 @@ Package com.google.bitcoin.core
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</A></B></TD>
|
||||
<TD>IrcDiscovery provides a way to find network peers by joining a pre-agreed rendevouz point on the LFnet IRC network.</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>
|
||||
@@ -243,6 +255,10 @@ Package com.google.bitcoin.core
|
||||
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core">Transaction.SigHash</A></B></TD>
|
||||
<TD>These constants are a part of a scriptSig signature on the inputs.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A></B></TD>
|
||||
<TD>It's possible to calculate a wallets balance from multiple points of view.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
@@ -262,6 +278,10 @@ Package com.google.bitcoin.core
|
||||
<TD>Thrown when something goes wrong with storing a block.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A></B></TD>
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../../../../com/google/bitcoin/core/ProtocolException.html" title="class in com.google.bitcoin.core">ProtocolException</A></B></TD>
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
|
@@ -86,8 +86,10 @@ Class Hierarchy
|
||||
<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/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/DnsDiscovery.html" title="class in com.google.bitcoin.core"><B>DnsDiscovery</B></A> (implements com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</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/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/IrcDiscovery.html" title="class in com.google.bitcoin.core"><B>IrcDiscovery</B></A> (implements com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</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)
|
||||
@@ -101,7 +103,7 @@ Class Hierarchy
|
||||
<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>
|
||||
<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/PeerDiscoveryException.html" title="class in com.google.bitcoin.core"><B>PeerDiscoveryException</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>
|
||||
</UL>
|
||||
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core"><B>Utils</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/VarInt.html" title="class in com.google.bitcoin.core"><B>VarInt</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><B>Wallet</B></A> (implements java.io.Serializable)
|
||||
<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>
|
||||
@@ -110,7 +112,7 @@ Class Hierarchy
|
||||
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>
|
||||
<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><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core"><B>PeerDiscovery</B></A></UL>
|
||||
<H2>
|
||||
Enum Hierarchy
|
||||
</H2>
|
||||
@@ -118,7 +120,7 @@ Enum Hierarchy
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core"><B>Transaction.SigHash</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>InventoryItem.Type</B></A></UL>
|
||||
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core"><B>Wallet.BalanceType</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core"><B>Transaction.SigHash</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="../../../../com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>InventoryItem.Type</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<HR>
|
||||
|
@@ -208,6 +208,9 @@ Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Mes
|
||||
<DT><A HREF="./com/google/bitcoin/core/Base58.html#decode(java.lang.String)"><B>decode(String)</B></A> -
|
||||
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Base58.html" title="class in com.google.bitcoin.core">Base58</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/Base58.html#decodeChecked(java.lang.String)"><B>decodeChecked(String)</B></A> -
|
||||
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Base58.html" title="class in com.google.bitcoin.core">Base58</A>
|
||||
<DD>Uses the checksum in the last 4 bytes of the decoded data to verify the rest are correct.
|
||||
<DT><A HREF="./com/google/bitcoin/core/Base58.html#decodeToBigInteger(java.lang.String)"><B>decodeToBigInteger(String)</B></A> -
|
||||
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Base58.html" title="class in com.google.bitcoin.core">Base58</A>
|
||||
<DD>
|
||||
@@ -217,6 +220,12 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Peer.
|
||||
<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>
|
||||
<DT><A HREF="./com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core"><B>DnsDiscovery</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Supports peer discovery through DNS.<DT><A HREF="./com/google/bitcoin/core/DnsDiscovery.html#DnsDiscovery(com.google.bitcoin.core.NetworkParameters)"><B>DnsDiscovery(NetworkParameters)</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core">DnsDiscovery</A>
|
||||
<DD>Supports finding peers through DNS A records.
|
||||
<DT><A HREF="./com/google/bitcoin/core/DnsDiscovery.html#DnsDiscovery(java.lang.String[], com.google.bitcoin.core.NetworkParameters)"><B>DnsDiscovery(String[], NetworkParameters)</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core">DnsDiscovery</A>
|
||||
<DD>Supports finding peers through DNS A records.
|
||||
<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>.
|
||||
@@ -297,7 +306,10 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Memor
|
||||
<DD>
|
||||
<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 by summing up all unspent outputs that were sent to us.
|
||||
<DD>Returns the AVAILABLE balance of this wallet.
|
||||
<DT><A HREF="./com/google/bitcoin/core/Wallet.html#getBalance(com.google.bitcoin.core.Wallet.BalanceType)"><B>getBalance(Wallet.BalanceType)</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 as calculated by the provided balanceType.
|
||||
<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.
|
||||
@@ -322,6 +334,9 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Store
|
||||
<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> <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>
|
||||
<DT><A HREF="./com/google/bitcoin/core/DnsDiscovery.html#getDefaultHostNames()"><B>getDefaultHostNames()</B></A> -
|
||||
Static method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core">DnsDiscovery</A>
|
||||
<DD>Returns the well known discovery host names on the production network.
|
||||
<DT><A HREF="./com/google/bitcoin/core/Block.html#getDifficultyTarget()"><B>getDifficultyTarget()</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 difficulty of the proof of work that this block should meet encoded in compact form.
|
||||
@@ -366,6 +381,15 @@ 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/DnsDiscovery.html#getPeers()"><B>getPeers()</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/DnsDiscovery.html" title="class in com.google.bitcoin.core">DnsDiscovery</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/IrcDiscovery.html#getPeers()"><B>getPeers()</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</A>
|
||||
<DD>Returns a list of peers that were found in the IRC channel.
|
||||
<DT><A HREF="./com/google/bitcoin/core/PeerDiscovery.html#getPeers()"><B>getPeers()</B></A> -
|
||||
Method in interface com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</A>
|
||||
<DD>Returns an array of addresses.
|
||||
<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.
|
||||
@@ -477,6 +501,14 @@ Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core
|
||||
<DT><A HREF="./com/google/bitcoin/core/InventoryMessage.html#InventoryMessage(com.google.bitcoin.core.NetworkParameters)"><B>InventoryMessage(NetworkParameters)</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/InventoryMessage.html" title="class in com.google.bitcoin.core">InventoryMessage</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core"><B>IrcDiscovery</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>IrcDiscovery provides a way to find network peers by joining a pre-agreed rendevouz point on the LFnet IRC network.<DT><A HREF="./com/google/bitcoin/core/IrcDiscovery.html#IrcDiscovery(java.lang.String)"><B>IrcDiscovery(String)</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</A>
|
||||
<DD>Finds a list of peers by connecting to an IRC network, joining a channel, decoding the nicks and then
|
||||
disconnecting.
|
||||
<DT><A HREF="./com/google/bitcoin/core/IrcDiscovery.html#IrcDiscovery(java.lang.String, java.lang.String, int)"><B>IrcDiscovery(String, String, int)</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</A>
|
||||
<DD>Finds a list of peers by connecting to an IRC network, joining a channel, decoding the nicks and then
|
||||
disconnecting.
|
||||
<DT><A HREF="./com/google/bitcoin/core/Transaction.html#isCoinBase()"><B>isCoinBase()</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>A coinbase transaction is one that creates a new coin.
|
||||
@@ -558,7 +590,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, int)"><B>NetworkConnection(InetAddress, NetworkParameters, int)</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, int)"><B>NetworkConnection(InetAddress, NetworkParameters, int, 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> -
|
||||
@@ -578,6 +610,15 @@ Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Mes
|
||||
<DT><A HREF="./com/google/bitcoin/core/WalletEventListener.html#onCoinsReceived(com.google.bitcoin.core.Wallet, com.google.bitcoin.core.Transaction, java.math.BigInteger, java.math.BigInteger)"><B>onCoinsReceived(Wallet, Transaction, BigInteger, BigInteger)</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core">WalletEventListener</A>
|
||||
<DD>This is called on a Peer thread when a block is received that sends some coins to you.
|
||||
<DT><A HREF="./com/google/bitcoin/core/WalletEventListener.html#onDeadTransaction(com.google.bitcoin.core.Transaction, com.google.bitcoin.core.Transaction)"><B>onDeadTransaction(Transaction, Transaction)</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core">WalletEventListener</A>
|
||||
<DD>This is called on a Peer thread when a transaction becomes <i>dead</i>.
|
||||
<DT><A HREF="./com/google/bitcoin/core/IrcDiscovery.html#onIRCReceive(java.lang.String)"><B>onIRCReceive(String)</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/IrcDiscovery.html#onIRCSend(java.lang.String)"><B>onIRCSend(String)</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/IrcDiscovery.html" title="class in com.google.bitcoin.core">IrcDiscovery</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/WalletEventListener.html#onReorganize()"><B>onReorganize()</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core">WalletEventListener</A>
|
||||
<DD>This is called on a Peer thread when a block is received that triggers a block chain re-organization.
|
||||
@@ -644,6 +685,18 @@ Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core
|
||||
<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>
|
||||
<DT><A HREF="./com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core"><B>PeerDiscovery</B></A> - Interface in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A PeerDiscovery object is responsible for finding addresses of other nodes in the BitCoin P2P network.<DT><A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core"><B>PeerDiscoveryException</B></A> - Exception in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD> <DT><A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html#PeerDiscoveryException()"><B>PeerDiscoveryException()</B></A> -
|
||||
Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html#PeerDiscoveryException(java.lang.String)"><B>PeerDiscoveryException(String)</B></A> -
|
||||
Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html#PeerDiscoveryException(java.lang.Throwable)"><B>PeerDiscoveryException(Throwable)</B></A> -
|
||||
Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html#PeerDiscoveryException(java.lang.String, java.lang.Throwable)"><B>PeerDiscoveryException(String, Throwable)</B></A> -
|
||||
Constructor for exception com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/PeerDiscoveryException.html" title="class in com.google.bitcoin.core">PeerDiscoveryException</A>
|
||||
<DD>
|
||||
<DT><A HREF="./com/google/bitcoin/core/NetworkConnection.html#ping()"><B>ping()</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core">NetworkConnection</A>
|
||||
<DD>Sends a "ping" message to the remote node.
|
||||
@@ -688,6 +741,9 @@ Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Memor
|
||||
<DT><A HREF="./com/google/bitcoin/core/NetworkConnection.html#readMessage()"><B>readMessage()</B></A> -
|
||||
Method in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/NetworkConnection.html" title="class in com.google.bitcoin.core">NetworkConnection</A>
|
||||
<DD>Reads a network message from the wire, blocking until the message is fully received.
|
||||
<DT><A HREF="./com/google/bitcoin/core/Utils.html#readUint16BE(byte[], int)"><B>readUint16BE(byte[], 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>
|
||||
<DT><A HREF="./com/google/bitcoin/core/Utils.html#readUint32(byte[], int)"><B>readUint32(byte[], 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>
|
||||
@@ -895,6 +951,9 @@ Static method in enum com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core
|
||||
<DT><A HREF="./com/google/bitcoin/core/Transaction.SigHash.html#valueOf(java.lang.String)"><B>valueOf(String)</B></A> -
|
||||
Static method in enum com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core">Transaction.SigHash</A>
|
||||
<DD>Returns the enum constant of this type with the specified name.
|
||||
<DT><A HREF="./com/google/bitcoin/core/Wallet.BalanceType.html#valueOf(java.lang.String)"><B>valueOf(String)</B></A> -
|
||||
Static method in enum com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>
|
||||
<DD>Returns the enum constant of this type with the specified name.
|
||||
<DT><A HREF="./com/google/bitcoin/core/InventoryItem.Type.html#values()"><B>values()</B></A> -
|
||||
Static method in enum com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core">InventoryItem.Type</A>
|
||||
<DD>Returns an array containing the constants of this enum type, in
|
||||
@@ -903,6 +962,10 @@ the order they are declared.
|
||||
Static method in enum com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core">Transaction.SigHash</A>
|
||||
<DD>Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.
|
||||
<DT><A HREF="./com/google/bitcoin/core/Wallet.BalanceType.html#values()"><B>values()</B></A> -
|
||||
Static method in enum com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core">Wallet.BalanceType</A>
|
||||
<DD>Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.
|
||||
<DT><A HREF="./com/google/bitcoin/core/VarInt.html" title="class in com.google.bitcoin.core"><B>VarInt</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD> <DT><A HREF="./com/google/bitcoin/core/VarInt.html#VarInt(long)"><B>VarInt(long)</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/VarInt.html" title="class in com.google.bitcoin.core">VarInt</A>
|
||||
<DD>
|
||||
@@ -942,7 +1005,7 @@ Variable in class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Blo
|
||||
<DT><A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><B>Wallet</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>A Wallet stores keys and a record of transactions that have not yet been spent.<DT><A HREF="./com/google/bitcoin/core/Wallet.html#Wallet(com.google.bitcoin.core.NetworkParameters)"><B>Wallet(NetworkParameters)</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core">Wallet</A>
|
||||
<DD>Creates a new, empty wallet with no keys and no transactions.
|
||||
<DT><A HREF="./com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core"><B>WalletEventListener</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Implementing a subclass WalletEventListener allows you to learn when the contents of the wallet changes due to
|
||||
<DT><A HREF="./com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core"><B>Wallet.BalanceType</B></A> - Enum in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>It's possible to calculate a wallets balance from multiple points of view.<DT><A HREF="./com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core"><B>WalletEventListener</B></A> - Class in <A HREF="./com/google/bitcoin/core/package-summary.html">com.google.bitcoin.core</A><DD>Implementing a subclass WalletEventListener allows you to learn when the contents of the wallet changes due to
|
||||
receiving money or a block chain re-organize.<DT><A HREF="./com/google/bitcoin/core/WalletEventListener.html#WalletEventListener()"><B>WalletEventListener()</B></A> -
|
||||
Constructor for class com.google.bitcoin.core.<A HREF="./com/google/bitcoin/core/WalletEventListener.html" title="class in com.google.bitcoin.core">WalletEventListener</A>
|
||||
<DD>
|
||||
|
@@ -88,8 +88,10 @@ Class Hierarchy
|
||||
<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/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/DnsDiscovery.html" title="class in com.google.bitcoin.core"><B>DnsDiscovery</B></A> (implements com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</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/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/IrcDiscovery.html" title="class in com.google.bitcoin.core"><B>IrcDiscovery</B></A> (implements com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core">PeerDiscovery</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)
|
||||
@@ -103,7 +105,7 @@ Class Hierarchy
|
||||
<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>
|
||||
<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/PeerDiscoveryException.html" title="class in com.google.bitcoin.core"><B>PeerDiscoveryException</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>
|
||||
</UL>
|
||||
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Utils.html" title="class in com.google.bitcoin.core"><B>Utils</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/VarInt.html" title="class in com.google.bitcoin.core"><B>VarInt</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Wallet.html" title="class in com.google.bitcoin.core"><B>Wallet</B></A> (implements java.io.Serializable)
|
||||
<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>
|
||||
@@ -112,7 +114,7 @@ Class Hierarchy
|
||||
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>
|
||||
<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><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/PeerDiscovery.html" title="interface in com.google.bitcoin.core"><B>PeerDiscovery</B></A></UL>
|
||||
<H2>
|
||||
Enum Hierarchy
|
||||
</H2>
|
||||
@@ -120,7 +122,7 @@ Enum Hierarchy
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core"><B>Transaction.SigHash</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>InventoryItem.Type</B></A></UL>
|
||||
<LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Wallet.BalanceType.html" title="enum in com.google.bitcoin.core"><B>Wallet.BalanceType</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/Transaction.SigHash.html" title="enum in com.google.bitcoin.core"><B>Transaction.SigHash</B></A><LI TYPE="circle">com.google.bitcoin.core.<A HREF="com/google/bitcoin/core/InventoryItem.Type.html" title="enum in com.google.bitcoin.core"><B>InventoryItem.Type</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<HR>
|
||||
|
@@ -543,6 +543,20 @@ long <B>time</B></PRE>
|
||||
</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 java.lang.Exception implements Serializable</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<B>serialVersionUID: </B>-2863411151549391392L
|
||||
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<A NAME="com.google.bitcoin.core.ProtocolException"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
@@ -716,7 +730,7 @@ java.util.Set<E> <B>appearsIn</B></PRE>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<B>serialVersionUID: </B>-7687665228438202968L
|
||||
<B>serialVersionUID: </B>2L
|
||||
|
||||
<P>
|
||||
<A NAME="serializedForm"><!-- --></A>
|
||||
@@ -846,9 +860,18 @@ byte[] <B>scriptBytes</B></PRE>
|
||||
</DL>
|
||||
<HR>
|
||||
<H3>
|
||||
isSpent</H3>
|
||||
availableForSpending</H3>
|
||||
<PRE>
|
||||
boolean <B>isSpent</B></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>
|
||||
@@ -1052,7 +1075,8 @@ pending</H3>
|
||||
<PRE>
|
||||
java.util.Map<K,V> <B>pending</B></PRE>
|
||||
<DL>
|
||||
<DD>Map of txhash->Transactions that have not made it into the best chain yet. These transactions inputs count as
|
||||
<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>
|
||||
@@ -1113,6 +1137,20 @@ java.util.Map<K,V> <B>inactive</B></PRE>
|
||||
</DL>
|
||||
<HR>
|
||||
<H3>
|
||||
dead</H3>
|
||||
<PRE>
|
||||
java.util.Map<K,V> <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>
|
||||
java.util.ArrayList<E> <B>keychain</B></PRE>
|
||||
|
Reference in New Issue
Block a user