Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Frodek on March 03, 2017, 04:47:08 PM



Title: Where are bodies of functions of secp256k1.h ?
Post by: Frodek on March 03, 2017, 04:47:08 PM
I have extracted interpreter.cpp and depending source files from Bitcoin source. This version is even compilable but not linkable because bodies of functions of secp256k1.h.
I attach my project: Interpret.zip in Disk Google: https://drive.google.com/file/d/0B7E799YMGCWTUjlxTGJsdVM0MDA/view?usp=sharing (https://drive.google.com/file/d/0B7E799YMGCWTUjlxTGJsdVM0MDA/view?usp=sharing)


Title: Re: Where are bodies of functions of secp256k1.h ?
Post by: prezbo on March 03, 2017, 05:05:58 PM
Probably https://github.com/bitcoin/bitcoin/tree/cfd5e6b1dc32dadebe93e6c021dde308fa3d815a/src/secp256k1 (https://github.com/bitcoin/bitcoin/tree/cfd5e6b1dc32dadebe93e6c021dde308fa3d815a/src/secp256k1)?


Title: Re: Where are bodies of functions of secp256k1.h ?
Post by: Frodek on March 03, 2017, 05:12:56 PM
Previously I can't find, because I search only *.cpp and *.h, not *.c. Thanks


Title: Re: Where are bodies of functions of secp256k1.h ?
Post by: achow101 on March 03, 2017, 05:14:33 PM
The actual source for libsecp256k1 is in https://github.com/bitcoin-core/secp256k1. Use that, not the one from the bitcoin/bitcoin repo.