Bitcoin Forum
May 08, 2024, 01:54:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there a new code to download bitcoin source code  (Read 249 times)
Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
March 04, 2022, 10:01:29 AM
Merited by Symmetrick (5), Welsh (4), Oluwa-btc (3), vapourminer (2), pooya87 (2), Halab (2), Rruchi man (2), Wiwo (2), Odusko (2), Sandra_hakeem (2), _BlackStar (1), SatoPrincess (1)
 #1

I tried playing around the source code on github after downloading i tried copying the code using "clone" but can't get the exact output as shown in the example, I tried the code i got from a booklet but its not responding
This is meant to be the expected output
In this example, we are using the git command to create a local copy (“clone”) of the source code:
Code:
$ git clone https://github.com/bitcoin/bitcoin.git
Cloning into 'bitcoin'...
remote: Counting objects: 66193, done.
remote: Total 66193 (delta 0), reused 0 (delta 0), pack-reused 66193
Receiving objects: 100% (66193/66193), 63.39 MiB | 574.00 KiB/s, done.
Resolving deltas: 100% (48395/48395), done.
Checking connectivity... done.
$
my output could there be a better code for this?

free photo hosting
1715133244
Hero Member
*
Offline Offline

Posts: 1715133244

View Profile Personal Message (Offline)

Ignore
1715133244
Reply with quote  #2

1715133244
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
March 04, 2022, 10:08:30 AM
Merited by ABCbits (1)
 #2

Are you doing this in your user home folder? It seems like you try to create a folder where you have no permissions.
Which system do you use?
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6381


Looking for campaign manager? Contact icopress!


View Profile
March 04, 2022, 10:11:35 AM
 #3

You have no rights.
I think that you have to do something similar to the solutions proposed here: https://stackoverflow.com/questions/16376035/fatal-could-not-create-work-tree-dir-kivy

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

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

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

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

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

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











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











▄▄▄▄█
Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
March 04, 2022, 10:13:15 AM
Last edit: March 04, 2022, 11:32:51 AM by Zilon
 #4

Are you doing this in your user home folder? It seems like you try to create a folder where you have no permissions.
Which system do you use?
I think it's on my user home folder. 

You have no rights.
I think that you have to do something similar to the solutions proposed here: https://stackoverflow.com/questions/16376035/fatal-could-not-create-work-tree-dir-kivy
Thank you and can i get a resent book with updated codes so i don't get stucked again. if there could be a recommendable academy it can also serve the same purpose be it free or paid courses
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1512
Merit: 7357


Farewell, Leo


View Profile
March 04, 2022, 11:09:20 AM
 #5

Thank you and can i get a resent book with updated codes so i don't get stucked again. if there could be a recommendable academy it can also serve the same purpose be it free or paid courses
What are you trying to accomplish?

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

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

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

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

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

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











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











▄▄▄▄█
Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
March 04, 2022, 11:21:04 AM
 #6

What are you trying to accomplish?
Getting to know how the bitcoin software works then proceed to developing a wallet but this very part is like an introduction on how to get the source code from git but wasn't getting the output as shown in the example i was given
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1512
Merit: 7357


Farewell, Leo


View Profile
March 04, 2022, 11:50:49 AM
Merited by Welsh (4), pooya87 (2), ABCbits (1)
 #7

Getting to know how the bitcoin software works
Bitcoin Core is an implementation of a Bitcoin client, and the most popular. But, to understand how it works you don't have to look into the source code; you'll understand few things there, especially if your programming skills aren't the best.

I recommend you to take a look on developer.bitcoin.org/devguide.

then proceed to developing a wallet
That's a very difficult thing to do, unless you follow a tutorial and understand little things of each step.

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

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

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

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

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

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











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











▄▄▄▄█
vjudeu
Hero Member
*****
Offline Offline

Activity: 678
Merit: 1560



View Profile
March 04, 2022, 12:03:08 PM
Merited by vapourminer (1), NeuroticFish (1)
 #8

Quote
I think it's on my user home folder.
It is not, unless you are a root on Windows (which is very uncommon, because it means having System rights that are far higher than Administrator privileges).

To clarify things: "~" is your home, "/" is the root of the filesystem inside Git Bash for Windows.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6730


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 04, 2022, 04:31:38 PM
Merited by Welsh (4), BlackHatCoiner (3), pooya87 (2), ABCbits (2)
 #9

I recommend you to take a look on developer.bitcoin.org/devguide.

That only describes the P2P protocol, consensus rules and RPC commands, for actual documentation for what the C++ is doing you need to consult the Doxygen pages on bitcoincore.org.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nullama
Hero Member
*****
Offline Offline

Activity: 980
Merit: 957



View Profile
March 07, 2022, 10:48:20 PM
 #10



Why are you using MinGW?, you can install git for windows: https://git-scm.com/download/win

The error you're getting is because you're trying to clone the repository at root (/), and as a normal user you don't have permission to write in that directory. Just write this before your command and it should work:

Code:
cd ~

After you write that you'll be at your home directory, which should be writable by that user.

███████████████████████████████
███████████████████████████████
█████████
▀▀▀▀▀█▀█▀▀▀▀▀█████████
███
▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████
▀▀▀████▌ ▐████▀▀▀███████
█████
███▀█▀██▌ ▐██▀█▀████████
████
███▀▄▀▄███▌ ▐███▄▀▄▀███████
█████
██▄██▄██   ██▄██▄███████
███████
▄▄▄████   ████▄▄▄███████
██████████
▀▀▀▀   ▀▀▀▀██████████
██████████
▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████
█▀▀▀











█▄▄▄
#1 RATED CRYPTO
CASINO IN THE WORLD
██ ██ ██ ██ █Trustpilot
▀▀▀█











▄▄▄█
▄█████████████████████████████
██████████████████▀▀█████▀▀████
█████████████████▀█████████▀███
██████████████████████████████
███████████████████████████▄███
█████████████████████████▄▄████
███████████████████████████████
█████████████░░░███████████████
███████████░░░█████████████████
█████████░░████████████████████
█████░░░██████████████████████
███░░█████████████████████████
▀░░░█████████████████████████▀
.
SIGN UP & INSTANTLY
RECEIVE BONUS

[ NO DEPOSIT REQUIRED ]
█▀▀▀











█▄▄▄
▀▀▀█











▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6730


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 08, 2022, 08:55:46 AM
 #11

Why are you using MinGW?, you can install git for windows: https://git-scm.com/download/win

The error you're getting is because you're trying to clone the repository at root (/), and as a normal user you don't have permission to write in that directory. Just write this before your command and it should work:

Code:
cd ~

After you write that you'll be at your home directory, which should be writable by that user.

MinGW is needed to compile Bitcoin Core on Windows (the build system does not support Visual Studio and MSVC).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nullama
Hero Member
*****
Offline Offline

Activity: 980
Merit: 957



View Profile
March 08, 2022, 09:43:04 AM
Merited by Welsh (4), ABCbits (2), NotATether (2), vapourminer (1)
 #12

MinGW is needed to compile Bitcoin Core on Windows (the build system does not support Visual Studio and MSVC).

That would be ironic since the first version of Bitcoin was windows only.

The official docs say this:

Quote
The options known to work for building Bitcoin Core on Windows are:
    On Linux, using the Mingw-w64 cross compiler tool chain.
    On Windows, using Windows Subsystem for Linux (WSL) and Mingw-w64.
    On Windows, using Microsoft Visual Studio. See README.md.

In particular, here are the building instructions for Visual Studio on Windows: https://github.com/bitcoin/bitcoin/blob/master/build_msvc/README.md

███████████████████████████████
███████████████████████████████
█████████
▀▀▀▀▀█▀█▀▀▀▀▀█████████
███
▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████
▀▀▀████▌ ▐████▀▀▀███████
█████
███▀█▀██▌ ▐██▀█▀████████
████
███▀▄▀▄███▌ ▐███▄▀▄▀███████
█████
██▄██▄██   ██▄██▄███████
███████
▄▄▄████   ████▄▄▄███████
██████████
▀▀▀▀   ▀▀▀▀██████████
██████████
▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████
█▀▀▀











█▄▄▄
#1 RATED CRYPTO
CASINO IN THE WORLD
██ ██ ██ ██ █Trustpilot
▀▀▀█











▄▄▄█
▄█████████████████████████████
██████████████████▀▀█████▀▀████
█████████████████▀█████████▀███
██████████████████████████████
███████████████████████████▄███
█████████████████████████▄▄████
███████████████████████████████
█████████████░░░███████████████
███████████░░░█████████████████
█████████░░████████████████████
█████░░░██████████████████████
███░░█████████████████████████
▀░░░█████████████████████████▀
.
SIGN UP & INSTANTLY
RECEIVE BONUS

[ NO DEPOSIT REQUIRED ]
█▀▀▀











█▄▄▄
▀▀▀█











▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6730


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 09, 2022, 09:29:02 AM
 #13

MinGW is needed to compile Bitcoin Core on Windows (the build system does not support Visual Studio and MSVC).

That would be ironic since the first version of Bitcoin was windows only.

The official docs say this:

Quote
The options known to work for building Bitcoin Core on Windows are:
    On Linux, using the Mingw-w64 cross compiler tool chain.
    On Windows, using Windows Subsystem for Linux (WSL) and Mingw-w64.
    On Windows, using Microsoft Visual Studio. See README.md.

In particular, here are the building instructions for Visual Studio on Windows: https://github.com/bitcoin/bitcoin/blob/master/build_msvc/README.md

Yeah. I must have confused Greg Maxwell's warning a couple years ago that Bitcoin Core compilation on VS can't be completely verified (the post is here somewhere) with non-support.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
March 10, 2022, 12:05:55 AM
Merited by Welsh (4), ABCbits (2), BlackHatCoiner (2)
 #14

then proceed to developing a wallet
That's a very difficult thing to do, unless you follow a tutorial and understand little things of each step.
Then again, I'm not sure that it's the best idea for someone to try writing a Bitcoin wallet if they seem not to have any programming experience (as evidenced by already struggling to clone a Git repository).
Not to mention that there are already tons of great open-source Bitcoin clients that one may want to contribute to instead of creating something from scratch. Unless of course it's something more specialized, but then again it would get more complex and probably even less suited for a novice coder.

I would suggest learning to program with various languages with simpler, lower goals at first and when you feel confident that you understand what you're doing, think about what you're trying to build, what's the best way to get there and then start writing the code for it.

Similar to Satoshi in a way. Grin He released the whitepaper first, and the code a few months later after he got confirmation that the idea was good, the maths and logic was sound and he was obviously confident in his ability to write down the initial code.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
garlonicon
Hero Member
*****
Offline Offline

Activity: 803
Merit: 1932


View Profile
March 10, 2022, 05:28:59 AM
 #15

Quote
Similar to Satoshi in a way. Grin He released the whitepaper first, and the code a few months later after he got confirmation that the idea was good, the maths and logic was sound and he was obviously confident in his ability to write down the initial code.
I think he coded and tested things first (without releasing), then wrote the whitepaper, but we will never know for sure, we can only guess.

But you are right, getting general programming skills first is a good idea.
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!