A block can hold at most 1 MB of data. Segwit nodes also store witness data in a separate location that is limited to 4 MB
Is a wallets balance available on the blockchain? Is a specific wallets UTXOās visible for others to see?
Yes, everyone can check everything that ever happened on the Bitcoin blockchain. There are privacy focused blockchains that obscure that data.
Is this an accurate statement āBitcoin is the protocol that is run on the Bitcoin blockchain, where the bitcoin currency is exchanged.ā
This is kind of asking if the grammar is correct Iām not that good at it.
I would say its the protocol on the bitcoin network to exchange bitcoin
I guess its technically correct
Iām excited to conclude the last section of this very interesting course Letās go, go, go, go, go, goā¦
Hello There,
My understanding for Bitcoins is now reached a good level, thanks to this wonder course.
I presume this is just a side kick course for thos who are interested in going further with Crypto.
I am enjoying and grasping more knowledge.
Once the 21 million bitcoins are mined, are transaction fees going to be incentive enough to keep miners mining? And what about someone who is trying to send only a very small amount of bitcoin then, would miners even bother putting their transactions into the block they are working on.
Forgive me if this has already been asked and responded to, however I didnāt see it when I scanned through this discussion.
Does waiting for 6 confirmations prior to having a transaction confirmed mean that 6 blocks have to be produced after the transaction? If so would that mean a transaction would take up to an hour to be confirmed? 6 blocks times 10 minutes a block = 60 mins?
Transaction is considered confirmed once it it mined in a block. After an hour the transaction is considered permanently settled.
So far I am really enjoying the course, Iām learning a lot as I am not a computer kind of person. I am excited to learn more and figure out what direction would be good for me to go full time crypto!
So I have seen articles talking about how governments have confiscated bitcoin from people that broke the law. How do they get the bitcoin without the private keys?
Depends on where they stored their coins. They might have confiscated it from an exchange or got hold of the keys somehow.
Alert: very long comment
1.
I googled that full copy of blockchain is approximately 302 GB big and currently is backed up by ~ 7,000 computers. I understand that this data is stored on full nodeās harddrive. Then I googled that SPVs download only headers of all blocks which is way smaller amount of data. However how big is this lightweight copy? And can it be stored in temporary memory?
2.
Also I have this reflection. If all people on planet use bitcoin, then there will be a huge amount of transactions executed and stored into blockchain. Which means that a lot of storage will be required to be a full node so normal people coudnāt afford it.
Now a question, in extreme scenario, is possible for bitcoin to work safely if there will be only one (or few) full node in the world and others would be SPVs? Am I right if I say it could work and still coudnāt be hacked? Because changing the data in blocks on full nodeās device would result in different hashes of blocks (headers would change) and therefore SPVs coudnāt allow that.
Also would it work if all full nodes go offline (for example hackers cut them off of electricity) and SPVs stay connect with their lightweight copies? Of course transactions coudnāt be executed by that time but when full nodes go back online everything returns to normal?
I also found out that one block (1MB) can contain more than 500 transactions on average. And for example for bitcoin cash it can be 8MB. If this helps as well
An SPV will only query a full node with information involving your keys. I should look up how big the data is, Thanks to you, I will research on that.
The size of the blockchain of my node is currently 350GB
Thatās why Big blocks is bad for decentralization, so the segwit softfork is way better than the Bitcoin cash alternative in terms of decentralization. Everybody should be able to run a full node. But prices of hard drives are not that high, and I run a full node on a raspberry pi, I think I paid about 150euro for the pi + 1 terabyte SSD + sdcard.
Check also this older post why full nodes matter:
Also about why Big Blocks are Bad:
Right now bitcoin have a lot of transaction 1MB block and hold so many transaction, which increase the fees because there is no system to judge what is spam and was is a transaction. Equally there is not system to judge if your transaction is more important than your neighbors.
The option is in the hand of everyone, you want your transaction to go faster you pay higher fees. Since the 1MB gets filled and one is created every 10 mins higher fees you pay higher chances you get into the next block.
The problem with block increase, is that if you want to clear the line right now you would need bigger block and this require a hard fork and code upgrade. Not that bad right? No itās not that BAD.
Letās say to sustain the current traffic of bitcoin we need 8MB block and you get low fees transaction are super fast etcā¦ everyone is happy.
Fast forward 2 years in the future, bitcoin is a bit more mainstream a lot of people starts trading it, invest in it. We are seen as MUST have asset the traffic had increased 10 foldsā¦ 8MB -> 16MB -> 32MB -> 64MB -> 128MB -> 256MB -> 512MB -> 1024MB -> 2048MB -> 4096MB
Now we need 4Gig blocks to sustain traffic, but remember blocks gets released every 10 minutes, so you need to validate a block before one get released.
Now nodes have to validate 4Gb blocks every 10 mins, blockchain is growing 4GB every 10 minutes. Considering there is 6x4GB blocks in an hour 24GB increase in an hours 24 hours in a day 576GB per day of blocks 4TB a week. 208 TB of data in a yearā¦
I donāt think the regular average joe will run a node for fun and have to keep a datacenter in his house just for āfunā or to help bitcoin.
So youāre creating centralisation of nodes and only big companies can run them. So you need a ābankā to run your nodes ( hold the ledger of all transaction ) and we came full circle. We just recreated the traditional banking system.
There are green energy solutions and generators, also you donāt necessarily need the internet. (satellites etcetera)
But imagine if everything is down, hackers canāt manipulate the blockchain, because once itās back āonlineā (sort of speak) you still have copies all over the world and you need todo proof of work to change stuff or add a new block. So the state of the blockchain when everything is down, is still on the hard-drive of each node to manually check with multiple people having a full node
So NO it would not be safe if only 1 or few full nodes exist, because miners who can create blocks must have a full node. So if there is only 1 full node, he is basically in control of the whole network and can manipulate whatever he likes. The mining difficulty would be so low if there is only a few full node in existence, that others would join the network and starting to run a full node and mining blocks. because the less miners, the easier to mine and get the blockreward. Thatās so genius about Bitcoin, that it plays with the mining incentives and reward people to be honest and mine blocks.
Every 2016 blocks, mining difficulty gets adjusted. 2016 blocks need to be mined in 2 weeks (if you calculate this 2016 x 10minutes = 20160 minutes = 2 weeks. When 2016 blocks are mined faster than 2weeks, the difficulty will increase accordingly (and vice versa)
So when more miners join the network, the harder it gets to mine a valid block.
PS.
Check this cool website about the Bitcoin statistics and economy:
Okay, so how much of storage / RAM does SPV need in order to query a full node? I know it will be a small number. I am just curious.
Lets hope then that technology (storage capacity) will evolve faster than people joining the bitcoin. So every regular joe could afford to have a full node at home at every point of time in the future
Thanks for the big answers and also for this site - thatās very cool!
Everybody can afford it at this point, 150dollars isnāt that much money to run a full bitcoin node on a raspberry pi. And it doesnāt consume much electricity. Iām running open-source software that makes it much easier. There are a couple of good solutions that makes it more user-friendly like MynodeBTC, CASANode, raspiblitz, nodl,ā¦
I flashed the sdcard in my pi with the free open-source software of: https://mynodebtc.com/
So donāt worry, everybody can afford to run a full Bitcoin node and it is very cheap. You just need a bit of technical know-how.
Hi all, if the fees will be growing (because block reward decreases with time), isnāt this going against the people who are using bitcoin? So at the end nobody will use it because of the fees?
Bitcoin is not designed to have low fee. It is designed to have a immutable decentralized censorship resistant ledger for peer 2 peer transactions that eliminates 3th party trust to transact. The lightning network is second layer solution on the Bitcoin blockchain for small payments with basically Negligible amount of fee and have instant settlement. Perfect for micro payments. It just needs more adoptions and more people running full nodes with many channels.