You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Increase the maximum number of block trailer sent by send_tf to 10000. A blocktrailer is only 160 bytes so 10000 will be 1.6Mb. It is a better alternative that dowloading the full tfile (more than 40Mb)
The text was updated successfully, but these errors were encountered:
0rtis
changed the title
Mochimo 3.0 Suggestions - Increase OP_TF limit
Mochimo 3.0 Suggestion - Increase OP_TF limit
Mar 25, 2021
As long as there are no issues with the idea, I'm thinking we could utilize the tx->len parameter for indicating the number of trailers we would like to receive. This imposes a natural 16-bit limit of 65,535 trailers ( approx. 10MB ). If this is too many, we could even expand the OP_TF functionality slightly to accept tx->len as a signed integer, imposing a natural signed 16-bit limit of 32,767 trailers ( approx. 5MB ) and allow the ability to retrieve trailers preceding the value in tx->blocknum by using a negative value.
This will also retain the OP code's functionality when the block number obtains a height greater than the bounds of 32-bits.
Increase the maximum number of block trailer sent by send_tf to 10000. A blocktrailer is only 160 bytes so 10000 will be 1.6Mb. It is a better alternative that dowloading the full tfile (more than 40Mb)
The text was updated successfully, but these errors were encountered: