Bitcoin Forum
May 06, 2024, 08:50:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to include secp256k1  (Read 213 times)
jscode017 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 1


View Profile
October 13, 2018, 09:03:04 AM
 #1

sorry, a silly question

why in bitcoin-tx.cpp have to #include <univalue.h> but not #include<secp256k1>
while both two above are kind of like outer libraries?

anybody help please

or are there any resource that can help to understand the src/Makefile.am?
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715028639
Hero Member
*
Offline Offline

Posts: 1715028639

View Profile Personal Message (Offline)

Ignore
1715028639
Reply with quote  #2

1715028639
Report to moderator
1715028639
Hero Member
*
Offline Offline

Posts: 1715028639

View Profile Personal Message (Offline)

Ignore
1715028639
Reply with quote  #2

1715028639
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6587


Just writing some code


View Profile WWW
October 13, 2018, 07:09:16 PM
 #2

bitcoin-tx.cpp does not directly use anything in secp256k1 but it does directly use things in UniValue. Thus it does not need to include secp256k1. secp256k1 is included in other files where it is directly used.

jscode017 (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 1


View Profile
October 14, 2018, 05:10:42 AM
 #3

thanks for the answer
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!