tapyrus-core icon indicating copy to clipboard operation
tapyrus-core copied to clipboard

Package support in tapyrus

Open Naviabheeman opened this issue 1 year ago • 0 comments

Packages are order list of transactions as defined in bitcoin Package sorting, child-with-unconfirmed-parents category is not differentiated in tapyrus. validating such a package can be achieved with the implementation in this PR. But it is not identified differently and processed differently.

Tapyrus needs only package limit: MAX_PACKAGE_COUNT=25 As tapyrus uses transaction size and not weight, some other package limits defined in bitcoin are not ported.

During validation, package transactions are stored in a temporary list in CCoinsViewMemPool. The coin list in this view is destroyed after package evaluation is completed.

Output of the RPC testmempoolaccept is now different. It is not backward compatible with any old scripts.

Naviabheeman avatar Jan 21 '24 17:01 Naviabheeman