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

Update libsecp256k1 #46

Merged
merged 48 commits into from
Aug 7, 2015
Merged

Update libsecp256k1 #46

merged 48 commits into from
Aug 7, 2015

Conversation

sipa
Copy link
Contributor

@sipa sipa commented Aug 6, 2015

This updates the secp256k1 to a subtree of secp256k1-zkp (rebased on top of secp256k1 master).

sipa and others added 30 commits June 8, 2015 20:26
libsecp256k1's API changed, so update key.cpp to use it.

Libsecp256k1 now has explicit context objects, which makes it completely thread-safe.
In turn, keep an explicit context object in key.cpp, which is explicitly initialized
destroyed. This is not really pretty now, but it's more efficient than the static
initialized object in key.cpp (which made for example bitcoin-tx slow, as for most of
its calls, libsecp256k1 wasn't actually needed).

This also brings in the new blinding support in libsecp256k1. By passing in a random
seed, temporary variables during the elliptic curve computations are altered, in such
a way that if an attacker does not know the blind, observing the internal operations
leaks less information about the keys used. This was implemented by Greg Maxwell.
...with significant changes contributed by Pieter Wuille
<pieter.wuille@gmail.com>
05871c0 Produce confidential addresses in GUI (Pieter Wuille)
Fix markdown to improve readability of alpha-README.md
Be more verbose in blocksign to indicate which funcs are working
…nchname

Update README with different mainchain branch name
TheBlueMatt and others added 18 commits June 10, 2015 15:29
Since '%d' was used, refund values are being truncated from display. This fix uses the floating point '%.16g' format flag instead, the same flag used for displaying the value.
f226262 Guard wallet code in pow.cpp with ENABLE_WALLET (Patrick Strateman)
0f54007 fixed numbering in subsequent sections (metacoin)
ab97b89 updated alpha-README instructions to include adding RPC username/password to sidechain-manipulation.py (metacoin)
6602cb4 Do not truncate refund amount when printing debug data to the user (Mark Friedenbach)
e63b955 build: if there's no recent git tag, don't spew error messages (Cory Fields)
Limit send-to-sidechain transaction size
7b5d9e2 Update alpha-README to fix line formatting (erykwalder)
@sipa
Copy link
Contributor Author

sipa commented Aug 6, 2015

This is now up-to-date with https://github.com/ElementsProject/secp256k1-zkp/tree/secp256k1-zkp

@gmaxwell Review?

@gmaxwell
Copy link
Contributor

gmaxwell commented Aug 7, 2015

ACK. (Already reviewed the rebase separately, and this works for me(tm))

@sipa sipa merged commit 9d91a9f into ElementsProject:alpha Aug 7, 2015
sipa added a commit that referenced this pull request Aug 7, 2015
a671356 Squashed 'src/secp256k1/' changes from 22f60a6..71ed475 (Pieter Wuille)
77269e0 Update to new libsecp256k1 (Pieter Wuille)
jamesdorfman pushed a commit to jamesdorfman/elements that referenced this pull request May 14, 2023
a44caf65fe Merge bitcoin-core/univalue-subtree#28: Import fixes for sanitizer reported issues
135254331e Import fixes for sanitizer reported issues
d5fb86940e refactor: use c++11 range based for loop in checkObject
ff9c379304 refactor: Use nullptr (c++11) instead of NULL
08a99754d5 build: use ax_cxx_compile_stdcxx.m4 to check for C++11 support
66d3713ce7 Merge bitcoin-core/univalue-subtree#29: ci: travis -> cirrus
808d487292 ci: travis -> cirrus
c390ac375f Merge bitcoin-core/univalue-subtree#19: Split sources for easier buildsystem integration
4a5b0a1c65 build: Move source entries out to sources.mk
6c7d94b33c build: cleanup wonky gen usage
a222637c6d Merge ElementsProject#23: Merge changes from jgarzik/univalue@1ae6a23
f77d0f718d Merge commit '1ae6a231a0169938eb3972c1d48dd17cba5947e1' into HEAD
1ae6a231a0 Merge pull request ElementsProject#57 from MarcoFalke/test_fix
92bdd11f0b univalue_write: remove unneeded sstream.h include
ffb621c130 Merge pull request ElementsProject#56 from drodil/remove_sstream_header
f33acf9fe8 Merge commit '7890db9~' into HEAD
66e0adec4d Remove unnecessary sstream header from univalue.h
88967f6586 Version 1.0.4
1dc113dbef Merge pull request ElementsProject#50 from luke-jr/pushKV_bool
72392fb227 [tests] test pushKV for boolean values
c23132bcf4 Pushing boolean value to univalue correctly
81faab26a1 Merge pull request ElementsProject#48 from fwolfst/47-UPDATE_MIT_LINK_TO_HTTPS
b17634ef24 Update URLs to MIT license.
88ab64f6b5 Merge pull request ElementsProject#46 from jasonbcox/master
35ed96da31 Merge pull request ElementsProject#44 from MarcoFalke/Mf1709-univalue-cherrypick-explicit
420c226290 Merge pull request ElementsProject#45 from MarcoFalke/Mf1710-univalue-revert-test

git-subtree-dir: src/univalue
git-subtree-split: a44caf65fe55b9dd8ddb08f04c0f70409efd53b3
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.

None yet