[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bitcoin-dev
Subject:    [bitcoin-dev] Transcript: Carl Dong on libbitcoinkernel
From:       Michael Folkson via bitcoin-dev <bitcoin-dev () lists ! linuxfoundation ! org>
Date:       2022-04-30 16:25:26
Message-ID: DdbNuLWzpRa14VuJ2C5Uzswt_1P2qyWeRlbLqjrkKEzyJxCMzjNZ2FcFXjPMJ15cRSKczYfkG2KC5tmTlqXLP8h4-WO5vLao0x_W35KHBwE= () protonmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Hi

Another transcript that may be of interest to this list. Carl Dong recently did an \
excellent short video explaining the libbitcoinkernel project in Bitcoin Core. The \
transcript is here:

https://btctranscripts.com/chaincode-labs/2022-04-12-carl-dong-libbitcoinkernel/

As he explains in the video libbitcoinkernel is the latest attempt to extract the \
consensus engine out of Bitcoin Core. There are many motivations for doing this. \
Obviously disagreements between the consensus engines of nodes across the network can \
lead to catastrophic forks. This boundary between what is part of consensus and what \
is not has occasionally been blurred in the past and for the most security critical \
part of Bitcoin Core (and Bitcoin generally) this is clearly unacceptable. This is \
not a criticism of anyone in the past, unravelling Satoshi's spaghetti code and the \
entanglement between the consensus engine and the rest of the codebase has been a \
decade long task, requires extreme care and is by no means completed.

As well as leading to some consensus bugs in older versions of Bitcoin Core, the \
leaky consensus abstraction has made it difficult for alternative implementations to \
be built in other languages and with different RPCs etc without risking falling out \
of consensus with Bitcoin Core.

This is clearly an ambitious long term project but the first PR in the series was \
recently merged [1] and Carl explains his thinking on the future direction of this \
project in the video and on the linked issue.

[1]: https://github.com/bitcoin/bitcoin/issues/24303

--
Michael Folkson
Email: michaelfolkson at [protonmail.com](http://protonmail.com/)
Keybase: michaelfolkson
PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3


[Attachment #5 (text/html)]

<div style="font-family: arial; font-size: 14px;">Hi</div><div style="font-family: \
arial; font-size: 14px;"><br></div><div style="font-family: arial; font-size: \
14px;">Another transcript that may be of interest to this list. Carl Dong recently \
did an excellent short video explaining the libbitcoinkernel project in Bitcoin Core. \
The transcript is here:</div><div style="font-family: arial; font-size: \
14px;"><br></div><div style="font-family: arial; font-size: 14px;"><span><a \
target="_blank" rel="noreferrer nofollow noopener" \
href="https://btctranscripts.com/chaincode-labs/2022-04-12-carl-dong-libbitcoinkernel/ \
">https://btctranscripts.com/chaincode-labs/2022-04-12-carl-dong-libbitcoinkernel/</a></span><br></div><div \
style="font-family: arial; font-size: 14px;"><br></div><div style="font-family: \
arial; font-size: 14px;">As he explains in the video libbitcoinkernel is the latest \
attempt to extract the consensus engine out of Bitcoin Core. There are many \
motivations for doing this. Obviously disagreements between the consensus engines of \
nodes across the network can lead to catastrophic forks. This boundary between what \
is part of consensus and what is not has occasionally been blurred in the past and \
for the most security critical part of Bitcoin Core (and Bitcoin generally) this is \
clearly unacceptable. This is not a criticism of anyone in the past, unravelling \
Satoshi's spaghetti code and the entanglement between the consensus engine and the \
rest of the codebase has been a decade long task, requires extreme care and is by no \
means completed.&nbsp;</div><div style="font-family: arial; font-size: \
14px;"><br></div><div style="font-family: arial; font-size: 14px;">As well as leading \
to some consensus bugs in older versions of Bitcoin Core, the leaky consensus \
abstraction has made it difficult for alternative implementations to be built in \
other languages and with different RPCs etc without risking falling out of consensus \
with Bitcoin Core.&nbsp;</div><div style="font-family: arial; font-size: \
14px;"><br></div><div style="font-family: arial; font-size: 14px;">This is clearly an \
ambitious long term project but the first PR in the series was recently merged [1] \
and Carl explains his thinking on the future direction of this project in the video \
and on the linked issue.</div><div style="font-family: arial; font-size: \
14px;"><br></div><div style="font-family: arial; font-size: 14px;">[1]:&nbsp;<span><a \
target="_blank" rel="noreferrer nofollow noopener" \
href="https://github.com/bitcoin/bitcoin/issues/24303">https://github.com/bitcoin/bitcoin/issues/24303</a></span></div><div \
style="font-family: arial; font-size: 14px;"><br></div> <div \
class="protonmail_signature_block" style="font-family: arial; font-size: 14px;">  \
<div class="protonmail_signature_block-user">  <div \
style="font-family:arial;font-size:14px;"><span \
style="color:rgb(38,42,51);font-style:normal;font-weight:400;letter-spacing:normal;tex \
t-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);float:none;display:inline;"><span \
style="font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace, \
monospace;" class="font"><span style="font-size:14px;" class="size">--<br>Michael \
Folkson<br>Email: michaelfolkson at </span></span></span><a \
href="http://protonmail.com/" \
style="line-height:normal;text-decoration:underline;font-family:'SFMono-Regular', \
Consolas, 'Liberation Mono', Menlo, monospace, \
monospace;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;" \
rel="noopener noreferrer" target="_blank">protonmail.com</a><span \
style="color:rgb(38,42,51);font-style:normal;font-weight:400;letter-spacing:normal;tex \
t-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);float:none;display:inline;"><span \
style="font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace, \
monospace;" class="font"><span style="font-size:14px;" class="size"> \
</span></span></span><br></div><div style="font-family:arial;font-size:14px;"><span \
style="color:rgb(38,42,51);font-style:normal;font-weight:400;letter-spacing:normal;tex \
t-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);float:none;display:inline;"><span \
style="font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace, \
monospace;" class="font"><span style="font-size:14px;" class="size">Keybase: \
michaelfolkson<br>PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C \
FEE3</span></span></span><br></div>  </div>

            <div class="protonmail_signature_block-proton \
protonmail_signature_block-empty">

            </div>
</div>



_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic