transactions – Is the “AcceptMultipleTransactions” perform in src/validation.cpp deprecated? – CoinNewsTrend

transactions – Is the “AcceptMultipleTransactions” perform in src/validation.cpp deprecated?


I’m desirous about how transactions are transmitted, processed, evaluated and eventually being accepted. I used to be studying the supply code and seen that there are “AcceptSingleTransaction” and “AcceptMultipleTransactions” capabilities.

The latter known as solely in “AcceptPackage” and “ProcessNewPackage” capabilities however evidently that’s the place the chain of occasions finish. The “ProcessNewPackage” perform is used just for JSON RPC mempool acceptance testing and Regtest. I do not suppose this perform is used for Bitcoin mainnet.

Q1 => Do each single transactions in Bitcoin mainnet undergo “ProcessTransaction” -> “AcceptToMemoryPool” -> “AcceptSingleTransaction”?

Q2 => If the reply for Q1 is sure, then is not it sort of inefficient? Is “AcceptMultipleTransactions” deprecated?



Supply hyperlink