Citrea 백서

Citrea

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 6쪽 중 6쪽

,l. If the Operator posts neither, a Challenger can come in and post AssertTimeouti,j,l. If these transactions appear on-chain, the Challengers check whether all the computations of the SNARK verifier were done correctly. If not, a Challenger can always post a Disprovei,j using the corresponding BridgeDisproveScript. Further, if the Operator was not using all the chain proofs provided by the Watchtowers (cf. Section 9.3), a Challenger can always post Disprovei,j using the corresponding ClementineDisproveScript. Honest Operator. An honest Operator, on the other hand, will always have enough time to post BlockHashi,j and all Asserti,j,l, in case of Challengei,j (or to post NoChallengei,j otherwise). Similarly, an honest Operator can always post the correct Asserti,j,l corresponding to the correct SNARK verifier computation results. Thus, there is no Disprovei,j possible. See Section 9.4 for more details. 9.3 Incorrect Longest Chain Proof Malicious Operator. Suppose a malicious Operator tries to post a KickOffi,j with an incorrect blockhash commitment WinCom(bhi,j) as witness, and a challenge was started in response (as outlined in Section 9.2). In this case, Watchtowers can always post aWatchtowerChallengei,j,k within a time window of t3 blocks. Should the Operator then fail to postOperatorChallengeACKi,j,k a Challenger can post OperatorChallengeNACKi,j,k. Honest Operator. Given t4 blocks > t3 blocks +u, an honest Operator always has enough time, in particular a window of t4 blocks− t3 blocks, to post a OperatorChallengeACKi,j,k in response to a WatchtowerChallengei,j,k. 9.4 Private Mining Attack Let us consider the private mining attack in Bitcoin [29], aka. private double-spend attack, which has been proven to be the worst attack in [20]. In a private mining attack, the adversary mines a local, 28 private chain of blocks, racing to take over the public longest chain and replace it with the private one once a block in the public chain becomes k-deep. Let λh and λα be the rate at which the honest nodes and the adversary mine blocks, proportional to their respective hashing powers. If λα < λh, the probability that the adversary succeed in pulling off the attack decreases exponentially in k. We denote with T denote expected block time, which in Bitcoin is of 10 minutes per block, and with λ = 1T the block production rate. We model the mining process as a Poisson process with rate λ, since block discoveries happen independently and randomly over time [33]. Let h +α = 1 be the total hashrate in the network; we constrain the adversarial hashrate α such that 0 ≤ α <0.5. The adversarial mining rate is thus λa = αλ = αT . From [20], we know that for a private attack on Nakamoto’s Proof-of-Work protocol to not be successful, it must hold that λα < (1−α)λ1+(1−α)λδ: being δ the network delay between honest nodes [32] and λδ the number of blocks mined per network delay, we have that the honest mining rate in the worst case is λh≥ (1−α)λ1+(1−α)λδ. Note that if δ≪T , as it is the case in Bitcoin, then λh≈ (1−α)λ = 1−αT . In the following we consider the worst-case forking [32] taking place in an ideal decentralized network, where the computational power is well distributed among many equidistant nodes. We also consider a powerful adversary whose valid blocks and transactions, when broadcast, are immediately included on chain; Honest miners, instead, can include a transaction or a block after a maximum delay ofu, withu being the liveness parameter. In the following we will use time and blocks interchangeably to refer to time: the conversion from block to blocks can be approximated by the expected block rate of the chain. Malicious Operator Let r1 be the time at which a block including the KickOff transaction is mined. The timelock of the KickOff’s latest blockhash connector expires at r1 + t7 blocks. A malicious Operator is able to choose his latest commitment to a block hash via the BlockHash transaction at most at round r1 + t7 blocks +u. Since t7 blocks = t3 blocks +x (for some x > 0), the malicious Operator has a time window of ta = t3 blocks +x +u to launch a private mining attack. An honest Watchtower, on the other hand, has to choose the longest chain at r1 + t3 blocks−u, thus the time window in which the honest chain grows is th = t3 blocks−u. Note that the adversary has a slightly bigger window and, thus, a small advantage compared to a classical private mining attack scenario. We define the following random variables. – Xh∼ Pois(λh·th) is the random variable counting the number of honest blocks that are found in the time window th. – Xa∼ Pois(λa·ta) is the random variable counting the number of adversarial blocks that are found in the time window ta. The probability that the adversary wins this race is thus Pr[ Xa > Xh], which we can write as∑∞k=0(Pr [Xh =k]·∑∞l=k+1Pr [Xa =l]). Alternatively the difference of two independent, Poisson- distributed random variables follows a Skellam distribution. Examples. We can compute the failure probability for some realistic numbers. Supposeδ = 8 seconds, t3 blocks = 2 weeks, t7 blocks = t3 blocks + 1 day,u = 2 hours. We thus have ta = 15 days 2 hours, and th = 13 days 22 hours. The failure probability for a given α is as follows: – α = 0.45, Pr[Xa>X h]≈ 0.005 – α = 0.44, Pr[Xa>X h]≈ 0.0002 – α = 0.43, Pr[Xa>X h]≈ 5e-06 – α = 0.42, Pr[Xa>X h]≈ 5e-08 Similarly, we can achieve a lower failure probability (for a higher resilience α) by increasing t3 blocks. Choosing t3 blocks high enough, we can get an arbitrarily low failure probability for any α< 0.5. 29 Honest Operator A malicious Watchtower can choose a commitment to the chain at the latest at r1 + t3 blocks +u, while an honest Operator can choose the latest commitment to a block hash at r1 + t7 blocks−u. If t7 blocks> t3 blocks + 2u, this collapses to a standard Bitcoin private mining race (the adversary even has a disadvantage of t7 blocks− t3 blocks− 2u). Again, choosing t3 blocks high enough, we can get an arbitrarily low failure probability for any α< 0.5. 10 Conclusions In this whitepaper we have introduced Clementine, a secure, collateral-efficient, trust-minimized, and scalable Bitcoin bridge. Clementine is based on BitVM2 and it enables secure withdrawals from rollups or other side systems to Bitcoin. The Bitcoin light client of Clementine is the first to remain secure against an adversary that controls strictly less than 50% of the network hash rate and as long as at least one honest Watchtower exists within a permissioned set. The protocol presents several advancements with respect to state-of-the-art bridge protocols: it is collateral-efficient, allowing collateral to be reused over time, and scalable, as a single challenge can slash multiple misbehaviors by an Operator. We view Clementine as a crucial step towards having more practical and secure bridges on Bitcoin and we hope that our work encourages further research on the interoperability and scalability of Bitcoin. Acknowledgments We thank Robin Linus and Sergio Demian Lerner for their fruitful discussions and feedback. We are grateful to Ozan Kaymak, Ahmet O˘ guz Engin, and S ¸evket Onur Yılmaz for their reviews. We are also deeply grateful to the Bitcoin developers and the broader Bitcoin community for their years of dedicated, passionate, and tireless work. Their collective efforts have significantly advanced Bitcoin’s usability and scripting capabilities, laying the essential groundwork that made our contribution both possible and impactful. Finally, we extend our gratitude to everyone who has contributed — and will contribute — to BitVM and its extensions. Their work has been, and will continue to be, a source of inspiration for us as we strive to further enhance Citrea and contribute to the growth of the Bitcoin ecosystem. References 1. Citrea. https://citrea.xyz/. 2. Lamport Signature - Short Private Key. https://en.wikipedia.org/wiki/Lamport_signature?utm_source= chatgpt.com#Short_private_key. 3. An overview of recent non-standard Bitcoin transactions, 2024. https://b10c.me/observations/09-non-standard- transactions/. 4. BIP: 431, Topology Restrictions for Pinning, 2024. https://github.com/bitcoin/bips/blob/master/bip-0431. mediawiki#specification. 5. Bitcoin Stack Exchange: What is meant by ”non-standard”?, 2024. https://bitcoin.stackexchange.com/ questions/122858/what-is-meant-by-non-standard . 6. Ephemeral Anchors, 2024. https://bitcoinops.org/en/topics/ephemeral-anchors/]. 7. Ephemeral Dust, 2024. https://github.com/bitcoin/bitcoin/pull/30239. 8. iShares Bitcoin Trust ETF, 2024. https://www.blackrock.com/us/individual/products/333011/ishares- bitcoin-trust. 9. Mempool Limits, 2024. https://github.com/bitcoin/bitcoin/blob/master/doc/policy/mempool-limits.md# cpfp-carve-out. 10. Bitcoin optech: Covenants, 2025. https://bitcoinops.org/en/topics/covenants/. 11. Bitcoin stock-to-flow model, 2025. https://www.bitcoinmagazinepro.com/charts/stock-to-flow-model/ . 12. Trading view, 2025. https://www.tradingview.com/markets/cryptocurrencies/prices-all/. 13. L. Aumayr, Z. Avarikioti, R. Linus, M. Maffei, A. Pelosi, C. Stefo, and A. Zamyatin. BitVM: Quasi-Turing Complete Computation on Bitcoin. Cryptology ePrint Archive, Paper 2024/1995, 2024. 14. L. Aumayr, Z. Avarikioti, R. Linus, M. Maffei, A. Pelosi, and A. Zamyatin. BitVM2: Bridging Bitcoin to Second Layers, 2024. 15. Z. Avarikioti. The Battle of Blockchains: PoW vs PoS Unveiled , 2024. https://www.commonprefix.com/blog/ battle-of-blockchains. 30 16. M. Bartoletti, S. Lande, and R. Zunino. Bitcoin covenants unchained. In T. Margaria and B. Steffen, editors, Lever- aging Applications of Formal Methods, Verification and Validation: Applications, pages 25–42. Springer International Publishing, 2020. 17. E. Ben-Sasson, A. Chiesa, E. Tromer, and M. Virza. Scalable zero knowledge via cycles of elliptic curves. In J. A. Garay and R. Gennaro, editors, Advances in Cryptology – CRYPTO 2014 , pages 276–294, Berlin, Heidelberg, 2014. Springer Berlin Heidelberg. 18. Bitcoin Wiki. Script, 2025. https://en.bitcoin.it/wiki/Script. 19. J. Buchmann, E. Dahmen, S. Ereth, A. H¨ ulsing, and M. R¨ uckert. On the security of the winternitz one-time signature scheme. In Progress in Cryptology – AFRICACRYPT 2011, pages 363–378, Berlin, Heidelberg, 2011. Springer Berlin Heidelberg. 20. A. Dembo, S. Kannan, E. N. Tas, D. Tse, P. Viswanath, X. Wang, and O. Zeitouni. Everything is a race and nakamoto always wins. In Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security, page 859–878, New York, NY, USA, 2020. Association for Computing Machinery. 21. X. Dong, O. S. T. Litos, E. N. Tas, D. Tse, R. L. Woll, L. Yang, and M. Yu. Remote staking with economic safety, 2024. 22. J. Garay, A. Kiayias, and N. Leonardos. The bitcoin backbone protocol with chains of variable difficulty. In Advances in Cryptology – CRYPTO 2017 . Springer International Publishing, 2017. 23. C. Gentry and D. Wichs. Separating succinct non-interactive arguments from all falsifiable assumptions. In Pro- ceedings of the Forty-Third Annual ACM Symposium on Theory of Computing , STOC ’11, page 99–108, New York, NY, USA, 2011. Association for Computing Machinery. 24. M. Green. Hash-based Signatures: An illustrated Primer, 2018. https://blog.cryptographyengineering.com/ 2018/04/07/hash-based-signatures-an-illustrated-primer/?utm_source=chatgpt.com . 25. J. Groth. On the size of pairing-based non-interactive arguments. In M. Fischlin and J.-S. Coron, editors, Advances in Cryptology – EUROCRYPT 2016 , pages 305–326, Berlin, Heidelberg, 2016. Springer Berlin Heidelberg. 26. T. W. House. Establishment of the strategic bitcoin reserve and united states digital asset stock- pile, 2025. https://www.whitehouse.gov/presidential-actions/2025/03/establishment-of-the-strategic- bitcoin-reserve-and-united-states-digital-asset-stockpile/ . 27. Learn me a Bitcoin. Bitcoin script, 2025. https://learnmeabitcoin.com/technical/script/. 28. S. D. Lerner, R. Amela, S. Mishra, M. Jonas, and J. ´Alvarez Cid-Fuentes. BitVMX: A CPU for Universal Compu- tation on Bitcoin, 2024. https://arxiv.org/abs/2405.06842. 29. S. Nakamoto. Bitcoin: A Peer-to-Peer Electronic Cash System, 2009. http://bitcoin.org/bitcoin.pdf. 30. F. Plesu. Turing completeness in evm machines, 2023. Accessed: 2025-04. 31. G. Scaffino, L. Aumayr, M. Bastankhah, Z. Avarikioti, and M. Maffei. Alba: The dawn of scalable bridges for blockchains. In 32nd Network and Distributed System Security Symposium, NDSS 2025 . ISOC, 2025. 32. Y. Sompolinsky and A. Zohar. Secure high-rate transaction processing in bitcoin. In Financial Cryptography, 2015. 33. P. Viswanath. Safety of Bitcoin, 2024. https://courses.grainger.illinois.edu/ece598pv/sp2021/ lectureslides2021/ECE_598_PV_course_notes6.pdf. 34. A. Zamyatin, M. Al-Bassam, D. Zindros, E. Kokoris-Kogias, P. Moreno-Sanchez, A. Kiayias, and W. J. Knottenbelt. SoK: Communication across distributed ledgers. Cryptology ePrint Archive, Paper 2019/1128, 2019. 35. D. Zindros. Blockchain Foundations. 2023. https://ee374.stanford.edu/blockchain-foundations.pdf. 31
프로젝트로 돌아가기