mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 19:25:51 +00:00
Wallet: Reformat transaction statistics in toString().
This commit is contained in:
parent
bf03a26021
commit
8d4f79a783
@ -3184,10 +3184,11 @@ public class Wallet extends BaseTaggableObject
|
||||
Coin availableBalance = getBalance(BalanceType.AVAILABLE_SPENDABLE);
|
||||
builder.append("Wallet containing ").append(estimatedBalance.toFriendlyString()).append(" (spendable: ")
|
||||
.append(availableBalance.toFriendlyString()).append(") in:\n");
|
||||
builder.append(" ").append(pending.size()).append(" pending transactions\n");
|
||||
builder.append(" ").append(unspent.size()).append(" unspent transactions\n");
|
||||
builder.append(" ").append(spent.size()).append(" spent transactions\n");
|
||||
builder.append(" ").append(dead.size()).append(" dead transactions\n");
|
||||
builder.append("Transactions:\n");
|
||||
builder.append(" ").append(pending.size()).append(" pending\n");
|
||||
builder.append(" ").append(unspent.size()).append(" unspent\n");
|
||||
builder.append(" ").append(spent.size()).append(" spent\n");
|
||||
builder.append(" ").append(dead.size()).append(" dead\n");
|
||||
final Date lastBlockSeenTime = getLastBlockSeenTime();
|
||||
builder.append("Last seen best block: ").append(getLastBlockSeenHeight()).append(" (")
|
||||
.append(lastBlockSeenTime == null ? "time unknown" : Utils.dateTimeFormat(lastBlockSeenTime))
|
||||
|
Loading…
x
Reference in New Issue
Block a user