mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-13 10:45:51 +00:00
Rename boolean Peer getters to use 'is' prefix.
This commit is contained in:
parent
7bb7ab60e1
commit
4217a5c231
@ -1607,7 +1607,7 @@ public class Peer extends PeerSocketHandler {
|
|||||||
* Returns true if this peer will try and download things it is sent in "inv" messages. Normally you only need
|
* Returns true if this peer will try and download things it is sent in "inv" messages. Normally you only need
|
||||||
* one peer to be downloading data. Defaults to true.
|
* one peer to be downloading data. Defaults to true.
|
||||||
*/
|
*/
|
||||||
public boolean getDownloadData() {
|
public boolean isDownloadData() {
|
||||||
return vDownloadData;
|
return vDownloadData;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1791,7 +1791,7 @@ public class Peer extends PeerSocketHandler {
|
|||||||
* before handing the transaction off to the wallet. The wallet can do risk analysis on pending/recent transactions
|
* before handing the transaction off to the wallet. The wallet can do risk analysis on pending/recent transactions
|
||||||
* to try and discover if a pending tx might be at risk of double spending.
|
* to try and discover if a pending tx might be at risk of double spending.
|
||||||
*/
|
*/
|
||||||
public boolean getDownloadTxDependencies() {
|
public boolean isDownloadTxDependencies() {
|
||||||
return vDownloadTxDependencies;
|
return vDownloadTxDependencies;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user