DRAFT Full "Cement" Support for TRB.

A draft vpatch for full "cement" support in TRB.

This vpatch These vpatches succeed the previous one.





Note that the syntax for makecement has changed, and now requires the starting as well as ending block height:


LC_ALL="C" ./bin/bitcoind makecement 0 723000 cement_723000.txt

The loading of cement must be explicitly enabled at warmup via the -cement flag.

Cement may be loaded (if enabled as given above) at warmup via the -loadcement=filename command or via ./bitcoind loadcement filename at run time.


LC_ALL="C" ./bin/bitcoind -cement -loadcement=cement_723000.txt cement_723000.txt

The status of cement may be viewed via getinfo, where additional "cementstart" and "cementend" fields now appear. Cement entries are discarded after matching a valid incoming block. All such blocks are verified in the same way as other blocks.

If cement support is disabled, or it is enabled but no cement has been loaded, node functionality is unaffected.

The unloadcement command may be issued at run time, and does exactly what is printed on the tin.

Multiple cement files may be loaded, for so long as their entries' block heights are found in correct (i.e. monotonically increasing) order.

Note that per this draft patch, a node which, at a given time, is "in cement" will not attempt to advertise its inventory to peers.

Edit (21 Feb 2022) : cgra's comments re: 1st revision.

This entry was written by Stanislav , posted on Thursday February 17 2022 , filed under Bitcoin, Cold Air, Friends, SoftwareArchaeology, SoftwareSucks, TRB, VTronics . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

MANDATORY: Please prove that you are human:

117 xor 13 = ?

What is the serial baud rate of the FG device ?

Answer the riddle correctly before clicking "Submit", or comment will NOT appear! Not in moderation queue, NOWHERE!