mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Wallet: add a bit more logging to make output during chain splits less confusing.
This commit is contained in:
parent
059b896062
commit
f0b258b40d
@ -797,6 +797,7 @@ public class Wallet implements Serializable, BlockChainListener, PeerFilterProvi
|
|||||||
if (wasPending) {
|
if (wasPending) {
|
||||||
// Just put it back in without touching the connections or confidence.
|
// Just put it back in without touching the connections or confidence.
|
||||||
addWalletTransaction(Pool.PENDING, tx);
|
addWalletTransaction(Pool.PENDING, tx);
|
||||||
|
log.info(" ->pending");
|
||||||
} else {
|
} else {
|
||||||
// Ignore the case where a tx appears on a side chain at the same time as the best chain (this is
|
// Ignore the case where a tx appears on a side chain at the same time as the best chain (this is
|
||||||
// quite normal and expected).
|
// quite normal and expected).
|
||||||
@ -1586,7 +1587,7 @@ public class Wallet implements Serializable, BlockChainListener, PeerFilterProvi
|
|||||||
* {@link Wallet#getChangeAddress()}, so you must have added at least one key.</p>
|
* {@link Wallet#getChangeAddress()}, so you must have added at least one key.</p>
|
||||||
*
|
*
|
||||||
* <p>If you just want to send money quickly, you probably want
|
* <p>If you just want to send money quickly, you probably want
|
||||||
* {@link Wallet#sendCoins(PeerGroup, Address, java.math.BigInteger)} instead. That will create the sending
|
* {@link Wallet#sendCoins(TransactionBroadcaster, Address, java.math.BigInteger)} instead. That will create the sending
|
||||||
* transaction, commit to the wallet and broadcast it to the network all in one go. This method is lower level
|
* transaction, commit to the wallet and broadcast it to the network all in one go. This method is lower level
|
||||||
* and lets you see the proposed transaction before anything is done with it.</p>
|
* and lets you see the proposed transaction before anything is done with it.</p>
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user