Bitcoin Forum
April 19, 2024, 03:00:43 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin0.0.1 i2o_ECPublicKey not work  (Read 134 times)
songchunlai (OP)
Jr. Member
*
Offline Offline

Activity: 113
Merit: 1


View Profile
July 14, 2021, 04:17:48 AM
 #1

I am trying to compile bitcoin0.0.1 with qt .But I got this problem, how to make it work?

This is my code:118.194.232.145/bitcoin0.0.1_src_202107132157_UI.zip
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713495643
Hero Member
*
Offline Offline

Posts: 1713495643

View Profile Personal Message (Offline)

Ignore
1713495643
Reply with quote  #2

1713495643
Report to moderator
1713495643
Hero Member
*
Offline Offline

Posts: 1713495643

View Profile Personal Message (Offline)

Ignore
1713495643
Reply with quote  #2

1713495643
Report to moderator
1713495643
Hero Member
*
Offline Offline

Posts: 1713495643

View Profile Personal Message (Offline)

Ignore
1713495643
Reply with quote  #2

1713495643
Report to moderator
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6670


bitcoincleanup.com / bitmixlist.org


View Profile WWW
July 14, 2021, 06:26:20 AM
Merited by ABCbits (1)
 #2

Why exactly are you trying to compile an old binary, that even if successful, wont be able to parse any blocks or transactions (or possibly even discover peers)?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6348


Looking for campaign manager? Contact icopress!


View Profile
July 14, 2021, 07:02:47 AM
 #3

I may be totally wrong, but with such old source you may have more success on something closer to initial configuration (maybe 32 bit too?).
And, as said, it may be pointless. You acquire have better knowledge from much more recent source, which will compile easier and will also work.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
songchunlai (OP)
Jr. Member
*
Offline Offline

Activity: 113
Merit: 1


View Profile
July 14, 2021, 03:56:04 PM
Last edit: July 19, 2021, 01:09:28 AM by mprep
 #4

I may be totally wrong, but with such old source you may have more success on something closer to initial configuration (maybe 32 bit too?).
And, as said, it may be pointless. You acquire have better knowledge from much more recent source, which will compile easier and will also work.
It's looks more easy to learn. I want find how to start learn it.



Why exactly are you trying to compile an old binary, that even if successful, wont be able to parse any blocks or transactions (or possibly even discover peers)?
There is so much to learn. Very difficult for me. I will study hard.

[moderator's note: consecutive posts merged]
garlonicon
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1932


View Profile
July 14, 2021, 05:53:07 PM
 #5

If you want to understand what is going on, you probably shouldn't try to compile everything at once, but rather start from empty main and include things one by one. There are some parts of the code that you can compile without other parts, like for example base58 encoding, big numbers (uint160, uint256, etc.), calculating hashes (like sha256 or ripemd160). If you resolve dependencies, you will see some parts are based on pure C++ and nothing else, you can start from that. There will be some parts based on some libraries, like for example OpenSSL, and you have to install that library correctly to compile that. Dealing with everything at once may be overwhelming, also because you will get some compiler errors on Linux that you wouldn't on Windows (for example related to std::min, fixed quite early, but not present in the first version).

I tried to build the first version some time ago and the easiest way to do that was to focus on one part you want to build at a time. For example, I had some code where only ECDSA handling was present, in this way I could play with public key cryptography without worrying about other parts. Then, I had some code with sha256 hashing and nothing else, in this way I could play with mining, for example by re-mining the Genesis Block, where only extra nonce or timestamp was different from the original block. And then, when I had many different parts well-behaving and correctly compiled, I could join everything together to build that version.

Hold your horses before deploying blockchain-related things. You don't want to deploy SHA-1 collision without deploying hardened SHA-1. Once you reveal some code, and make it Open Source, there is no "undo" button. Once you share some idea, there is no way to erase it from reader's memory.
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6670


bitcoincleanup.com / bitmixlist.org


View Profile WWW
July 14, 2021, 06:39:24 PM
Merited by NeuroticFish (2), ABCbits (2)
 #6

Why exactly are you trying to compile an old binary, that even if successful, wont be able to parse any blocks or transactions (or possibly even discover peers)?
There is so much to learn. Very difficult for me. I will study hard.

Ah, so that's why you're trying to compile an old release.

For starters, you can browse the classes in the Doxygen documentation: https://doxygen.bitcoincore.org/ and study the ones you're interested in. They even have links to inline files so you don't have to cross-reference on Github.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6203


Crypto Swap Exchange


View Profile WWW
July 14, 2021, 06:59:53 PM
Merited by NeuroticFish (2), ABCbits (1)
 #7

A while ago when I went to compile the old versions I found it easier to download the gigs and gigs of old linux DVDs with all the needed software and dependencies on them instead of trying to hunt them down online.

https://soft.lafibre.info/

Should get you what you need. Have not tried in a while but it did work a few years ago.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
songchunlai (OP)
Jr. Member
*
Offline Offline

Activity: 113
Merit: 1


View Profile
July 15, 2021, 03:28:53 AM
Last edit: July 19, 2021, 01:09:11 AM by mprep
 #8

If you want to understand what is going on, you probably shouldn't try to compile everything at once, but rather start from empty main and include things one by one. There are some parts of the code that you can compile without other parts, like for example base58 encoding, big numbers (uint160, uint256, etc.), calculating hashes (like sha256 or ripemd160). If you resolve dependencies, you will see some parts are based on pure C++ and nothing else, you can start from that. There will be some parts based on some libraries, like for example OpenSSL, and you have to install that library correctly to compile that. Dealing with everything at once may be overwhelming, also because you will get some compiler errors on Linux that you wouldn't on Windows (for example related to std::min, fixed quite early, but not present in the first version).

I tried to build the first version some time ago and the easiest way to do that was to focus on one part you want to build at a time. For example, I had some code where only ECDSA handling was present, in this way I could play with public key cryptography without worrying about other parts. Then, I had some code with sha256 hashing and nothing else, in this way I could play with mining, for example by re-mining the Genesis Block, where only extra nonce or timestamp was different from the original block. And then, when I had many different parts well-behaving and correctly compiled, I could join everything together to build that version.
If I annotated this function instead 51, It's will work :



A while ago when I went to compile the old versions I found it easier to download the gigs and gigs of old linux DVDs with all the needed software and dependencies on them instead of trying to hunt them down online.

https://soft.lafibre.info/

Should get you what you need. Have not tried in a while but it did work a few years ago.

-Dave
Thank you Mr. Davef.



Why exactly are you trying to compile an old binary, that even if successful, wont be able to parse any blocks or transactions (or possibly even discover peers)?
There is so much to learn. Very difficult for me. I will study hard.

Ah, so that's why you're trying to compile an old release.

For starters, you can browse the classes in the Doxygen documentation: https://doxygen.bitcoincore.org/ and study the ones you're interested in. They even have links to inline files so you don't have to cross-reference on Github.
Wow, Thank you. It's a useful site.

[moderator's note: consecutive posts merged]
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!