From 7b824b7b8194165987d314c349aecea8bbb303b6 Mon Sep 17 00:00:00 2001 From: r-ush Date: Mon, 27 Sep 2021 13:03:44 +0530 Subject: [PATCH 1/4] readme: rewrite --- docs/CONTRIBUTING.md | 0 docs/assets/utreexo.png | Bin 0 -> 14610 bytes readme.md | 176 ++++++++++------------------------------ 3 files changed, 42 insertions(+), 134 deletions(-) create mode 100644 docs/CONTRIBUTING.md create mode 100644 docs/assets/utreexo.png diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/utreexo.png b/docs/assets/utreexo.png new file mode 100644 index 0000000000000000000000000000000000000000..20d9e427c8301cd08bb6d951fcc29c30f74f6360 GIT binary patch literal 14610 zcmcJ0c|4T;zxO4I%9831We6=QTa@hTCR0(;W;Y^Bw|zGlw4ob=8zWhUR4V&A#xlcA zS*8qG27@V#!C114$!wl$?%#QS=RD7O&hMP_d!6SGuVH2`bImp1&-?q{=K0MVP_aFS z_W%GOcJ+$sEdUUl0|0?kkzL?DhS#s%2XA)!U$G4WfV~I!KLWtZTxsx5fuLK^UxD&o z*?I5}A&*PfF9ASR%3jX>odBRyeAV>Qop6Dr39nK&4@cu4w9mO%n4aLyo<0CNGY6abKcnL@aOv^i*}#Q?6@UV zTWIHbzo##BY~F$RITw!~+V6sA z^WRlvdHq4~#(82l_`U#*9Xs^Eo21xSaqm68Zv}u>vy%maIe-2t0K_I=zbFga;AE!2RKdKqDIbZ0;zEs;jDIW;M?or}pZvEdClGv?(&L>NYLe#zF!O!$Rc&O3_Xqd_~j=`y@s95BCR5dp{)O(Kxw$a0V-!m6SYbF9mQKiLhd8=2f z%Ig-dg1_}yQ!v4Z{0m7Gz~CM8&Hj!7WKQ@8@+}86e&jN?bZD3Q7K-Qx8qEmf}E8# zq}N{1SFOpl6Pdk93)WeVOsWo=`JAog#@<}|;Mzgf?P2vE>q2bem@O4i-}l0#4Zd)PDxyP}T@0pJ4{WQ)x<{X~)$2qm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D<6hG*06C;;$8M5!;`G7P!HYYjD&OFBnjR&WagjeA&2XUp_gBnjZB)!>)zst7(tfS?(lGQ;K=Ar0TJT7#MYCznD%L#rhZ@OA)CqVoCNl92N>n5+I9 zo&{#r{r(IM!2dYNzof;iB?JL$&42cl|GD%1|9q6Q1!}K@UGLf0e(;?;TO8W+_dnt^ z_v{2(Wx>LSiOjPdfHM-j`2WY%mHvDgv`9Xu#ENUYNCYq2i~sUBOZZ>y`+JAr(e~a> Y(GacC1UCN*g22_wH%!Zab$ ~/.bitcoin/bitcoin.conf -$ bitcoind --daemon -[wait for testnet to sync] -$ du -h ~/.bitcoin/testnet3/blocks/ - 214M ~/.bitcoin/testnet3/blocks/index - 24G ~/.bitcoin/testnet3/blocks/ -[OK looks like it's there] -$ bitcoin-cli stop -``` -**Note:** bitcoind has to be stopped before running the server. - -The server should take a few hours. It does two things. First, it goes through the blockchain, maintains the full merkle forest, and saves proofs for each block to disk. Second, it saves each TXO and height with LevelDB to make a TXO time-to-live (basically how long each TXO lasts until it is spent) for caching purposes. This is what the bridge node and archive node would do in a real node. - -``` -$ cd ~/.bitcoin/testnet3/blocks -$ ./utreexoserver #path probably differs on your system -[... takes time and builds block proofs] -[the server is able to resume from where it left off. Use ctrl+c to stop it.] -[To resume, just do `./cmd genproofs -net=testnet` again] -``` - -After the server has generated the proofs, it will start a local server to serve the blocks to clients. - -**Note**: your folders or filenames might be different, but this should give you the idea and work on default Linux/golang setups. If you've tried this and it doesn't work and you'd like to help out, you can either fix the code or documentation so that it works and make a pull request, or open an issue describing what doesn't work. - -### Windows walkthrough -
    -
  1. -To run Utreexo, download the Bitcoin core here (includes both testnet and main chain): https://bitcoin.org/en/download Open the respective application; the testnet application should appear as a green bitcoin and the main bitcoin core application should appear as an orange bitcoin. -From here, synchronize with the blockchain; this takes around 2-5 hours on the testnet and up to a day using Bitcoin core. -
  2. -
  3. -Install Go in your pc and get it working on your compiler/IDE. The guide below will refer to installing Go on VSCode. -
  4. -
  5. - -Get the Utreexo Code from ```github.com/mit-dci/utreexo``` -
  6. -
  7. - -Build and generate proofs (server) by running the following command where $USER is your username -``` -go build bridgeserver.go -bridgeserver -datadir=C:\Users\$USER\AppData\Roaming\Bitcoin\testnet3\blocks\ -``` - **If this fails, the command run was interupted or failed. To relaunch, delete the folders in the Utreexo\utreexoserver\utree folder: forestdata, offsetdata, pollarddata, proofdata, testnet-ttlbd** - -
  8. -
  9. - - For a debugging session, in launch.json in VSCode, create a configuration as follows. The - ```"-datadir"``` argument should point to the folder where Bitcoin was downloaded in step 1. - -``` -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Launch", - "type": "go", - "request": "launch", - "mode": "auto", - "program": "${fileDirname}", - "env": {}, - "args": ["-datadir=C:\\Users\\$USER\\AppData\\Roaming\\Bitcoin\\testnet3\\blocks\\"] - } - ] -} -``` -
  10. - -
  11. - -Finally run Utreexo client from **command line** using the following. Make sure that the server has finished running before running this command. - -``` -go build csnclient.go -C:\utreexo\csnclient -datadir=C:\Users\admin\AppData\Roaming\Bitcoin\testnet3\blocks\ -``` -
  12. -
+Utreexo pushes the costs of maintaining the network to the right place: an exchange creating millions of transactions may need to maintain millions of proofs, while a personal account with only a few unspent outputs will only need to maintain a few kilobytes of proof data. Utreexo also provides a long-term scalability solution as the accumulator size grows very slowly with the increasing size of the underlying set (the accumulator size is logarithmic with the set size) + +## Development Process + +At the moment, this repository holds the code for the accumulator and proof-of-concept implementations for the compact state node and the bridge node. The accumulator package is currently used in [mit-dci/utcd](https://github.com/mit-dci/utcd) in an alternative full node bitcoin implementation written in Go. + +The c++ implementation of UTreeXO is at [mit-dci/libutreexo](https://github.com/mit-dci/libutreexo) and the package is currently being used in [dergoegge/bitcoin](https://github.com/dergoegge/bitcoin) in an full node bitcoin-core implementation. + +## Documentation + +It is located in the [docs](https://github.com/mit-dci/utreexo/docs) folder. + +## IRC + +Currently under active development. If you're interested and have questions, checkout #utreexo on irc.libera.chat. + +Logs for libera are [here](https://gnusha.org/utreexo/) + +## Contributions + +- Feel Free to Open a PR/Issue/Discussion for any features/bug(s)/question(s). +- Make sure you follow the contributing guidelines [here]()! + +## Resources + +### Blogs + +- https://dci.mit.edu/utreexo +- [Utreexo demonstration release](https://medium.com/mit-media-lab-digital-currency-initiative/utreexo-demonstration-release-a0d87506fd70) +- [Utreexo demo release 0.2](https://medium.com/mit-media-lab-digital-currency-initiative/utreexo-demo-release-0-2-ac40a1223a38) +- [Utreexo — A scaling solution](https://medium.com/@kcalvinalvinn/eli5-utreexo-a-scaling-solution-9531aee3d7ba) + +### Videos/Podcasts + +- [MIT Bitcoin Expo 2019 - Utreexo: Reducing Bitcoin Nodes to 1 Kilobyte](https://www.youtube.com/watch?v=edRun-6ubCc) +- [Tadge Dryja on Scaling Bitcoin With Utreexo](https://www.youtube.com/watch?v=2Kg1Cij3w20) +- [#1 Tadge Dryja, Digital Currency Initiative: uTreeXO and Bootstrapping Bitcoin Upgrades](https://www.youtube.com/watch?v=-MlKZ_bFLNk) From 2a5e46ca975883b58d222ee9d04982504ddf9130 Mon Sep 17 00:00:00 2001 From: r-ush Date: Tue, 5 Oct 2021 10:44:06 +0530 Subject: [PATCH 2/4] fix: requested changes - change UTreeXO to utreexo - remove proofs under 1kb --- readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index 23663a73..3fc8dfe8 100644 --- a/readme.md +++ b/readme.md @@ -1,20 +1,20 @@ -# UTreeXO +# utreexo ![utreexo cover image](/docs/assets/utreexo.png) -Utreexo is a novel hash-based dynamic accumulator, which allows the millions of unspent outputs to be represented under a kilobyte -- small enough to be written on a sheet of paper. There is no trusted setup or loss of security; instead, the burden of keeping track of funds is shifted to the owner of those funds. +utreexo is a novel hash-based dynamic accumulator, which allows the millions of unspent outputs to be represented under a kilobyte -- small enough to be written on a sheet of paper. There is no trusted setup or loss of security; instead, the burden of keeping track of funds is shifted to the owner of those funds. Check out the ePrint paper here: https://eprint.iacr.org/2019/611 -Currently, transactions specify inputs and outputs, and verifying an input requires you to know the whole state of the system. With Utreexo, the holder of funds maintains a proof that the funds exist and provides that proof at spending time to the other nodes. These proofs are compact (under 1KB) but represent the utreexo model’s main downside; they present an additional data transmission overhead that allows a much smaller state. +Currently, transactions specify inputs and outputs, and verifying an input requires you to know the whole state of the system. With utreexo, the holder of funds maintains a proof that the funds exist and provides that proof at spending time to the other nodes. These proofs represent the utreexo model’s main downside; they present an additional data transmission overhead that allows a much smaller state. -Utreexo pushes the costs of maintaining the network to the right place: an exchange creating millions of transactions may need to maintain millions of proofs, while a personal account with only a few unspent outputs will only need to maintain a few kilobytes of proof data. Utreexo also provides a long-term scalability solution as the accumulator size grows very slowly with the increasing size of the underlying set (the accumulator size is logarithmic with the set size) +utreexo pushes the costs of maintaining the network to the right place: an exchange creating millions of transactions may need to maintain millions of proofs, while a personal account with only a few unspent outputs will only need to maintain a few kilobytes of proof data. utreexo also provides a long-term scalability solution as the accumulator size grows very slowly with the increasing size of the underlying set (the accumulator size is logarithmic with the set size) ## Development Process At the moment, this repository holds the code for the accumulator and proof-of-concept implementations for the compact state node and the bridge node. The accumulator package is currently used in [mit-dci/utcd](https://github.com/mit-dci/utcd) in an alternative full node bitcoin implementation written in Go. -The c++ implementation of UTreeXO is at [mit-dci/libutreexo](https://github.com/mit-dci/libutreexo) and the package is currently being used in [dergoegge/bitcoin](https://github.com/dergoegge/bitcoin) in an full node bitcoin-core implementation. +The c++ implementation of utreexo is at [mit-dci/libutreexo](https://github.com/mit-dci/libutreexo) and the package is currently being used in [dergoegge/bitcoin](https://github.com/dergoegge/bitcoin) in an full node bitcoin-core implementation. ## Documentation From 7f6c6572110687219e3d3c0f4fce339f7af01589 Mon Sep 17 00:00:00 2001 From: r-ush Date: Tue, 5 Oct 2021 12:06:36 +0530 Subject: [PATCH 3/4] add: docs readme --- docs/readme.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/readme.md diff --git a/docs/readme.md b/docs/readme.md new file mode 100644 index 00000000..bfae97d5 --- /dev/null +++ b/docs/readme.md @@ -0,0 +1,16 @@ +# utreexo + +utreexo is a novel hash-based dynamic accumulator, which allows the millions of unspent outputs to be represented under a kilobyte -- small enough to be written on a sheet of paper. There is no trusted setup or loss of security; instead, the burden of keeping track of funds is shifted to the owner of those funds. + +Check out the ePrint paper here: https://eprint.iacr.org/2019/611 + +Currently, transactions specify inputs and outputs, and verifying an input requires you to know the whole state of the system. With utreexo, the holder of funds maintains a proof that the funds exist and provides that proof at spending time to the other nodes. These proofs represent the utreexo model’s main downside; they present an additional data transmission overhead that allows a much smaller state. + +utreexo pushes the costs of maintaining the network to the right place: an exchange creating millions of transactions may need to maintain millions of proofs, while a personal account with only a few unspent outputs will only need to maintain a few kilobytes of proof data. utreexo also provides a long-term scalability solution as the accumulator size grows very slowly with the increasing size of the underlying set (the accumulator size is logarithmic with the set size) + +# Documentation + +- [Installation](https://github.com/mit-dci/utreexo/blob/master/docs/installation.md) +- [Style Guidelines](https://github.com/mit-dci/utreexo/blob/master/docs/style.md) +- [Contributing Guidelines](https://github.com/mit-dci/utreexo/blob/master/docs/contributing.md) +- [Contact](https://github.com/mit-dci/utreexo/blob/master/docs/contact.md) From c57e75ec11fc9ad68bbd673353dee6dbab61648a Mon Sep 17 00:00:00 2001 From: r-ush Date: Tue, 5 Oct 2021 12:07:22 +0530 Subject: [PATCH 4/4] add: contact.md --- docs/contact.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/contact.md diff --git a/docs/contact.md b/docs/contact.md new file mode 100644 index 00000000..6851a062 --- /dev/null +++ b/docs/contact.md @@ -0,0 +1,15 @@ +# Contact + +## IRC + +- [irc.libera.chat](irc://irc.libera.chat), channel `#utreexo` + +## Discussions + +- [GitHub Discussions](https://github.com/mit-dci/utreexo/discussions) can be used to ask and answer questions and share updates. +- Weekly meetings on https://meet.jit.si/ + +## Issue Tracker + +The [integrated github issue tracker](https://github.com/mit-dci/utreexo/issues) +is used for this project.