See highlighted item in the screenshot below:
Asked
Active
Viewed 160 times
1 Answers
3
When looking at the code, you can see that sometimes a neighbor may ask for a random tip and in this case your own node may reply to this request (under the condition that your own node have at least one pending transaction request).
The "random transactions" amount is the number of "random tips" that your node send to this particular neighbor.
Here is the relevant part of the code :
//retrieve requested transaction
if (requestedHash.equals(Hash.NULL_HASH)) {
//Random Tip Request
try {
if (transactionRequester.numberOfTransactionsToRequest() > 0 && rnd.nextDouble() < P_REPLY_RANDOM_TIP) {
neighbor.incRandomTransactionRequests();
transactionPointer = getRandomTipPointer();
transactionViewModel = TransactionViewModel.fromHash(tangle, transactionPointer);
} else {
//no tx to request, so no random tip will be sent as a reply.
return;
}
} catch (Exception e) {
log.error("Error getting random tip.", e);
}
}

ben75
- 5,344
- 11
- 32