John3D (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
|
November 17, 2016, 08:08:29 PM |
|
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 :/
|
|
|
|
shorena
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1540
No I dont escrow anymore.
|
|
November 17, 2016, 08:13:33 PM |
|
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.
|
Im not really here, its just your imagination.
|
|
|
John3D (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
|
November 17, 2016, 08:17:48 PM |
|
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?
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3570
Merit: 6927
Just writing some code
|
|
November 17, 2016, 08:24:50 PM |
|
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.
|
|
|
|
DannyHamilton
Legendary
Online
Activity: 3514
Merit: 4894
|
|
November 17, 2016, 08:50:48 PM |
|
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).
|
|
|
|
John3D (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
|
November 17, 2016, 09:21:33 PM |
|
Nice, everything is much clearer now, there's some "default" source for such information? there's some documentation about the internals of the bitcoind?
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3570
Merit: 6927
Just writing some code
|
|
November 17, 2016, 10:03:35 PM |
|
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.
|
|
|
|
odolvlobo
Legendary
Offline
Activity: 4522
Merit: 3426
|
|
November 18, 2016, 07:33:49 PM |
|
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.ithttps://bitcoin.org/en/developer-guideMastering Bitcoin by Andreas M. Antonopoulos: http://chimera.labs.oreilly.com/books/1234000001802/index.htmlBTW, When people refer to the "mempool", they are referring to the collection of unconfirmed transactions held by a full node.
|
Join an anti-signature campaign: Click ignore on the members of signature campaigns. PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
|
|
|
mbpinewatch
Member
Offline
Activity: 122
Merit: 10
|
|
November 19, 2016, 03:53:24 AM |
|
in you wallet I guess as there wont show on blockchain until one confirm
|
|
|
|
zend7
|
|
November 19, 2016, 10:49:06 AM |
|
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.
|
|
|
|
sportis
Sr. Member
Offline
Activity: 406
Merit: 252
Veni, Vidi, Vici
|
|
November 22, 2016, 09:18:50 AM |
|
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.
|
|
|
|
beerlover
Legendary
Offline
Activity: 3094
Merit: 1191
|
|
November 24, 2016, 08:22:16 PM |
|
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.
|
| | . .Duelbits│SPORTS. | | | ▄▄▄███████▄▄▄ ▄▄█████████████████▄▄ ▄███████████████████████▄ ███████████████████████████ █████████████████████████████ ███████████████████████████████ ███████████████████████████████ ███████████████████████████████ █████████████████████████████ ███████████████████████████ ▀████████████████████████ ▀▀███████████████████ ██████████████████████████████ | | | | ██ ██ ██ ██
██ ██ ██ ██
██ ██ ██ | | | | ███▄██▄███▄█▄▄▄▄██▄▄▄██ ███▄██▀▄█▄▀███▄██████▄█ █▀███▀██▀████▀████▀▀▀██ ██▀ ▀██████████████████ ███▄███████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ▀█████████████████████▀ ▀▀███████████████▀▀ ▀▀▀▀█▀▀▀▀ | | OFFICIAL EUROPEAN BETTING PARTNER OF ASTON VILLA FC | | | | ██ ██ ██ ██
██ ██ ██ ██
██ ██ ██ | | | | 10% CASHBACK 100% MULTICHARGER | │ | | │ |
|
|
|
xIIImaL
Legendary
Offline
Activity: 1372
Merit: 1005
|
|
November 25, 2016, 04:04:31 AM |
|
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.
|
|
|
|
|