Bitcoin Forum
May 10, 2024, 04:25:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: 1 2 3 [All]
  Print  
Author Topic: do miners zip blocks when trying to propagate them?  (Read 1796 times)
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:01:04 AM
 #1

anyone know?

what kind of compression do they get on a 1MB block?

"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715315109
Hero Member
*
Offline Offline

Posts: 1715315109

View Profile Personal Message (Offline)

Ignore
1715315109
Reply with quote  #2

1715315109
Report to moderator
1715315109
Hero Member
*
Offline Offline

Posts: 1715315109

View Profile Personal Message (Offline)

Ignore
1715315109
Reply with quote  #2

1715315109
Report to moderator
monthlyemployee1
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
September 10, 2015, 02:12:15 AM
 #2

I don't think this would be very effective. It would only cause extra steps to need to be taken to verify them
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
September 10, 2015, 02:17:32 AM
 #3

Seems like a bad idea.

Some other miner could finish solving and broadcast a block during the time a miner wastes compressing the block.  Then the miner is sitting on a worthless compressed orphan block.

Seems it would be better to have a protocol that allows the miner to just broadcast the 80 byte header, then the merkle tree.

Since most peers will already have most transactions, there's no need to re-broadcast the entire megabyte worth of them (compressed or otherwise).  Then peers can just request any transactions they are missing from their immediate peers.
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:29:39 AM
 #4

Seems like a bad idea.

Some other miner could finish solving and broadcast a block during the time a miner wastes compressing the block.  Then the miner is sitting on a worthless compressed orphan block.

Seems it would be better to have a protocol that allows the miner to just broadcast the 80 byte header, then the merkle tree.

Since most peers will already have most transactions, there's no need to re-broadcast the entire megabyte worth of them (compressed or otherwise).  Then peers can just request any transactions they are missing from their immediate peers.

zipping a few MBs has got to be a less then 1 second operation no?

but just sending the header, and merkle tree, would require even less bandwidth than sending the the hole block zipped.

so there you go, bitcoin can have GB blocks without requiring miners to use a huge amount of bandwidth propagate these huge blocks

miners would simply be required to keep up with the TPS.


Peter R
Legendary
*
Offline Offline

Activity: 1162
Merit: 1007



View Profile
September 10, 2015, 02:41:47 AM
 #5

The p2p protocol presently only supports propagation of solved blocks in full; i.e., blocks are not compressed.  

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block). Greg Maxwell claims that the Corallo Relay Network attains a coding gain of about 250 (1 MB is compressed to about 4 kilobytes); however, I believe it is less in practice.  

Techniques like invertible bloom lookup tables (IBLTs) could also be used to compress solved blocks in the future; Rusty Russell is presently researching this possibility.    

Compression of solved blocks has the effect of reducing the network propagation impedance.  It results in lower fees to users (positive) but also lower fees to spammers (negative).  This chart shows how fees decline with improvements to network propagation impedance (x-axis in the chart):



Source: https://dl.dropboxusercontent.com/u/43331625/feemarket.pdf


Run Bitcoin Unlimited (www.bitcoinunlimited.info)
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
September 10, 2015, 02:50:06 AM
 #6

I don't think blocks are easily compressed. The data is rather random since hashes are random and in order to preserve all of the data so it can be verified, it must be losslessly compressed. However, since there isn't that much of a pattern to the data, it becomes rather difficult to losslessly compress blocks with a good compression ratio.

adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:57:00 AM
 #7

I don't think blocks are easily compressed. The data is rather random since hashes are random and in order to preserve all of the data so it can be verified, it must be losslessly compressed. However, since there isn't that much of a pattern to the data, it becomes rather difficult to losslessly compress blocks with a good compression ratio.
your probably right.

The p2p protocol presently only supports propagation of solved blocks in full; i.e., blocks are not compressed. 

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block). Greg Maxwell claims that the Corallo Relay Network attains a coding gain of about 250 (1 MB is compressed to about 4 kilobytes); however, I believe it is less in practice. 

Techniques like invertible bloom lookup tables (IBLTs) could also be used to compress solved blocks in the future; Rusty Russell is presently researching this possibility.   

Compression of solved blocks has the effect of reducing the network propagation impedance.  It results in lower fees to users (positive) but also lower fees to spammers (negative).  This chart shows how fees decline with improvements to network propagation impedance (x-axis in the chart):



Source: https://dl.dropboxusercontent.com/u/43331625/feemarket.pdf


this "Corallo Relay Network" sounds like what bitcoin needs to scale properly. 250 coding gain, that's great!

Peter R
Legendary
*
Offline Offline

Activity: 1162
Merit: 1007



View Profile
September 10, 2015, 02:57:37 AM
 #8

I don't think blocks are easily compressed. The data is rather random since hashes are random and in order to preserve all of the data so it can be verified, it must be losslessly compressed. However, since there isn't that much of a pattern to the data, it becomes rather difficult to losslessly compress blocks with a good compression ratio.

This would be true if the receiver (another node or miner) didn't already know a lot about the contents of the block already.  However, since most nodes have fairly similar mempools, and since block are built from transactions held in a miners mempool, this redundancy can be exploited to achieve compression.  Examples of this type of compression include the Relay Network, the IBLT proposal, or Danny's Merkle Tree idea (which I like, BTW).

Run Bitcoin Unlimited (www.bitcoinunlimited.info)
brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 03:08:24 AM
 #9

I mean.. we're really trying to have rational discussions about scaling and security yet some of you are ignorant of some of the most basic innerworkings of Bitcoin.

Then you wonder why no one cares or value your opinion...

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 03:17:28 AM
 #10

I mean.. we're really trying to have rational discussions about scaling and security yet some of you are ignorant of some of the most basic innerworkings of Bitcoin.

Then you wonder why no one cares or value your opinion...

bitcoin does not currently compress blocks for propagation in anyway.

do you think we should explore this idea, or should we stick to 1MB limit because fees?


"most basic innerworkings"

is that an oxymoron?

Peter R
Legendary
*
Offline Offline

Activity: 1162
Merit: 1007



View Profile
September 10, 2015, 03:46:01 AM
 #11

I mean.. we're really trying to have rational discussions about scaling and security yet some of you are ignorant of some of the most basic innerworkings of Bitcoin.

Then you wonder why no one cares or value your opinion...

What is wrong with people asking questions and trying to learn?

Run Bitcoin Unlimited (www.bitcoinunlimited.info)
Soros Shorts
Donator
Legendary
*
Offline Offline

Activity: 1617
Merit: 1012



View Profile
September 10, 2015, 09:04:09 AM
 #12

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.
Klestin
Hero Member
*****
Offline Offline

Activity: 493
Merit: 500


View Profile
September 10, 2015, 01:48:43 PM
 #13

I don't think blocks are easily compressed. The data is rather random since hashes are random and in order to preserve all of the data so it can be verified, it must be losslessly compressed. However, since there isn't that much of a pattern to the data, it becomes rather difficult to losslessly compress blocks with a good compression ratio.

Speaking generally, random data reliably compresses to 50% of original size.
brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 01:57:27 PM
 #14

I mean.. we're really trying to have rational discussions about scaling and security yet some of you are ignorant of some of the most basic innerworkings of Bitcoin.

Then you wonder why no one cares or value your opinion...

bitcoin does not currently compress blocks for propagation in anyway.

do you think we should explore this idea, or should we stick to 1MB limit because fees?


"most basic innerworkings"

is that an oxymoron?

Bitcoin does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works.

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:01:50 PM
 #15

I mean.. we're really trying to have rational discussions about scaling and security yet some of you are ignorant of some of the most basic innerworkings of Bitcoin.

Then you wonder why no one cares or value your opinion...

bitcoin does not currently compress blocks for propagation in anyway.

do you think we should explore this idea, or should we stick to 1MB limit because fees?


"most basic innerworkings"

is that an oxymoron?

Bitcoin does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works.

The p2p protocol presently only supports propagation of solved blocks in full; i.e., blocks are not compressed.  

so which is it?

OnkelPaul
Legendary
*
Offline Offline

Activity: 1039
Merit: 1004



View Profile
September 10, 2015, 02:06:43 PM
 #16

Speaking generally, random data reliably compresses to 50% of original size.

Definitely not.
Random data does not compress. Any compressibility is a sure sign of non-randomness.

Onkel Paul

adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:09:09 PM
 #17

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.

if minner could communicate 100MB blocks with 250KB of encoded data, this is what will allow bitcoin to scale don't you think.

my guess is they wouldn't even need to send the full 64byte TX IDs only a 4 byte hash of the TX ID should be enoght for other minner to identify the TX's included in the new blocks.

using this method a miner could communicate a block with 250000 TX's!!! ( >400TPS ) with only 1MB of data

brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 02:19:57 PM
 #18

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.

if minner could communicate 100MB blocks with 250KB of encoded data, this is what will allow bitcoin to scale don't you think.

my guess is they wouldn't even need to send the full 64byte TX IDs only a 4 byte hash of the TX ID should be enoght for other minner to identify the TX's included in the new blocks.

using this method a miner could communicate a block with 250000 TX's!!! ( >400TPS ) with only 1MB of data

 Roll Eyes

What novel idea, maybe you should apply to become a core developer?

Here:

Quote
The relay network includes an optimized transmission protocol which enables sending the "entire" block typically in just a smal number of bytes (much smaller than the summaries you suggest, which still leave the participants needing to send the block).

E.g. block 000ce90846 was 999950 bytes and the relay network protocol sent it using at most 4906 bytes.
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/009942.html

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:25:47 PM
 #19

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.

if minner could communicate 100MB blocks with 250KB of encoded data, this is what will allow bitcoin to scale don't you think.

my guess is they wouldn't even need to send the full 64byte TX IDs only a 4 byte hash of the TX ID should be enoght for other minner to identify the TX's included in the new blocks.

using this method a miner could communicate a block with 250000 TX's!!! ( >400TPS ) with only 1MB of data

 Roll Eyes

What novel idea, maybe you should apply to become a core developer?

Here:

Quote
The relay network includes an optimized transmission protocol which enables sending the "entire" block typically in just a smal number of bytes (much smaller than the summaries you suggest, which still leave the participants needing to send the block).

E.g. block 000ce90846 was 999950 bytes and the relay network protocol sent it using at most 4906 bytes.
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/009942.html

right this method is already being used by some miners, but this isn't standard way to propagate blocks.
should it be?
is this the key to scaling bitcoin?
I think yes on both counts.
right now this method is netting miners >200X coding gain!


brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 02:29:36 PM
 #20

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.

if minner could communicate 100MB blocks with 250KB of encoded data, this is what will allow bitcoin to scale don't you think.

my guess is they wouldn't even need to send the full 64byte TX IDs only a 4 byte hash of the TX ID should be enoght for other minner to identify the TX's included in the new blocks.

using this method a miner could communicate a block with 250000 TX's!!! ( >400TPS ) with only 1MB of data

 Roll Eyes

What novel idea, maybe you should apply to become a core developer?

Here:

Quote
The relay network includes an optimized transmission protocol which enables sending the "entire" block typically in just a smal number of bytes (much smaller than the summaries you suggest, which still leave the participants needing to send the block).

E.g. block 000ce90846 was 999950 bytes and the relay network protocol sent it using at most 4906 bytes.
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/009942.html

right this method is already being used by some most miners, but this isn't standard way to propagate blocks.
should it be?
is this the key to scaling bitcoin?
I think yes on both counts.
right now this method is netting miners >200X coding gain!

Corrected.

This doesn't solve any of the centralization or attack vectors concerns btw

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:30:37 PM
Last edit: September 10, 2015, 02:43:24 PM by adamstgBit
 #21

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.

if miner could communicate 100MB blocks with 250KB of encoded data, this is what will allow bitcoin to scale don't you think.

my guess is they wouldn't even need to send the full 64byte TX IDs only a 4 byte hash of the TX ID should be enoght for other minner to identify the TX's included in the new blocks.

using this method a miner could communicate a block with 250000 TX's!!! ( >400TPS ) with only 1MB of data

 Roll Eyes

What novel idea, maybe you should apply to become a core developer?

Here:

Quote
The relay network includes an optimized transmission protocol which enables sending the "entire" block typically in just a smal number of bytes (much smaller than the summaries you suggest, which still leave the participants needing to send the block).

E.g. block 000ce90846 was 999950 bytes and the relay network protocol sent it using at most 4906 bytes.
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/009942.html

right this method is already being used by some most miners, but this isn't standard way to propagate blocks.
should it be?
is this the key to scaling bitcoin?
I think yes on both counts.
right now this method is netting miners >200X coding gain!

Corrected.

This doesn't solve any of the centralization or attack vectors concerns btw
why?
bigger blocks will no longer mean centralization, if a 1GB block and can be sent using 4MBs!

brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 02:39:09 PM
 #22

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.

if minner could communicate 100MB blocks with 250KB of encoded data, this is what will allow bitcoin to scale don't you think.

my guess is they wouldn't even need to send the full 64byte TX IDs only a 4 byte hash of the TX ID should be enoght for other minner to identify the TX's included in the new blocks.

using this method a miner could communicate a block with 250000 TX's!!! ( >400TPS ) with only 1MB of data

 Roll Eyes

What novel idea, maybe you should apply to become a core developer?

Here:

Quote
The relay network includes an optimized transmission protocol which enables sending the "entire" block typically in just a smal number of bytes (much smaller than the summaries you suggest, which still leave the participants needing to send the block).

E.g. block 000ce90846 was 999950 bytes and the relay network protocol sent it using at most 4906 bytes.
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/009942.html

right this method is already being used by some most miners, but this isn't standard way to propagate blocks.
should it be?
is this the key to scaling bitcoin?
I think yes on both counts.
right now this method is netting miners >200X coding gain!

Corrected.

This doesn't solve any of the centralization or attack vectors concerns btw
why?
bigger blocks will no longer mean centralization, if a 1GB block and can be sent using 4MBs!

 Cheesy

Did you forget about the nodes? 1 GB blocks ?  Cheesy Cheesy Cheesy Cheesy

Seriously, this stuff is just beyond your understanding, just stop it.  Cheesy

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:42:44 PM
 #23

However, the Corallo Relay Network does support a sort of compression.  Rather than transmitting all the transactions in a solved blocks, since most the other miners know about them already, it just transmits indices that refer to each transaction (sort of like a map for how the TXs fit in the block).

I think a more appropriate term for this would be encoding - using codes to represent larger blocks of information that is already known by all parties. This is usually way more effective than blind data compression.

if minner could communicate 100MB blocks with 250KB of encoded data, this is what will allow bitcoin to scale don't you think.

my guess is they wouldn't even need to send the full 64byte TX IDs only a 4 byte hash of the TX ID should be enoght for other minner to identify the TX's included in the new blocks.

using this method a miner could communicate a block with 250000 TX's!!! ( >400TPS ) with only 1MB of data

 Roll Eyes

What novel idea, maybe you should apply to become a core developer?

Here:

Quote
The relay network includes an optimized transmission protocol which enables sending the "entire" block typically in just a smal number of bytes (much smaller than the summaries you suggest, which still leave the participants needing to send the block).

E.g. block 000ce90846 was 999950 bytes and the relay network protocol sent it using at most 4906 bytes.
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/009942.html

right this method is already being used by some most miners, but this isn't standard way to propagate blocks.
should it be?
is this the key to scaling bitcoin?
I think yes on both counts.
right now this method is netting miners >200X coding gain!

Corrected.

This doesn't solve any of the centralization or attack vectors concerns btw
why?
bigger blocks will no longer mean centralization, if a 1GB block and can be sent using 4MBs!

 Cheesy

Did you forget about the nodes? 1 GB blocks ?  Cheesy Cheesy Cheesy Cheesy

Seriously, this stuff is just beyond your understanding, just stop it.  Cheesy
node can do the same damn thing....

1GB is pushing the limits i agree

but its totally reasonable to expect a typical home computer to be able to stream 100MB of TX within 10mins.

at 1MBps you can stream 600MB of data every 10mins

miners/full nodes would simply be expected to be able to keep up with the TPS happening on the network.

and another optimization would be that miners don't include TX's that are likely not to have fully propagate through the network yet.

wtf is wrong with that?

Peter R
Legendary
*
Offline Offline

Activity: 1162
Merit: 1007



View Profile
September 10, 2015, 02:48:50 PM
 #24

Cheesy

Did you forget about the nodes? 1 GB blocks ?  Cheesy Cheesy Cheesy Cheesy

Seriously, this stuff is just beyond your understanding, just stop it.  Cheesy

He seems to understand it better than you, and is more humble with what he claims to know too.  For example, you earlier claimed that the

"Bitcoin does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works."

which is clearly wrong; the Bitcoin P2P protocol supports the propagation of complete (non-encoded) blocks between nodes/miners.  

Some miners use a centralized service called the Relay Network to improve their propagation rate and reduce their orphaning risk. However, this is not Bitcoin; the members of the Relay Network can be thought of as an Industrial Trade Group less centralized than a mining pool but more centralized than an independent miner operating on the P2P network.

Furthermore, the validity of your claim that most miners use the Relay Network depends on the definition of "most."  The empirical network propagation impedance is closer to what you would expect if no miners used the Relay Network than if all miners used the relay network.

Run Bitcoin Unlimited (www.bitcoinunlimited.info)
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 02:50:16 PM
 #25

Firstly zipping is unlikely to reduce the size much at all (as was pointed out) due to most of it being random bytes.

Next I would like to point out that unfortunately, when you use the internet in China, speeds for transmitting (or receiving) data outside of China is actually often much like that in the early 1990's (with home-grade internet at least and even with business-grade it is very slow compared to data transmission between western countries) and the majority of hash-power is currently located in China.

This bandwidth issue is why so-called SPV mining has already been happening in China (which I understand was what had led to the most recent fork that occurred). So even if the block size can be reduced by only including tx hashes the problem will be that some (or maybe many) of the miners in China might still have a problem in keeping up with the TPS (which will likely result in blocks with few txs or perhaps only the coinbase tx).

There is no rule in Bitcoin that says you need to include any tx beyond the "coinbase" (or block reward) and we have seen at times new blocks appearing with no other txs (wasting the potential TPS dramatically). So if the network bandwidth is being pushed too far don't be surprised to start seeing blocks with only one tx in them which would actually mean supporting much larger blocks might simply fail to get txs even included at all.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 02:55:30 PM
 #26

Cheesy

Did you forget about the nodes? 1 GB blocks ?  Cheesy Cheesy Cheesy Cheesy

Seriously, this stuff is just beyond your understanding, just stop it.  Cheesy

He seems to understand it better than you, and is more humble with what he claims to know too.  For example, you earlier claimed that the

"Bitcoin does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works."

which is clearly wrong; the Bitcoin P2P protocol supports the propagation of complete (non-encoded) blocks between nodes/miners.  

Some miners use a centralized service called the Relay Network to improve their propagation rate and reduce their orphaning risk. However, this is not Bitcoin; the members of the Relay Network can be thought of as an Industrial Trade Group less centralized than a mining pool but more centralized than an independent miner operating on the P2P network.

Furthermore, the validity of your claim that most miners use the Relay Network depends on the definition of "most."  The empirical network propagation impedance is closer to what you would expect if no miners used the Relay Network than if all miners used the relay network.

Sure, let's use empirical notions and ignore reality  Roll Eyes


"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 02:58:35 PM
 #27

Firstly zipping is unlikely to reduce the size much at all (as was pointed out) due to most of it being random bytes.

Next I would like to point out that unfortunately when you use the internet in China speeds for transmitting (or receiving) data outside of China is actually often much like that in the early 1990's (with home-grade internet at least and even with business-grade it is very slow compared to data transmission between western countries) and the majority of hash-power is currently located in China.

This bandwidth issue is why so-called SPV mining has already been happening in China (which I understand was what had led to the most recent fork that occurred). So even if the block size can be reduced by only including tx hashes the problem will be that some (or maybe many) of the miners in China might still have a problem in keeping up with the TPS (which will likely result in blocks with few txs or perhaps only the coinbase tx).


chinese miners should setup a node somewhere with a better internet connection that will handle the validation while they hash away in chain. how hard is it for a chinese solo miner to run some software in the cloud? does his full node need to be next to him for it to be considered under his control?

"SPV mining has already been happening in China "

Good! problem solved.

CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 03:00:28 PM
 #28

chinese miners should setup a node somewhere with a better internet connection that will handle the validation while they hash away in chain. how hard is it for a chinese solo miner to run some software in the cloud? does his full node need to be next to him for it to be considered under his control?

Except that it is simply not possible to do this (unless perhaps you own your own internet infrastructure that has fibre cables between China and the outside world and which is not subject to government control and I've certainly not heard of such a thing).

Setting up a VPN or whatever method you want to use to get around the Great Chinese Firewall will stop things like website access restrictions but you can't do anything about the bandwidth restrictions (i.e. you are slowed down to the 1990s).

So it is quite easy to get around blocks to YouTube but forget about trying to watch a HD video.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 03:02:38 PM
 #29

Cheesy

Did you forget about the nodes? 1 GB blocks ?  Cheesy Cheesy Cheesy Cheesy

Seriously, this stuff is just beyond your understanding, just stop it.  Cheesy

He seems to understand it better than you, and is more humble with what he claims to know too.  For example, you earlier claimed that the

"Bitcoin does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works."

which is clearly wrong; the Bitcoin P2P protocol supports the propagation of complete (non-encoded) blocks between nodes/miners.  

Let me rephrase it then:

Bitcoin, as it is implemented right now by most if not all miners, does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works.

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 03:04:41 PM
 #30

chinese miners should setup a node somewhere with a better internet connection that will handle the validation while they hash away in chain. how hard is it for a chinese solo miner to run some software in the cloud? does his full node need to be next to him for it to be considered under his control?

Except that it is simply not possible to do this (unless perhaps you own your own internet infrastructure that has fibre cables between China and the outside world and is not subject to government control).

Setting up a VPN or whatever method you want to use to get around the Great Chinese Firewall will stop things like website access restrictions but you can't do anything about the bandwidth restrictions (i.e. you are slowed down to the 1990s).


ya but they don't need any bandwidth  if their full node is running on a US server.

CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 03:05:47 PM
 #31

ya but they don't need any bandwidth  if their full node is running on a US server.

The point is that their mining operations are in China so having a server running in the US is of zero use.

You have to get the txs sent to China (it doesn't matter whether you are using a VPN or whatever as I pointed out).

Again - to make the point clear - it is easy to get around the blocks to YouTube but you can't watch HD videos because the bandwidth to the "outside world" is just slowed down too much (on purpose).

The US is just too expensive in terms of electricity costs so the Chinese mining operations are not likely to want to set up there.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 03:10:36 PM
 #32

ya but they don't need any bandwidth  if their full node is running on a US server.

The point is that their mining operations are in China so having a server running in the US is of zero use.

You have to get the txs sent to China (it doesn't matter whether you are using a VPN or whatever as I pointed out).


the use would be that there node in US does all the validation work and there mining farm dose only hashing and sends the answer to the full node when they solve the problem so that the node in US can make a block.

you said it yourself there already doing this,  "SPV mining".

also is chain planning on having the worlds shityest interent forever?

adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 03:12:26 PM
 #33

Cheesy

Did you forget about the nodes? 1 GB blocks ?  Cheesy Cheesy Cheesy Cheesy

Seriously, this stuff is just beyond your understanding, just stop it.  Cheesy

He seems to understand it better than you, and is more humble with what he claims to know too.  For example, you earlier claimed that the

"Bitcoin does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works."

which is clearly wrong; the Bitcoin P2P protocol supports the propagation of complete (non-encoded) blocks between nodes/miners.  

Let me rephrase it then:

Bitcoin, as it is implemented right now by most if not all miners, does not currently propagate blocks in their full size, only the tx hashes so your idea is not in touch with how Bitcoin network currently works.

the way blocks are propagated wouldn't need a hardfork then?

GOOD.

CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 03:13:41 PM
 #34

you said it yourself there already doing this,  "SPV mining".

Okay - I get what you mean now and that has some merit (although I guess it is an extra hassle for them to set that up so there is the question of whether they would do so but perhaps enough fees earned per block might make that worthwhile).

I don't think that SPV mining (at least how it is being done currently) works that way though as my understanding was that there was no proper block validation being done at all (which is why the fork happened).

And yes how miners propagate blocks (well block headers actually) to their hashers is not really relevant to the main protocol at all (which is why things like SPV mining already occurs).

The internet within China itself is actually very fast as my wife and I can both watch two different HD movies (that are sourced from within China) at the same time from our fairly standard home connection (hint: the issue with communications outside of China is not really a technical one).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 03:23:58 PM
 #35

What you are attempting to describe is the relay network:

http://bitcoinrelaynetwork.org/

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
Peter R
Legendary
*
Offline Offline

Activity: 1162
Merit: 1007



View Profile
September 10, 2015, 03:28:05 PM
 #36

What you are attempting to describe is the relay network:

http://bitcoinrelaynetwork.org/

One problem with the Relay Network is that it is a centralized service.  I would like to see coding gain for block solutions implemented at the P2P level.  For example, sometimes the Relay Network stops working; if the encoding is done at the P2P level, this wouldn't happen. 

Run Bitcoin Unlimited (www.bitcoinunlimited.info)
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 03:30:22 PM
 #37

What you are attempting to describe is the relay network:

http://bitcoinrelaynetwork.org/

What I had read in terms of the recent fork had mentioned SPV mining so if that *is* the relay network then yes the same thing (and yes reading that link does look to explain why the fork happened in terms of minimal validation being performed).

@Peter R - the link points out that it is not centralised so what makes you say that it is (or do you mean just that the number of nodes is very limited)?

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 03:40:24 PM
 #38

What you are attempting to describe is the relay network:

http://bitcoinrelaynetwork.org/

What I had read in terms of the recent fork had mentioned SPV mining so if that *is* the relay network then yes the same thing.

@Peter R - the link points out that it is not centralised so what makes you say that?


it's sorta centralized. a few nodes all under 1 dudes control....  it could be decentralized, simply by making this the way peers communicate new blocks.
SPV mining and this  relay network  are different things.
this is just a more efficient way of communicating the contents of a new block.
SPV mining is a way of mining without handling block validation so you don't have to download any blocks at all.

Peter R
Legendary
*
Offline Offline

Activity: 1162
Merit: 1007



View Profile
September 10, 2015, 03:43:04 PM
 #39

@Peter R - the link points out that it is not centralised so what makes you say that it is (or do you mean just that the number of nodes is very limited)?

Anyone can presently join the Relay Network; however, because it is not implemented as a P2P protocol in the same way that Bitcoin is, sometimes it "breaks."  If you read through the Relay Network thread, you can confirm for yourself that this is empirically true: https://bitcointalk.org/index.php?topic=766190.0

Run Bitcoin Unlimited (www.bitcoinunlimited.info)
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 03:52:52 PM
 #40

Okay - thanks for the info - so SPV mining is not the same as the Relay Network?

So do we know exactly what software was being run by the pools that caused the fork?

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Kprawn
Legendary
*
Offline Offline

Activity: 1904
Merit: 1073


View Profile
September 10, 2015, 03:56:54 PM
 #41

Is the internet data exiting and entering China being filtered via Firewalls at data centers, where the cables join with the mainland? Is this why the internet speed within the

country is so low? Like working through a online proxy or VPN service? I saw a video once, where a Chinese guy were playing Starcraft and his response time was pretty fast.

His opponent was from the same country, but from a different location within China. I guess the Chinese have a point, when they complain about the West having the advantage

of unrestricted fast internet access, when they have to compete from their country, through these firewalls.  Roll Eyes    

THE FIRST DECENTRALIZED & PLAYER-OWNED CASINO
.EARNBET..EARN BITCOIN: DIVIDENDS
FOR-LIFETIME & MUCH MORE.
. BET WITH: BTCETHEOSLTCBCHWAXXRPBNB
.JOIN US: GITLABTWITTERTELEGRAM
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 03:58:22 PM
 #42

Okay - thanks for the info - so SPV mining is not the same as the Relay Network?

So do we know exactly what software was being run by the pools that caused the fork?


IDK, a faulty SPV written by the chinese miners?

I once had to reverse engineer a piece of code written by chinese poeple, their code was unbelievable, pure spaghetti! goto's and all.

CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 04:00:57 PM
 #43

Is the internet data exiting and entering China being filtered via Firewalls at data centers, where the cables join with the mainland?

Slowed down rather than filtered at the lower levels (so even if you get past the firewall you are back in the 1990s).

Is this why the internet speed within the country is so low?

Within China itself the speed is very fast (as I mentioned my wife and I can both watch a different HD movie at the same time with no problem here).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
brg444
Hero Member
*****
Offline Offline

Activity: 644
Merit: 504

Bitcoin replaces central, not commercial, banks


View Profile
September 10, 2015, 04:01:43 PM
 #44

Okay - thanks for the info - so SPV mining is not the same as the Relay Network?

So do we know exactly what software was being run by the pools that caused the fork?


Not at all.

Here:
http://bitcoin.stackexchange.com/questions/38437/what-is-spv-mining-and-how-did-it-inadvertently-cause-the-fork-after-bip66-wa
https://www.reddit.com/r/Bitcoin/comments/3c305f/if_you_are_using_any_wallet_other_than_bitcoin/csrsrf9

"I believe this will be the ultimate fate of Bitcoin, to be the "high-powered money" that serves as a reserve currency for banks that issue their own digital cash." Hal Finney, Dec. 2010
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 10, 2015, 04:02:38 PM
 #45

I once had to reverse engineer a piece of code written by chinese poeple, their code was unbelievable, pure spaghetti! goto's and all.

There are goto's in Bitcoin's code written by some Americans - so go figure - people all around the world can write spaghetti and use goto statements.

Also reverse engineering C or C++ won't produce anything readable at all (as it is compiled).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 04:07:52 PM
 #46

I once had to reverse engineer a piece of code written by chinese poeple, their code was unbelievable, pure spaghetti! goto's and all.

There are goto's in Bitcoin's code written by some Americans - so go figure - people all around the world can write spaghetti and use goto statements.

Also reverse engineering C or C++ won't produce anything readable at all (as it is compiled).


they gave me their source, we work together. ( maybe reverse engineer isn't the right thing to say, i needed to see how they handled certain things so my code could adhere to the same rules, which their code defined. )
well i had seen spaghetti code before, but this took it to a new level.

adamstgBit (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1037


Trusted Bitcoiner


View Profile WWW
September 10, 2015, 04:11:28 PM
 #47

so there you have it we can easily scale bitcoin to 4,000TPS while making sure typical home internet can handle mining operations.

no side chains.
no 3rd party payment processors.

call the devs, tell them can bump block limit to 1GB  Grin

uxgpf
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
September 10, 2015, 04:41:07 PM
 #48

I mean.. we're really trying to have rational discussions about scaling and security yet some of you are ignorant of some of the most basic innerworkings of Bitcoin.

Then you wonder why no one cares or value your opinion...

What is wrong with people asking questions and trying to learn?

They might form informed opinions of their own, which in turn would reduce effectiveness of trolling. Smiley
btc_enigma
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
September 10, 2015, 06:12:55 PM
 #49

Really interesting ... !  There is some redundancy in a block , you easily see multiple txs referring to same txid as input ... saw https://gappleto97.github.io/visualizer/ today and looks like there are lots of cluster.  Not sure how much that would help to reduce size

johnyj
Legendary
*
Offline Offline

Activity: 1988
Merit: 1012


Beyond Imagination


View Profile
September 11, 2015, 04:13:45 AM
 #50

That invertible bloom look-up table sounds promising, but would take some time to implement, especially need to have a consensus first

Pages: 1 2 3 [All]
  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!