Open synctext opened 2 years ago
You discovered that your thesis field has 30 years of history - 77 page overview Year | System of cybercurrency |
---|---|
1983 | Blind signatures by Chaum - 6-page basic idea |
1989 | digicash http://iwai-k.com/HowToCirculateECash.pdf |
1996 | e-Gold - real gold bars with ownership tokens |
2002 | HashCash http://www.hashcash.org/hashcash.pdf |
2005 | decentralized digital currency by Nick Szabo |
2007 | bandwidth as a currency by Tribler lab |
2008 | Bitcoin initial idea https://satoshi.nakamotoinstitute.org/emails/cryptography/1/ |
Path to completion of master thesis {eternal shrinking ToDo list}:
Detailed ToDo list for sections:
Block size (B) 600, 700, 800, 900, 1000, 1100, 1200 [bytes]
Window size (W) 16, 32, 48, 64, 80, 96, 112, 128 [blocks]
_more optimal_
parameter setting.Outside thesis scope: Strong negative comment reactions to current MinFIN framing of digital Euro (Dutch). https://www.ad.nl/politiek/kaag-belooft-dat-contant-geld-blijft-naast-digitale-euro-maar-er-is-nog-geeneens-een-voorstel~a9d22340/ NRC: https://www.nrc.nl/nieuws/2022/11/24/de-digitale-euro-kan-tot-hele-foute-beslissingen-leiden-2-a4149432 Telegraaf: https://www.telegraaf.nl/nieuws/2117270374/moeten-we-vrezen-voor-de-digitale-euro-straks-bepaalt-de-overheid-waar-jij-je-geld-aan-mag-uitgeven Baudet: https://www.imago-images.com/st/0194864027 TUDelft politician: https://twitter.com/mahiralkaya/status/1424675846065950721
@KoningR predicts it will only get more intense debate:
The Commission expects to publish a proposal for a regulation to establish
and govern essential aspects of the digital euro in the first quarter of 2023.
Which related works are related/important 'enough'? ○ Currently discussed in Related Work section: § First digital cash (Chaum) § First transferable and divisible cash § First 'fair' digital cash (i.e. judicial powers have the possibility of inspection) § Bitcoin § Eurotoken
○ Discussed in mentioned presentation (though I do not consider these particularly relevant for my thesis, mostly historically): § E-Gold, Liberty Reserve § B-Cash, HashCash § Zcash, Ethereum, Cardano, Iota
○ Ideas for additional related work: § Digital cash with the strongest notion of privacy. § An (algorithmic) stablecoin
""Nevertheless, there is demand for this reliability, especially in times of crisis". Essential concluding point is missing that: "CBDC in the form of a digital Euro fix the systemic risk that numerous commercial banks can go bankrupt in a large-scale financial crisis." By design, the digital Euro can't go bankrupt or will be the last to default."
"{repeating} Stronger intro argument example: The decline of cash is eroding the sovereignty of the Euro. The European Central Bank is responsible for cash. Banks create money by lending. Electronic money vastly outnumbers cash in circulation. Almost all economic transaction are becoming vulnerable for bankruptcy of financial actors. The decline of cash leads to systemic system instability."
"There have been numerous attempts at solving or mitigating the double spending problem. " suggestion: The double spending problem has never been solved within the offline setting, only within an online context". keep remainder of existing text."
"Related work: "An early prototype solution from 2005 to the double spending problem relied on trusted computing. This experimental work critically relied on a centralised high-quality secure processor, the IBM 4758 PCI Cryptographic Coprocessor. ref""
"Related work: numerous theoretical proposals have been made for transferable coins, fungible coins, anonymous coins, and coins with conditional privacy. Many of these historical proposals are not relevant directly for our digital Euro, as we assume some institutional trust."
""They cannot safeguard a reliability comparable to that of ECB-backed cash.", please make stronger. Just mention 1989 and 2008 events: Every few decades a severe financial crisis erupts which leads to bankruptcy, multiple bank collapses, and risk of a financial system crash."
""Meta, which initiated Diem" Mention Facebook (now named Meta)"
""CBDC to be usable in an offline environment", citation needed.
"{Add citation} As we both agree: Our offline-first architecture is resilient against failing central servers. The work presented here has a more robust architecture when compared to current commercially deployed systems. Consumers experience regular failings with Internet banking and payments. A consumer watchdog TV program concluded that: "bank systems are unreliable"REF."
"{clarity} "Double-spending is defined as the process of making two payments with the same currency or funds in order to deceive the recipient of those funds. ""
"Two approaches are possible, a balanced-based design and a coin-based design. move all details here: "Eurotoken is a balance-based system where individual units of currency are unnamed""
"Move to the correct subsection: "Up until then, electronic cash had been non-transferable. Nontransferable e-cash can be spent only once, after which it must be redeemed by a trusted authority.""
"Subsections are too small, each section has a nice italics topic , remove headings: "B. Transferable and divisible electronic cash""
"Bitcoin == 2009"
""We consider the main prior work for this thesis to be Eurotoken [16], another digital currency implemented on IPv8", more concrete like: 'We consider the main prior work for this thesis to be the first deployed Eurotoken prototype by Delft University of Technology [16], this digital currency is also implemented on IPv8. This first prototype is balance-based, instead of our second coin-based prototype."
"Wessel,Robbert, Wessel storyline. "Eurotoken is a balance-based system where individual units of currency are unnamed", avoid 1 context switch."
Upcoming sprint: please process all my comments. Then switch to writing new text or new measurements.
Solved the 'EVA mystery'. Loss of performance is due to buffer overflows.
Fixed a race condition that caused EVA to fail frequently; it is now stable enough to perform N repetitions subsequently without human intervention (restarts etc.).
sendScheduled()
both from its internal scheduler as well as when a transfer was finished. It would occur that sendScheduled()
executed from multiple threads simultaneously and thereby start multiple simultaneous transfers. The receiving client would then throw an error, as it can only handle a single transfer at a time. Usually, this error would go unnoticed because the internal scheduler would have a frequency that is low, such that the chances of the problem occurring are low. When doing a performance analysis however, this frequency needs to be increased massively to stabilize results.Thesis review remarks:
Performance_Analysis_of_an_Offline_Digital_Euro_Prototype_26_01_23.pdf
B. Data Transfer
reader needs to understand what you did. pip, kotlin, etc. Tripple this section.we expect per-packet encryption to also be a bottleneck
. Clear message that its about crypto of each UDP packet individually.We performed our measurements on a single machine to eliminate external noise.
between two processes on single machine.D. Tokens
, more descriptive titles versus token and EVA.Fig. 7. Throughput (left) and packet loss (right) for various configurations of EVA.
try making this into a readable figure. For instance, just with 5 lines for each of the block-sizes.Fig. 2. The authority’s double spending detection mechanism
boxplot styleTABLE I FACETS OF PROTOTYPE AND ANALYSIS
Table styleFig. 3. The benefits of parallelism diminish quickly
Organge blue style figureFig. 4. Throughput of cryptographic signing and verification collapses for small data sizes.
purple lines without certainty intervalsFig. 6. Throughput of various data transfer methods.
interval plot, now sidewaysFig. 8. Throughput of EVA for various UDP buffer sizes.
heatmap styleFig. 9. End-to-end throughput in an online setting
promising experiment. First plot an architecture and measurement points of this experiment? Coin minting, 1st client, etc. (1st hop?) (de-clutter?). Token destruction: complete life-cycle?Performance_Analysis_of_an_Offline_Digital_Euro_Prototype_20_02_23.pdf
Hi Robbert,
I think you're well on your way. I've written some of my thoughts down and highlighted some typos. I think your work could benefit from something like a system & threat model section, as it is not clear what kind of network topology is used or what (malicious) actors are capable of. Good luck!
Fig. 3. The benefits of parallelism diminish quickly
You have 1.2 CPU's ? prototype is deliberately minimalist
Explain {more} why? Fig. 1. Graphical representation of a token.
Please add minting stage. Add the word receiver, easier to understand? Public key of receiver is missing?Authority signs
and sends in Table 1. Explain each row with at least one sentence. D. End-to-end Token Throughput
, then "E. Flame graph analysis". Prior analysis of transactions per second indicates 'Kotlin-IPv8' dominates performance. We conducted a flame graph analysis which confirms this observation.Very brief minimal content of presentation:
Comments on slides:
We want to build an offline digital currency.
== engineering == not scientificPrerequisite: Kotlin-IPv8.
== engineering == not scientific; reformulate: "maximise public support and usage"Offline e-cash literature says:
explore suitable architectures (token vs. account)Design & Architecture (2/3)
that slides contains 2 'lonely bullets' and 3 other bullets. re-structureEVA Acknowledgement Protocol Throughput
small font suddenlyPerformance Analysis of Kotlin-IPv8
"key learnings" slide?how is CBDC related to tribler?
towards proven technology, ready for large-scale deployment
CBDC is orthogonal to tribler's goal of censorship-resistance. CBDC is a tool for totalitarian control and censorship, similar to china's social credit score system. CBDC is NOT a blockchain-based cryptocurrency like bitcoin/monero/zerocoin/..., but just a different version of fiat money.
they are trying to impose CBDC by force, but at least in africa (nigeria), people are waking up.
The goal of this master thesis research is to take the necessary steps to mature Central Bank Digital Currency (CBDC). The level of maturity of CBDC targeted within this thesis is "proven technology, ready for large-scale deployment".
Stress testing and integration with the upcoming digital European identity is expected to be a significant part of this thesis work. All software will be open source and all gained technical expertise will be shared publicly. The permissionless ledger technology used will be Trustchain, this is formalised an IETF Internet Standard draft since 2018. The solution is required to be ledger agnostic.
This CBDC technology is required to be fully decentralised. Inefficient and wasteful "mining" is explicitly not allowed. No critical dependency on existing banking infrastructure may exist. No central points of failure or performance bottleneck can be present in the system architecture. Due to the critical nature of financial infrastructure, an "offline mode" must be supported. Transfer of money using QR-codes or some other mechanism must be supported together with fraud measures.
Delft University of Technology has already conducted small trails with digital Euros, supporting offline transactions. The work by Wessel Blokzijl resulted in a fully functional prototype, featuring real Euros, real retail testing, and integration with the IBAN banking system using a "Tikkie"-based gateway. Read the full master thesis here. Delft University of Technology is also a government partner for digital identity at passport-level. We have an operational open source prototype for digital identity, integrated with the European Commission EBSI infrastructure. By using EU EBSI this thesis aims for seamless integration of identity and money. See: https://github.com/Tribler/tribler/issues/6023 This existing self-sovereign identity work of Delft will be re-used.
Stress testing is also a key part of demonstrating the maturity of this technology based on open source and open standards. The requirement is horizontal scalability, feasible due to the inherent parallelism of the used Trustchain ledger. The ambitious target for experimental demonstration is 1 million transactions per second. This will provide the irrefutable proof required that a digital Euro can underpin the entire digital economy of Europe. The check-pointing mechanism used by Wessel might need replacing or improvement. Finally, a small field trail (4 people) would demonstrate the end-to-end feasibility and maturity level of this system. In the ideal case CBDC would utilise an IBAN account owned by the central bank to conduct several 1 Euro transactions in the wild. Possible joint experiments of other governments will be explored with actual money, but very low amounts. For instance, exchange of 1 actual Euro into an equivalent Singapore Dollars, e-Kroner (Sweden) or collaboration with the German Bundesbank to conduct end-to-end system testing.