mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-11 17:55:53 +00:00
Clean up JavaDoc for deprecated PeerGroup.getConfidencePool
This commit is contained in:
parent
bc3a5cd845
commit
2dfeee55b6
@ -2,7 +2,8 @@ package org.bitcoinj.core;
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
protected TxConfidencePool confidencePool;
|
||||
|
@ -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
|
||||
* 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.
|
||||
* Use {@link org.bitcoinj.core.Context#getConfidencePool()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public TxConfidencePool getConfidencePool() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user