Bitcoin Basics - Discussion

Increased privacy by being able to broadcast txs using your node and also other reasons like running a lightning node, your own explorer, or simply for development purposes. There are a lot of reasons to run a node. :slight_smile:

1 Like

I feel really comfortable about Bitcoin and Blockchain!

1 Like

Who’s up to date with available information regarding quantum computers?

Would it be possible to hack the Bitcoin blockchain or any other major decentralized network as they are now/once they are “fully developed” (once all Bitcoin blockchain blocks are mined, for example)?

ALL THE BEST!

1 Like

It will probably take a very long time to be able to crack bitcoin. Eleptic curve cryptography is the most vulnerable to it. But when we notice that it’s getting closer, the community can always fork to change things.
By the way, if quantum computers can break bitcoin, bitcoin would maybe the least of your problems. Every bank, the internet etcetera uses this kind of cryptography.

2 Likes

Thank you, Fabrice!

Glad to find kind individuals on the space to learn and progress in the fascinating world of Blockchain. :smiley:

1 Like

Everything is exceeding expectations. Enjoying all of the knowledge and I cant wait to learn more. The information on Public and Private keys has been quite helpful. Overall I look forward to growing with you all. Hears to an exciting trip to the moon.

1 Like

I have difficulty in understanding miners. If there are no miners, no transactions can be confirmed. As the total number of Bitcoins approaches 21M, it will become more and more difficult to mine. If the value of bitcoin increases all the time, I can understand this. But the value of Bitcoin is determined by the market. If the value of bitcoin goes down, the difficulty of producing bitcoins increases, miners might all lose interest and the eco-system will fall over.

But every 2016 blocks, mining difficulty gets adjusted to maintain statistically approximately 10minutes between blocks. If many miners stop mining, the difficulty will drop wich will makes it easier for others to start mining to get a financial reward (block subsidy + transaction fee’s from each transaction they add into a block) that’s what makes it so genius. People are incentivized to keep mining. So as long people like to make money, bitcoin will keep producing new blocks.

2 Likes

Thank you. It is genius!

2 Likes

Hi,

I have a questions, count on your assistance here :slight_smile:

  1. What is a incentive of how many transactions miner will put into the block?
  2. Number of TXs does not impact the time of solving the cryptographic puzzle right? It is anyway hashed and the nonce needs to be guessed and fit into the TARGET.
  3. May it happen that 1 out of the whole network of nodes does not agree? Let’s say according to one node the TX does not fullfile the requirements and then it would be eventually rejected?
  4. How the wallet choose the UTXOs which will use when I prepare a new transaction? Is it randomly done? Is it FIFO/LIFO? I guess the priority is on the UTXOs which perfectly matches the amount we want to send? I mean UTXOs = 2BTC and the exact amount we would like to deliver further.
  5. How in practice we can send BTC at the same time to several addresses (more than 2, cause in example of two in can be a ‘change’ returned to our account).

Thanks in advance !

Thank you! I was looking for the simulator link

1 Like

The miners incentive is to put as many tx in a block as possible with the highest fees.

No, the block time is fixed to 10m and is regulated based on the network hash rate.

In that case the node would probably fork.

This is more up to the implementation of the wallet. So it not strictly defined, UTXOs can be picked either way one sees fit.

You can either construct a transaction manually using the CLI, you can have a look at our Bitcoin Programming course to learn how to do it or use a wallet that supports this feature. Most user friendly wallets only allow to send to one address. :slight_smile:

1 Like

Thank you Alko, I do appreciate your help. I posted couple of continuation questions.

yes

If a tx is not in consensus with a specific node and all other nodes agree with it that means the node has different rules in place, therefore the node will fork from the network because it technically has its own consensus that is not in line with the rest of the network.

1 Like

How long do transactions typically stay in the mempool and on average how many transactions can be put inside a block?

It completely depends on the tx fee and how filled the mempool is. Same is for tx in a block, it depends on the complexity of transactions and tbh I never did any calculations how large an average tx is. :slight_smile:

1 Like

I am confused: If I have 3 inputs that equal 1.0 bitcoin and I want to buy something for 0.7, why do I have to spend the rest of the 0.3?

It depends what is the value of your inputs. If you want to spend an amount which is the sum of two UTXOs, then there is no need to send anything more but if you want to process transaction -> 0.7 and you have only two UTXOs (0.4 BTC and 0.5 BTC) then you would be required to use both and send the rest (0.9 BTC - 0.7 BTC = 0.2 BTC) to yourself.

1 Like

And what is the incentive to run a full-node? What drives people to make it?
Miners are rewarded with fees + BTC and what about nodes?

If remember well, all miners are as well a nodes, but nodes are not necessary miners.

1 Like

Because of immutability if you spend only a part of UTXO that would mean you would have to update its value on the blockchain and that would mean updating the value that is stored in a block on the blockchain. That is why you have to use the entire amount and create two new outputs instead. :slight_smile:

2 Likes