7

See highlighted item in the screenshot below:

enter image description here

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);
    }
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.