Bitcoin Forum
May 05, 2024, 11:31:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin P2P-System  (Read 857 times)
SebastianJu (OP)
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
August 15, 2015, 12:25:17 PM
 #1

Can it be that the p2p-System of bitcoin-qt never was updated since the start?

I mean the most common critics on bitcoin-qt is the space needed and the enourmous amount of time needed to download the blockchain. While it mostly isn't limited to the internet connection a node has that tries to download the full blockchain, i wonder if it isn't because of the p2p-system itself. I mean every other p2p-filesharing system seems to run faster than the downloading of the blockchain. And i believe you only can connect to 8 nodes.

That doesn't make sense to me when you need to download the whole blockchain. It should be fast. Or faster at least. There is no reason to raise the number of nodes you can connect to to a higher amount when you need it that time. The other nodes still can decide how much bandwith they will use for that client.

Besides that... recently i often read of crashes and reindexing and redownloading of the blockchain. I think these things really should run smoother. It would be disadvantageous to bitcoin adaption when this is not easy, fast and stable.

Saying that... i don't even use bitcoin-qt because of it's downsides. But i think the current status is worse than it has to be.

At least it looks that way to me, maybe i miss something.

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
1714951903
Hero Member
*
Offline Offline

Posts: 1714951903

View Profile Personal Message (Offline)

Ignore
1714951903
Reply with quote  #2

1714951903
Report to moderator
1714951903
Hero Member
*
Offline Offline

Posts: 1714951903

View Profile Personal Message (Offline)

Ignore
1714951903
Reply with quote  #2

1714951903
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714951903
Hero Member
*
Offline Offline

Posts: 1714951903

View Profile Personal Message (Offline)

Ignore
1714951903
Reply with quote  #2

1714951903
Report to moderator
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1005


View Profile
August 15, 2015, 12:32:11 PM
 #2

I don't think the p2p system has issues. As you said, problems aren't only limited to internet connection... They are mostly not caused by internet connection problems: the hardware is to blame. It's easier to have a 100+MB connection than a nicely equipped computer. If you browse the forums you can see feedback of people syncing the blockchain pretty quickly. Obviously not everyone has access to an 8+GB RAM computer, 256GB+ SSD and a fast processor. But what I mean is, the impact that a fast computer has on syncing a blockchain is much bigger than a faster connection.

As for issues with Bitcoin-qt, I haven't had much in 2 years of using the software. Some problems are simply between the keyboard and the chair Smiley
SebastianJu (OP)
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
August 15, 2015, 12:40:30 PM
 #3

I don't think the p2p system has issues. As you said, problems aren't only limited to internet connection... They are mostly not caused by internet connection problems: the hardware is to blame. It's easier to have a 100+MB connection than a nicely equipped computer. If you browse the forums you can see feedback of people syncing the blockchain pretty quickly. Obviously not everyone has access to an 8+GB RAM computer, 256GB+ SSD and a fast processor. But what I mean is, the impact that a fast computer has on syncing a blockchain is much bigger than a faster connection.

As for issues with Bitcoin-qt, I haven't had much in 2 years of using the software. Some problems are simply between the keyboard and the chair Smiley

So how many connections are there nowadays? Maybe you are experienced enough to get connected to fast nodes then. While others, who didn't run the wallet since weeks or months, might only find slow nodes.

Is there still the 8 nodes limit? If so then this sounds like a possible explaination that you get it downloaded and confirmed fast and others not.

And CPU and harddisc? I somehow doubt that. Copying some GB on a harddisc is a matter of minutes and confirming the whole blockchain is the same. So someone would need to have a really bad computer to have to wait many hours or days.

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
SebastianJu (OP)
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
August 15, 2015, 12:42:50 PM
 #4

I only now read that answer from gmaxwell:
We used to; but since 0.10 the blockchain is now download in parallel and verified concurrently. Using the seperate download, even via bittorrent, then loading it is now usually slower than just syncing directly.

I wonder how much this speeds up the downloading. And were the limits raised too?

Anyway... there are many complaints about 0.10.xx that it crashes and things like redownloading and reindexing and so on happens all the time. I don't know if that is fixed already.

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1005


View Profile
August 15, 2015, 02:17:18 PM
 #5

I don't think the p2p system has issues. As you said, problems aren't only limited to internet connection... They are mostly not caused by internet connection problems: the hardware is to blame. It's easier to have a 100+MB connection than a nicely equipped computer. If you browse the forums you can see feedback of people syncing the blockchain pretty quickly. Obviously not everyone has access to an 8+GB RAM computer, 256GB+ SSD and a fast processor. But what I mean is, the impact that a fast computer has on syncing a blockchain is much bigger than a faster connection.

As for issues with Bitcoin-qt, I haven't had much in 2 years of using the software. Some problems are simply between the keyboard and the chair Smiley

So how many connections are there nowadays? Maybe you are experienced enough to get connected to fast nodes then. While others, who didn't run the wallet since weeks or months, might only find slow nodes.

Is there still the 8 nodes limit? If so then this sounds like a possible explaination that you get it downloaded and confirmed fast and others not.

And CPU and harddisc? I somehow doubt that. Copying some GB on a harddisc is a matter of minutes and confirming the whole blockchain is the same. So someone would need to have a really bad computer to have to wait many hours or days.

I am not very experienced. I have a home node that is connected whenever my computer is connected and I've setup full nodes for Bitcoin and alts. I don't exactly have a special config either, nor do I have a set of nodes I usually connect to. What I know is, as an example, my home computer is 6 years old and takes slightly more than a day to sync the blockchain and the handicap is clearly hardware. My connection is constantly idle while syncing. A day doesn't seem that much to setup something so resource demanding.

The node limit still seems to be applied. My computer is far from fast downloading the blockcahin. That's why my copy of it is quite a few years old Cheesy I just keep it in a separate drive in case I have to format, and when I update Bitcoin Core I point it to that folder.

Syncing the blockchain isn't as simple as copying files. The files are just copied. The blockchain is downloaded and verified Smiley

As I said I'm not an expert. I'm just replying based of what I know and experienced while setting up this kind of software Smiley

As for 0.10+ being faster, I seriously don't know, and I'm not willing to test and go a whole day without having my Bitcoin Core not operational Grin But I've heard several reports of it being faster than downloading the bootstrap file.


I still don't think the p2p interface is flawed. Maybe it's too 2009-ish, who knows? I'm not the right person to judge that. I don't think it's ill implemented. But there might be better ways now to make it, but that would probably require a rebuild of Bitcoin Core, and the changes that are usually made are more on the conservative side.
SebastianJu (OP)
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
August 18, 2015, 12:31:04 PM
 #6

I don't think the p2p system has issues. As you said, problems aren't only limited to internet connection... They are mostly not caused by internet connection problems: the hardware is to blame. It's easier to have a 100+MB connection than a nicely equipped computer. If you browse the forums you can see feedback of people syncing the blockchain pretty quickly. Obviously not everyone has access to an 8+GB RAM computer, 256GB+ SSD and a fast processor. But what I mean is, the impact that a fast computer has on syncing a blockchain is much bigger than a faster connection.

As for issues with Bitcoin-qt, I haven't had much in 2 years of using the software. Some problems are simply between the keyboard and the chair Smiley

So how many connections are there nowadays? Maybe you are experienced enough to get connected to fast nodes then. While others, who didn't run the wallet since weeks or months, might only find slow nodes.

Is there still the 8 nodes limit? If so then this sounds like a possible explaination that you get it downloaded and confirmed fast and others not.

And CPU and harddisc? I somehow doubt that. Copying some GB on a harddisc is a matter of minutes and confirming the whole blockchain is the same. So someone would need to have a really bad computer to have to wait many hours or days.

I am not very experienced. I have a home node that is connected whenever my computer is connected and I've setup full nodes for Bitcoin and alts. I don't exactly have a special config either, nor do I have a set of nodes I usually connect to. What I know is, as an example, my home computer is 6 years old and takes slightly more than a day to sync the blockchain and the handicap is clearly hardware. My connection is constantly idle while syncing. A day doesn't seem that much to setup something so resource demanding.

The node limit still seems to be applied. My computer is far from fast downloading the blockcahin. That's why my copy of it is quite a few years old Cheesy I just keep it in a separate drive in case I have to format, and when I update Bitcoin Core I point it to that folder.

Syncing the blockchain isn't as simple as copying files. The files are just copied. The blockchain is downloaded and verified Smiley

As I said I'm not an expert. I'm just replying based of what I know and experienced while setting up this kind of software Smiley

As for 0.10+ being faster, I seriously don't know, and I'm not willing to test and go a whole day without having my Bitcoin Core not operational Grin But I've heard several reports of it being faster than downloading the bootstrap file.


I still don't think the p2p interface is flawed. Maybe it's too 2009-ish, who knows? I'm not the right person to judge that. I don't think it's ill implemented. But there might be better ways now to make it, but that would probably require a rebuild of Bitcoin Core, and the changes that are usually made are more on the conservative side.

Even with a few years old computer, i can't see what should take so much time. I mean your computer surely is no ASIC, but checking ONE hash per block should be done in no time. Even the 370k blocks or so, that bitcoin has now should take not more than a minute. Maybe i misinterprete the complexity of the calculation needed to PROOF the hash of one block. But i doubt it will be so very much time consuming.

So you say your internet connection is idling. But are you sure that you only don't get enough data from the 7 or so nodes you are connected to? Is your CPU process for the wallet maxed out? The harddrive should not be able to be maxed out by that.

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
August 18, 2015, 12:38:28 PM
 #7

I mean your computer surely is no ASIC, but checking ONE hash per block should be done in no time.
The client checks all transactions in block and builds a database of utxo
SebastianJu (OP)
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
August 19, 2015, 01:32:05 PM
 #8

I mean your computer surely is no ASIC, but checking ONE hash per block should be done in no time.
The client checks all transactions in block and builds a database of utxo

Hm, okay... you are right. That has to be checked. Guess then this is really a bottleneck, maybe THE bottleneck. I never had this seen pointed out when the topic was "blockchain is downloading too slow". Thanks for the hint. Smiley

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
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!