Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nakedblinder w/o CConfidential Asset #2

Merged
merged 2 commits into from
Aug 10, 2017

Conversation

tdudz
Copy link

@tdudz tdudz commented Aug 9, 2017

A blinded asset commitment A' consists of an "asset ID" A plus some blinding factor times a generator rG. Written out, we have A + rG =: A'

A blinded value commitment C consists of a value v times an asset commitment A' plus some other blinding factor r'G. Written out, we have C := vA' + r'G

Since the serialization assumes that the value v in a naked blinder is always zero (I can't think of a case where it wouldn't be), the vA' term will always drop out above, and so there is no reason to include code for a blinder in CConfidentialAsset

@instagibbs instagibbs merged this pull request into instagibbs:nakedblinder Aug 10, 2017
instagibbs added a commit that referenced this pull request Dec 17, 2018
…outdata

Utils: Add Asset parameter to MutateTxAddOutData
instagibbs pushed a commit that referenced this pull request May 15, 2019
…eprecated zeromq api functions

f1bd03e [depends, zmq, doc] upgrade zeromq to 4.2.5 and avoid deprecated zeromq api functions (mruddy)

Pull request description:

  Upgrade the ZeroMQ dependency from version 4.2.3 to the latest stable version 4.2.5.

  This PR Follows the lead of bitcoin/bitcoin#11986.

  I upgraded both patch files to correspond to the version `4.2.5` libzmq files.
  I assume doing so is still necessary and correct.

  Without updating the patch line numbers, things appear to work, but you get extra log messages while building `depends` because things don't exactly match, e.g.:
  ```
  /bitcoin/depends> make zeromq
  Extracting zeromq...
  /bitcoin/depends/sources/zeromq-4.2.5.tar.gz: OK
  Preprocessing zeromq...
  patching file src/windows.hpp
  Hunk #1 succeeded at 58 (offset 3 lines).
  patching file src/thread.cpp
  Hunk #1 succeeded at 307 with fuzz 2 (offset 87 lines).
  Hunk #2 succeeded at 323 with fuzz 2 (offset 90 lines).
  ```
  Updating the patches seemed cleaner, so I did it. Note that libzmq had some whitespace changes, so that's why the updated patches do too.

  More info: https://github.com/zeromq/libzmq/releases/tag/v4.2.5

  tags: libzmq, zmq, 0mq

Tree-SHA512: 78659dd276b5311e40634b1bbebb802ddd6b69662ba3c84995ef1e3795c49a78b1635112c7fd72a405ea36e2cc3bdeb84e6d00d4e491a349bba1dafff50e2fa5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants