Bitcoin Forum
May 05, 2024, 08:48:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Questions about Block!  (Read 181 times)
nrnahid (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
October 03, 2019, 05:58:44 PM
 #1

I'm a new comer to bitcoin but I am intrigued by the idea and the implementation. I still find myself confused regarding some basic concepts. Hopefully I don't belabor your patience but perhaps this is a hint that maybe we need to work on the documentation a bit more.

my Question
I guess a lot of my confusion revolves around what a transaction is. Perhaps I have missed something but it seems to me that any documentation I have read seems to gloss over what a transaction is. If blocks form a chain and must be solved, and if the solution of the block depends on the hash of the block, doesn't adding a transaction to a block invalidate the solution? If the number of blocks are finite and blocks are not mutable (transactions cannot be added to them), doesn't that imply that the number of transactions is also finite.
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714898903
Hero Member
*
Offline Offline

Posts: 1714898903

View Profile Personal Message (Offline)

Ignore
1714898903
Reply with quote  #2

1714898903
Report to moderator
1714898903
Hero Member
*
Offline Offline

Posts: 1714898903

View Profile Personal Message (Offline)

Ignore
1714898903
Reply with quote  #2

1714898903
Report to moderator
1714898903
Hero Member
*
Offline Offline

Posts: 1714898903

View Profile Personal Message (Offline)

Ignore
1714898903
Reply with quote  #2

1714898903
Report to moderator
lionheart78
Legendary
*
Offline Offline

Activity: 2898
Merit: 1152



View Profile WWW
October 03, 2019, 07:02:58 PM
 #2

It seems this somehow answer your question

Quote
How are Facts Guaranteed to be Secure?
A blockchain is a data structure made up of blocks of data, and they are linked together; hence the chain. Each block is made up of multiple "transactions" or simply, "facts." In the case of Bitcoin, the facts stored describe the transfer of Bitcoin from one address to another. Blockchain software will calculate checksums for each block. Data fed into this calculation includes many things, including the checksum of the prior block. Including the prior block’s checksum in the calculation for a new block is what makes rewriting a blockchain near impossible.

In Bitcoin, every new transaction floats in a "transaction pool" which is a collection of "facts" that are on-deck to be written to the blockchain. Once enough transactions have accumulated, Bitcoin nodes begin the process of creating a new block and adding it to the chain. This action, in effect, creates a permanent record of these previously unvalidated transactions.

You've likely heard the term "mining." Mining means taking several inputs and hashing them together along with some random data to attempt to produce a checksum that conforms to a certain format. This format will look something like this: "0000000000000000003be1274dc6a9cac5b9096143a82cb85f829bac614c39b4"

https://www.verypossible.com/blog/blockchain-explained-how-does-immutability-work

As I understand it, it became immutable once a block (containing all the data) is  published/broadcast and verified by other nodes. Anyone? Please correct me if I am wrong.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
franky1
Legendary
*
Online Online

Activity: 4214
Merit: 4465



View Profile
October 03, 2019, 07:26:05 PM
Merited by NeuroticFish (2), hugeblack (1)
 #3

transactions in very simple form are like
from(amount)to(amount)signature

the signature is created using privatekey of the from

those making blocks do not make a block and put transactions into it. it is NOT a make a cardboard box then fill it... instead its collate transactions together into a batch and the batch is a block. kinda like harvest the wheat and make a haybale

you then also add the solved block hash of the previous block. thus linking blocks together into a chain
you then make a block hash for your block, in simple terms an ID that is a calculation of all the data in the batch

if you change a transaction you change the blocks ID.
if you change the transactions in previous block or change the previous blocks, the previous ID's wont match and so the one in your block wont match.

so by having the hashes shows the data is valid and not edited as it can be easily checked

then to secure it, the blocks id is sent to special equipment that hash it trillions of times until a new ID comes out of it that has to have a specific number of 0's at the start. the more zeros the harder it is for someone else to try finding the same hash ending

..
so a transaction is a simple piece of data saying where funds came from and going to and proof you have the secret password to the origin funds.
once collected into a group of transactions and added the id of previous block. you then secure your block with a strong id. that way if anyone tries to change the past they have to change everything that happened after that point as the hashes thy have and the hashes you have wont match.


I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
figmentofmyass
Legendary
*
Offline Offline

Activity: 1652
Merit: 1483



View Profile
October 03, 2019, 07:32:59 PM
Last edit: October 03, 2019, 07:43:29 PM by figmentofmyass
 #4

my Question
I guess a lot of my confusion revolves around what a transaction is. Perhaps I have missed something but it seems to me that any documentation I have read seems to gloss over what a transaction is. If blocks form a chain and must be solved, and if the solution of the block depends on the hash of the block, doesn't adding a transaction to a block invalidate the solution?

the hash of the previous block, not the current block. see here: https://en.bitcoin.it/wiki/Block_hashing_algorithm

Quote
In bitcoin the service string is encoded in the block header data structure, and includes a version field, the hash of the previous block, the root hash of the merkle tree of all transactions in the block, the current time, and the difficulty...When mining bitcoin, the hashcash algorithm repeatedly hashes the block header while incrementing the counter & extraNonce fields.

a miner must build on top of the previous block (otherwise the blocks he publishes will be rejected by the network) but including previously unconfirmed transactions in the body of new blocks is fine.

If the number of blocks are finite and blocks are not mutable (transactions cannot be added to them), doesn't that imply that the number of transactions is also finite.

past blocks are not mutable, to the extent that proof of work secures them. this doesn't apply to blocks yet to be mined.

Mandoy
Sr. Member
****
Offline Offline

Activity: 644
Merit: 264


Aurox


View Profile
October 17, 2019, 04:09:05 AM
 #5

Mining and transactions are two different things. Mining is when you are solving algorithms using your hardware to catch a block. Transactions on the other hand is when you transfer an already mined bitcoin from  one address to another address. Mining is limited since there are only  21 millions bitcoin to be mined while transactions are unlimited since even if there is no more mining transactions will still continue.

Aurox.
 
Designed to make
you money
|Proprietary Indicators
& Signals
|||                  ▄██▄▄▄▄▄
                ▄████████▀█▄▀
            ▄▄██████████▀
           ██████████▀██
          ███████████▄▄ ▄▄
         ██████████████ ▀▀█▄
     ▄▄████████████▀▄█▀   ▀▀
▄▀▀ ███████████▀▀▀ ██▀
▀▄▄▀ ██████▀ ▄▄
      ████▀ ██▀
     ███▀  █▀
     ▄█▌  ▐█▌
     ▀██   ▀▀
██████████████████████████████████████████
.
█████████████   ████

Get Started. FREE!
██   ████   ██████   ████████   ██████████████████████████

█████████████████████████████████████████████████████████████████████████
franky1
Legendary
*
Online Online

Activity: 4214
Merit: 4465



View Profile
October 17, 2019, 05:03:09 AM
Last edit: October 17, 2019, 05:22:35 AM by franky1
 #6

Mining and transactions are two different things. Mining is when you are solving algorithms using your hardware to catch a block. Transactions on the other hand is when you transfer an already mined bitcoin from  one address to another address. Mining is limited since there are only  21 millions bitcoin to be mined while transactions are unlimited since even if there is no more mining transactions will still continue.

such much is wrong with that statement

transactions are information about where funds came from and where their going to.

a confirmed transaction is when said transaction has been included in a block, and said block has gone through the mining process and majority accepted by nodes verifying theres nothing wrong with all the data.

mining is the process of using math to produce a very hard to replicate hash of the blocks initial id. making a super strong ID that takes effort/cost to undo/replicate

mining is NOT limited, because even after the 21m coins get into circulation, miners can still mine and just take a fee from existing coins rather than creating more coins, by charging a cost to those making transactions.

if there was no more mining. then transactions dont get confirmed. thus making bitcoin useless. so mining has to continue to have the ability to make transactions.

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
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!