Bitcoin Forum

Other => Beginners & Help => Topic started by: chainofzee on July 26, 2021, 07:28:23 PM



Title: Where do bitcoin states get stored?
Post by: chainofzee on July 26, 2021, 07:28:23 PM
Hello friends,

Where do bitcoin states are stored?
is it within the block or the root?


Title: Re: Where do bitcoin states get stored?
Post by: suzanne5223 on July 26, 2021, 09:08:41 PM
Your question is somehow complicated and understandable cause I have never read where Bitcoin has a state and it will be appreciated if you can be more specific with your question for better understanding. But if you're referring to where Bitcoin is stored, it is store on Keys and the keys come in 2 pairs.


Title: Re: Where do bitcoin states get stored?
Post by: jackg on July 26, 2021, 09:33:13 PM
Bitcoins are stored on the blockchain.

Each spendable amount of bitcoin is represented in nodes databases (chain state) as "UTXOs" which are used to verify if a transaction is valid.

Ethereum and a few other altcoins have states, bitcoin doesn't need them.

If you want more information, you might need to ask more questions.

Also the root of a block is generally a hash that is used to help determine if a block has been solved as well as to determine whether the block has been tansferred between nodes correctly (one of the applications of sha256 is to determine data has been transmitted without corruption).


Title: Re: Where do bitcoin states get stored?
Post by: Iceblast on July 26, 2021, 11:01:07 PM
what bitcoin status do you mean? bitcoin transaction status or bitcoin fee status? looks like you should be more clear try to give an explanation before asking


Title: Re: Where do bitcoin states get stored?
Post by: chainofzee on July 27, 2021, 04:25:34 PM
Your question is somehow complicated and understandable cause I have never read where Bitcoin has a state and it will be appreciated if you can be more specific with your question for better understanding. But if you're referring to where Bitcoin is stored, it is store on Keys and the keys come in 2 pairs.

I was reading ETH whitepaper & this caught my attention:
 
"The "state" in Bitcoin is the collection of all coins (technically, "unspent transaction outputs" or UTXO) that have been mined and not yet spent, with each UTXO having a denomination and an owner (defined by a 20-byte address which is essentially a cryptographic public keyfn. 1)."

Then, further in the whitepaper [about the ethereum] he talks about Patricia tree & adds:

"Additionally, because all of the state information is part of the last block, there is no need to store the entire blockchain history - a strategy which, if it could be applied to Bitcoin, can be calculated to provide 5-20x savings in space."

then i thought what is the mechanism of checking the states if they're not in the block? I've never thought of it before & I believe i need to read a bit more about chainstates.


Title: Re: Where do bitcoin states get stored?
Post by: Husnain651 on July 27, 2021, 07:08:59 PM
You mean where Bitcoin will store?
Bitcoins are stored in a “digital wallet,” which exists either in the cloud or on a user's computer. The wallet is a kind of virtual bank account that allows users to send or receive bitcoins, pay for goods or save their money.


Title: Re: Where do bitcoin states get stored?
Post by: khaled0111 on July 28, 2021, 10:53:39 PM
^^
This is not correct. Your coins aren't stored in your wallet but in the blockchain as unspent tx outputs. A wallet is just a tool to interact with the blockchain using your keypairs (public and private keys).

In fact, you don't even need a wallet to send/receive bitcoin, you can use a tool such as coinb.in (https://coinb.in/) to create the raw transaction, sign it then broadcast it to the network.


Title: Re: Where do bitcoin states get stored?
Post by: GeorgeJohn on July 28, 2021, 11:09:48 PM
Your question is somehow complicated and understandable cause I have never read where Bitcoin has a state and it will be appreciated if you can be more specific with your question for better understanding. But if you're referring to where Bitcoin is stored, it is store on Keys and the keys come in 2 pairs.
Lol....Really the question of op is complicated, i think the question suppose be how do we keep or store bitcoin for long period "instead using where do bitcoin States get stored" because it's obvious that bitcoin don't have a state of origin, because from my perspective bitcoin can't be directed or channel to a particular country that they invent cryptocurrency, so from that concept or reason i think bitcoin has no base like earth and it's spherical.