Transactions sync between nodes

+2 votes
Lets say I have main node (A) and I do some transactions on this chain, and now I connect in another pc (another node) to node A, this will be node B.

Will node B download an exact copy of node's A blockchain? will it have the same transaction information?


asked Aug 18, 2016 by MDev

1 Answer

+1 vote
Yes, that is a core purpose of blockchains.
answered Aug 19, 2016 by MultiChain
I understand, just a quick question. Lets say node A mined 22.000 blocks and counting and there is txs on this block, but node B is mining the block 12.000, can node B accept transacctions? if so they will be registered on the blockchain? will node A sync that transaction, being that is several blocks behind?
Yes, B can accept new transactions, but they won't go onto the blockchain (from B's perspective) until it has caught up with previous transactions. Also if the new transaction is dependent on one in a block B has not yet seen, it will sit in the "orphan pool" and not update B's state.
I want to express my gratitude to you for taking the time to respond all my questions.
Thank you very much.