Author

Topic: Where are transactions stored before confirmed (Read 1241 times)

legendary
Activity: 1372
Merit: 1005
November 24, 2016, 11:04:31 PM
#13
in you wallet I guess as there wont show on blockchain until one confirm

Using the blockchain web wallet when I receive a payment after 1st confirmation I can see the progress of pending confirmations from 1 to 3. When I send an amount I can't see anything. I must use a blockchain explorer.


These confirmations use to move via mining blocks as your transacting bitcoins through the nodes. This is why it is wait to get the multiple confirmations. If you wish to transfer soon increase your fee amount.
legendary
Activity: 3052
Merit: 1188
Unconfirmed transactions are stored in the memory of full nodes. If the full node is turned off (or rebooted) they are lost. Miners usually have at least one full node running in order to gather unconfirmed transactions and send blocks once founds.

So the transactions are already distributed between nodes? If your node goes down , the "node next door" already have that transaction? or the transactions are stored only in one node and the mining nodes need to go after transactions on other nodes when they succeed at mining?
Yes, the unconfirmed transactions are distributed into node and that is the reason that there is no worry to get lost the bitcoins as if one node turn down the other will confirm the transaction and can transact bitcoin without any worry.
sr. member
Activity: 406
Merit: 252
Veni, Vidi, Vici
in you wallet I guess as there wont show on blockchain until one confirm

Using the blockchain web wallet when I receive a payment after 1st confirmation I can see the progress of pending confirmations from 1 to 3. When I send an amount I can't see anything. I must use a blockchain explorer.
hero member
Activity: 658
Merit: 501
Hackers please hack me .... if you can :)
in you wallet I guess as there wont show on blockchain until one confirm

Usually in almost every wallet that I know the transaction is showed as unconfirmed in the moment the wallet first receives it. In Electrum for example if you right click on a transaction which reads as unconfirmed it will send you to a web page (blockchain or block trail) which are 2 of the most famous block explorers and you can get an approximate when your transaction will be confirmed. If it says high priority it will be confirmed sooner rather than later. If it's medium priority or the fee is less than recommended than it will confirm later rather than sooner.
member
Activity: 122
Merit: 10
in you wallet I guess as there wont show on blockchain until one confirm
legendary
Activity: 4466
Merit: 3391
Nice, everything is much clearer now, there's some "default" source for such information? there's some documentation about the internals of the bitcoind?

https://en.bitcoin.it
https://bitcoin.org/en/developer-guide
Mastering Bitcoin by Andreas M. Antonopoulos: http://chimera.labs.oreilly.com/books/1234000001802/index.html

BTW, When people refer to the "mempool", they are referring to the collection of unconfirmed transactions held by a full node.
staff
Activity: 3458
Merit: 6793
Just writing some code
Nice, everything is much clearer now, there's some "default" source for such information? there's some documentation about the internals of the bitcoind?
Besides the source code itself, bitcoin.org has developer documentation that goes fairly in depth into the technical aspects of Bitcoin. However, I don't think there really is anything specific for bitcoind. You can poke around in the documentation in the repository for Bitcoin Core though.
newbie
Activity: 38
Merit: 0
Nice, everything is much clearer now, there's some "default" source for such information? there's some documentation about the internals of the bitcoind?
legendary
Activity: 3472
Merit: 4801
If a transaction takes a very long time to confirm, eventually nodes will choose to drop the transaction out of their memory to make room for newer transactions.  If all the nodes have forgotten a transaction, then it won't ever get confirmed (unless someone, such as the original sender or receiver, re-braodcasts the transaction to remind all the nodes about it and get it back into their memory).
staff
Activity: 3458
Merit: 6793
Just writing some code
Unconfirmed transactions are stored in the memory of full nodes. If the full node is turned off (or rebooted) they are lost. Miners usually have at least one full node running in order to gather unconfirmed transactions and send blocks once founds.

So the transactions are already distributed between nodes? If your node goes down , the "node next door" already have that transaction? or the transactions are stored only in one node and the mining nodes need to go after transactions on other nodes when they succeed at mining?
All nodes store the transaction if they find it acceptable for relaying. Thus all nodes will have the transaction. Mining nodes pull from their own memory pool of transactions when they build blocks.
newbie
Activity: 38
Merit: 0
Unconfirmed transactions are stored in the memory of full nodes. If the full node is turned off (or rebooted) they are lost. Miners usually have at least one full node running in order to gather unconfirmed transactions and send blocks once founds.

So the transactions are already distributed between nodes? If your node goes down , the "node next door" already have that transaction? or the transactions are stored only in one node and the mining nodes need to go after transactions on other nodes when they succeed at mining?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
I was reading about the bitcoin process online, and I found out that transactions only get inside the blockchain after they get confirmations, they are then attached to a block and start they life inside the chain.

But where are they stored before confirmations? there's a central point or there's a "second chain" inside the first one, without confirmations? How miners reach such transactions if they aren't distributed yet.

ps.: tried search but no luck :/

Unconfirmed transactions are stored in the memory of full nodes. If the full node is turned off (or rebooted) they are lost. Miners usually have at least one full node running in order to gather unconfirmed transactions and send blocks once founds.

This is a graph of the memory usage on my node, as you can see I restarted it a few days ago when I updated to a new version.

newbie
Activity: 38
Merit: 0
I was reading about the bitcoin process online, and I found out that transactions only get inside the blockchain after they get confirmations, they are then attached to a block and start they life inside the chain.

But where are they stored before confirmations? there's a central point or there's a "second chain" inside the first one, without confirmations? How miners reach such transactions if they aren't distributed yet.

ps.: tried search but no luck :/
Jump to: