<oembed><type>rich</type><version>1.0</version><author_name>npub10uzud4rf4636awmfgvarmcfndcmdnv8rfd2y3rx2sqgckv9zur4qahln8t</author_name><author_url>https://nostr.ae/npub10uzud4rf4636awmfgvarmcfndcmdnv8rfd2y3rx2sqgckv9zur4qahln8t</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2016-12-04&#xA;📝 Original message:&gt; Also how about making timestamp 8 bytes?  2106 is coming up soon :)&#xA;&#xA;AFAICT this was fixed in this commit:&#xA;https://github.com/jl2012/bitcoin/commit/fa80b48bb4237b110ceffe11edc14c8130672cd2#diff-499d7ee7998a27095063ed7b4dd7c119R200&#xA;&#xA;&#xA;2016-12-04 21:00 GMT+01:00 adiabat via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt;:&#xA;&#xA;&gt; Interesting stuff! I have some comments, mostly about the header.&#xA;&gt;&#xA;&gt; The header of forcenet is mostly described in Luke’s BIP, but I have made&#xA;&gt;&gt; some amendments as I implemented it. The format is (size in parentheses;&#xA;&gt;&gt; little endian):&#xA;&gt;&gt;&#xA;&gt;&gt; Height (4), BIP9 signalling field (4), hardfork signalling field (3),&#xA;&gt;&gt; merge-mining hard fork signalling field (1), prev hash (32), timestamp (4),&#xA;&gt;&gt; nonce1 (4), nonce2 (4), nonce3 (compactSize + variable), Hash TMR (32),&#xA;&gt;&gt; Hash WMR (32), total tx size (8) , total tx weight (8), total sigops (8),&#xA;&gt;&gt; number of tx (4), merkle branches leading to header C (compactSize + 32 bit&#xA;&gt;&gt; hashes)&#xA;&gt;&gt;&#xA;&gt;&#xA;&gt; First, I&#39;d really rather not have variable length fields in the header.&#xA;&gt; It&#39;s so much nicer to just have a fixed size.&#xA;&gt;&#xA;&gt; Is having both TMR and WMR really needed?  As segwit would be required&#xA;&gt; with this header type, and the WMR covers a superset of the data that the&#xA;&gt; TMR does, couldn&#39;t you get rid of the TMR?  The only disadvantage I can see&#xA;&gt; is that light clients may want a merkle proof of a transaction without&#xA;&gt; having to download the witnesses for that transaction.  This seems pretty&#xA;&gt; minor, especially as once they&#39;re convinced of block inclusion they can&#xA;&gt; discard the witness data, and also the tradeoff is that light clients will&#xA;&gt; have to download and store and extra 32 bytes per block, likely offsetting&#xA;&gt; any savings from omitting witness data.&#xA;&gt;&#xA;&gt; The other question is that there&#39;s a bit that&#39;s redundant: height is also&#xA;&gt; committed to in the coinbase tx via bip 34 (speaking of which, if there&#39;s a&#xA;&gt; hard-fork, how about reverting bip 34 and committing to the height with&#xA;&gt; coinbase tx nlocktime instead?)&#xA;&gt;&#xA;&gt; Total size / weight / number of txs also feels pretty redundant.  Not a&#xA;&gt; lot of space but it&#39;s hard to come up with a use for them.  Number of tx&#xA;&gt; could be useful if you want to send all the leaves of a merkle tree, but&#xA;&gt; you could also do that by committing to the depth of the merkle tree in the&#xA;&gt; header, which is 1 byte.&#xA;&gt;&#xA;&gt; Also how about making timestamp 8 bytes?  2106 is coming up soon :)&#xA;&gt;&#xA;&gt; Maybe this is too nit-picky; maybe it&#39;s better to put lots of stuff in for&#xA;&gt; testing the forcenet and then take out all the stuff that wasn&#39;t used or&#xA;&gt; had issues as it progresses.&#xA;&gt;&#xA;&gt; Thanks and looking forward to trying out forcenet!&#xA;&gt;&#xA;&gt; -Tadge&#xA;&gt;&#xA;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20161204/77223c7c/attachment.html&gt;</html></oembed>