Bitcoin Forum
April 16, 2021, 10:38:45 PM *
News: Latest Bitcoin Core release: 0.21.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Which are the scripts that manage the management of keys in Bitcoin Core?  (Read 184 times)
Ofiuco
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 16, 2019, 01:51:47 PM
 #1

Hi guys,

I am carrying out a project, for which I want to identify possible vulnerabilities in different cryptocurrencies. The idea is to see how the keys are managed by each purse of different cryptocurrencies and in case of not finding vulnerabilities, at least make a guide of good practices when creating them,

I've been looking at code for a while, but I can not find which scripts are exactly where the keys are managed. If someone can help me out, I'll be very grateful,

Best regards,
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1618612725
Hero Member
*
Offline Offline

Posts: 1618612725

View Profile Personal Message (Offline)

Ignore
1618612725
Reply with quote  #2

1618612725
Report to moderator
1618612725
Hero Member
*
Offline Offline

Posts: 1618612725

View Profile Personal Message (Offline)

Ignore
1618612725
Reply with quote  #2

1618612725
Report to moderator
1618612725
Hero Member
*
Offline Offline

Posts: 1618612725

View Profile Personal Message (Offline)

Ignore
1618612725
Reply with quote  #2

1618612725
Report to moderator
darosior
Sr. Member
****
Offline Offline

Activity: 281
Merit: 431



View Profile WWW
April 16, 2019, 03:45:25 PM
Merited by bones261 (2), ETFbitcoin (1)
 #2

Hi guys,

I am carrying out a project, for which I want to identify possible vulnerabilities in different cryptocurrencies. The idea is to see how the keys are managed by each purse of different cryptocurrencies and in case of not finding vulnerabilities, at least make a guide of good practices when creating them,

I've been looking at code for a while, but I can not find which scripts are exactly where the keys are managed. If someone can help me out, I'll be very grateful,

Best regards,
Hi,

the wallet management in core is done in the src/wallet/ directory. You can find some key management functions here : https://github.com/bitcoin/bitcoin/blob/598323911e930d67e678e464353eb570ad3bf2b7/src/wallet/wallet.h#L845

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
Ofiuco
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 17, 2019, 07:32:22 AM
 #3

Thank you very much Darosior, do you know any other script where I can review the key management?

Best regards,
darosior
Sr. Member
****
Offline Offline

Activity: 281
Merit: 431



View Profile WWW
April 17, 2019, 08:58:18 PM
 #4

Thank you very much Darosior, do you know any other script where I can review the key management?

Best regards,
In core ? (btw C++ is not a scripting language)

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
Ofiuco
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 23, 2019, 10:03:57 AM
 #5

Sorry, I used a bad term, I wanted to say that if you knew some more ".cpp" or ".h" file that contains the key management,

If somehow I could find a list to find all of them, it would be wonderful,

Best regards,
darosior
Sr. Member
****
Offline Offline

Activity: 281
Merit: 431



View Profile WWW
April 23, 2019, 10:12:06 AM
 #6

As already pointed out above, you can find them in the src/wallet/ directory.

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
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!