Bitcoin Forum
May 02, 2024, 05:32:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin0.0.1 i2o_ECPublicKey not work  (Read 135 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
1714627926
Hero Member
*
Offline Offline

Posts: 1714627926

View Profile Personal Message (Offline)

Ignore
1714627926
Reply with quote  #2

1714627926
Report to moderator
1714627926
Hero Member
*
Offline Offline

Posts: 1714627926

View Profile Personal Message (Offline)

Ignore
1714627926
Reply with quote  #2

1714627926
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714627926
Hero Member
*
Offline Offline

Posts: 1714627926

View Profile Personal Message (Offline)

Ignore
1714627926
Reply with quote  #2

1714627926
Report to moderator
1714627926
Hero Member
*
Offline Offline

Posts: 1714627926

View Profile Personal Message (Offline)

Ignore
1714627926
Reply with quote  #2

1714627926
Report to moderator
1714627926
Hero Member
*
Offline Offline

Posts: 1714627926

View Profile Personal Message (Offline)

Ignore
1714627926
Reply with quote  #2

1714627926
Report to moderator
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6718


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: 6371


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: 801
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.
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6718


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: 6258


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!