3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-14 11:15:51 +00:00

Clean up JavaDoc for deprecated PeerGroup.getConfidencePool

This commit is contained in:
Devrandom 2014-12-01 09:56:55 -08:00 committed by Mike Hearn
parent bc3a5cd845
commit 2dfeee55b6
2 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,8 @@ package org.bitcoinj.core;
/** /**
* The Context object holds various objects that are relevant to the global state of our * The Context object holds various objects that are relevant to the global state of our
* view of the Bitcoin network. * view of the Bitcoin network. You can get an instance of this class
* through {@link AbstractBlockChain#getContext()}.
*/ */
public class Context { public class Context {
protected TxConfidencePool confidencePool; protected TxConfidencePool confidencePool;

View File

@ -1321,10 +1321,7 @@ public class PeerGroup implements TransactionBroadcaster {
} }
/** /**
* Returns the {@link TxConfidencePool} used by this peer group to synchronize its peers. The pool tracks advertised * Use {@link org.bitcoinj.core.Context#getConfidencePool()} instead.
* and downloaded transactions so their confidence can be measured as a proportion of how many peers announced it.
* With an un-tampered with internet connection, the more peers announce a transaction the more confidence you can
* have that it's really valid.
*/ */
@Deprecated @Deprecated
public TxConfidencePool getConfidencePool() { public TxConfidencePool getConfidencePool() {