forked from Qortal/qortal
Added logging relating to unconfirmed transactions.
This commit is contained in:
parent
33cfd02c49
commit
528583fe38
@ -380,9 +380,13 @@ public class BlockMinter extends Thread {
|
|||||||
parentSignatureForLastLowWeightBlock = null;
|
parentSignatureForLastLowWeightBlock = null;
|
||||||
timeOfLastLowWeightBlock = null;
|
timeOfLastLowWeightBlock = null;
|
||||||
|
|
||||||
|
Long unconfirmedStartTime = NTP.getTime();
|
||||||
|
|
||||||
// Add unconfirmed transactions
|
// Add unconfirmed transactions
|
||||||
addUnconfirmedTransactions(repository, newBlock);
|
addUnconfirmedTransactions(repository, newBlock);
|
||||||
|
|
||||||
|
LOGGER.info(String.format("Adding %d unconfirmed transactions took %d ms", newBlock.getTransactions().size(), (NTP.getTime()-unconfirmedStartTime)));
|
||||||
|
|
||||||
// Sign to create block's signature
|
// Sign to create block's signature
|
||||||
newBlock.sign();
|
newBlock.sign();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user