Bitcointalk Mobile
Bitcointalk Mobile
Bitcointalk Mobile
IRLBTC™
Preecs
Bitcoin Main
Support
Marketplace
Goods
Services
Service Ann.
Service Dis.
Exchange
Gambling
Lending
Securities
Auctions
Dev & Tech
Ecomomics
Trading
Mining
Project Dev
Meta
Digital Goods
Collectibles
Politics
Beginner Help
Off-topics
Serious
Archival
Altcoin Dis.
Altcoin Ann.
Mining Alt.
Alt Market
Speculation
العربية (Arabic)
Bahasa Indonesia
Español (Spanish)
中文 (Chinese)
Hrvatski (Croatian)
Deutsch (German)
Ελληνικά (Greek)
עברית (Hebrew)
Français
India
Italiano (Italian)
日本語 (Japanese)
Nederlands (Dutch)
Nigeria (Naija)
한국어 (Korean)
Pilipinas
Polski
Português (Portuguese)
Русский (Russian)
Română (Romanian)
Skandinavisk
Türkçe (Turkish)
Other languages
Go
>>
(p.1)
Author
Topic: `bitcoin-core/secp256k1` vs `bitcoin/src/secp256k1` - what to use? (Read 208 times)
nonconformist
(OP)
Full Member
Offline
Activity: 386
Merit: 104
IDENA.IO - Proof-Of-Person Blockchain
`bitcoin-core/secp256k1` vs `bitcoin/src/secp256k1` - what to use?
August 16, 2020, 11:25:16 AM
Merited
by
ABCbits
(1)
#1
There are two secp256k1 implementations that are related to Bitcoin-Core:
https://github.com/bitcoin-core/secp256k1
https://github.com/bitcoin/bitcoin/tree/master/src/secp256k1
What is the more authoritative implementation? What secp256k1 library should be used?
I D E N A
◥
Join
the mining of the first
HUMAN-CENTRIC
cryptocurrency
▲
2 6 8 0
NODES
◾ [
▼
]
DOWNL
.
Idena node
|
Proof-of-Person Blockchain
►
telegram
►
WHITEPAPER
►
twitter
◼
(
❪
REQUEST INVITATION
❫
)
c_atlas
Member
Offline
Activity: 140
Merit: 56
Re: `bitcoin-core/secp256k1` vs `bitcoin/src/secp256k1` - what to use?
August 16, 2020, 08:38:59 PM
Merited
by
suchmoon
(4),
Husna QA
(2),
pooya87
(1),
ABCbits
(1)
#2
Quote from: nonconformist on August 16, 2020, 11:25:16 AM
There are two secp256k1 implementations that are related to Bitcoin-Core:
https://github.com/bitcoin-core/secp256k1
https://github.com/bitcoin/bitcoin/tree/master/src/secp256k1
What is the more authoritative implementation? What secp256k1 library should be used?
It seems like
https://github.com/bitcoin/bitcoin/tree/master/src/secp256k1
is a subtree of the standalone bitcoin-core/secp256k1 repo. I would use bitcoin-core/secp256k1, it looks like libbtcoin forked it and it looks more up to date than the official bitcoin repo.
If you want to check for yourself, just look through this recent commit log
https://github.com/bitcoin/bitcoin/commit/8903a1a0a78a705402123d2a5c465217cb9d791c
and compare the files to bitcoin-core/secp256k1, you'll see it's the same.
pooya87
Legendary
Offline
Activity: 3920
Merit: 11874
Re: `bitcoin-core/secp256k1` vs `bitcoin/src/secp256k1` - what to use?
August 17, 2020, 04:21:04 AM
#3
both of them are the same exact thing developed and maintained by pretty much same exact people (see contributors). the difference is that it is worked on under bitcoin-core github account and in a separate repository and the stable versions are pulled to bitcoin account in bitcoin/bitcoin repository.
the benefit is that if a developer wanted to use libsecp256k1 in their project they don't have to download the much bigger project (bitcoin core) and extract the libsecp256k1 from it. they can easily download a standalone repository and compile that without having to remove the extra parts (bitcoin core related parts).
.
█████▄
████████████
▄████
██████▄
████
▄
████
▄██████
▀████▀
░░
▄███▄
░░
▀████▀
▀▀
░░
▄██▀▀▀██▄
░░
▀▀
▄████
███
████▄
███████████████
▀████
███
████▀
▄█▄
░░
▀██▄▄▄██▀
░░
▄█▄
▄███▄
░░
▀███▀
░░
▄███▄
▄███▀▀█▀
███
▀
███
▀█▀▀███▄
▀█▀
████████████████
▀█▀
.
Duelbits
│
UP TO 62.5% RAKEBACK
FOR ALL USERS
.
....
GET
500 FREE SPINS
.....
.
...
PLUS A
SHOT AT 2 BTC
....
│
..
CLICK TO CLAIM
..
Pages: [
1
]
Print
Page 1
Viewing Page: 1
IRLBTC™ © 2025 IRLBTC.com