Author

Topic: How does first wallet sync happen? (Read 435 times)

hero member
Activity: 741
Merit: 500
CryptoTalk.Org - Get Paid for every Post!
September 23, 2017, 11:21:53 AM
#8
The same as all the others syncings if you ever close your wallet. Only difference is the process will start with the first block

newbie
Activity: 11
Merit: 0
September 23, 2017, 11:17:29 AM
#7
Thank you everyone!
hero member
Activity: 602
Merit: 500
September 22, 2017, 10:43:39 PM
#6
If there are no other nodes to get the blockchain from, the wallet would possibly create its own. This is not something that you really need to worry about. Most coins will just bog down if they can't get a connection and that means it is a pretty useless coin. Adding new nodes helps, but with your level of experience, maybe you should stick to the proven coins and not newer ones.
legendary
Activity: 3472
Merit: 4801
September 22, 2017, 01:38:45 PM
#5
Apologies, also new to this forum and yes i am talking about an alt coin but your explanation completely makes sense. Until i try to find a way to move this topic to altcoin, hope you dont mind me asking another question. So for a POS altcoin, whoever has the new version pretty much has to stake for new blocks correct?

I see you have successfully moved the thread.

I have no expertise in altcoins.  I'll leave it for others to answer your questions.
newbie
Activity: 11
Merit: 0
September 22, 2017, 12:15:56 PM
#4
Hey guys, pardon me for my dumb questions as i am in the process of learning few things. I understand that when someone installs a wallet it becomes a node (at least for the coins i have tested with) and other wallet/node can talk to that and sync. So for an existing coin, if i have a wallet running with updated version and if it is the only wallet with updated protocol versions, how does it generate new blocks. Thanks!

Since you posted this in the "Development & Discussion" sub-forum, I assume you are asking about Bitcoin?  If you are asking about some altcoins, you'll need to move this thread to the altcoin sub-forum.  You can use the "Move Topic" link at the bottom of the thread to move it if you are the creator of the thread.

That being said, Bitcoin wallets don't generate blocks.  Miners do.

If a Bitcoin wallet updates to a new version that is incompatible with the old version (a forking change), then the the wallet will refuse to accept any blocks created and relayed by any peers that are still running the old version. The wallet will have to wait until a miner updates to the same version and starts creating blocks with the new rules.

This is why forking changes typically include an "activation date", an "activation threshold", and an "activation signal".  The "activation signal" allows miners to announce in their old-version blocks that they are ready to start creating new blocks.  The "activation threshold" allows wallets and other miners to determine that there are enough miners that are ready to start creating new blocks. The "activation date" makes sure that everyone that is ready switches over to the rules of the new version at the same time so that nobody is left without any useful peers.

Apologies, also new to this forum and yes i am talking about an alt coin but your explanation completely makes sense. Until i try to find a way to move this topic to altcoin, hope you dont mind me asking another question. So for a POS altcoin, whoever has the new version pretty much has to stake for new blocks correct?
legendary
Activity: 3472
Merit: 4801
September 22, 2017, 11:51:04 AM
#3
Hey guys, pardon me for my dumb questions as i am in the process of learning few things. I understand that when someone installs a wallet it becomes a node (at least for the coins i have tested with) and other wallet/node can talk to that and sync. So for an existing coin, if i have a wallet running with updated version and if it is the only wallet with updated protocol versions, how does it generate new blocks. Thanks!

Since you posted this in the "Development & Discussion" sub-forum, I assume you are asking about Bitcoin?  If you are asking about some altcoins, you'll need to move this thread to the altcoin sub-forum.  You can use the "Move Topic" link at the bottom of the thread to move it if you are the creator of the thread.

That being said, Bitcoin wallets don't generate blocks.  Miners do.

If a Bitcoin wallet updates to a new version that is incompatible with the old version (a forking change), then the the wallet will refuse to accept any blocks created and relayed by any peers that are still running the old version. The wallet will have to wait until a miner updates to the same version and starts creating blocks with the new rules.

This is why forking changes typically include an "activation date", an "activation threshold", and an "activation signal".  The "activation signal" allows miners to announce in their old-version blocks that they are ready to start creating new blocks.  The "activation threshold" allows wallets and other miners to determine that there are enough miners that are ready to start creating new blocks. The "activation date" makes sure that everyone that is ready switches over to the rules of the new version at the same time so that nobody is left without any useful peers.
staff
Activity: 3458
Merit: 6793
Just writing some code
September 22, 2017, 11:48:36 AM
#2
if i have a wallet running with updated version and if it is the only wallet with updated protocol versions, how does it generate new blocks.
In whatever way the consensus rules specify that blocks should be generated.

Block generation has nothing to do with syncing.
newbie
Activity: 11
Merit: 0
September 22, 2017, 10:57:19 AM
#1
Hey guys, pardon me for my dumb questions as i am in the process of learning few things. I understand that when someone installs a wallet it becomes a node (at least for the coins i have tested with) and other wallet/node can talk to that and sync. So for an existing coin, if i have a wallet running with updated version and if it is the only wallet with updated protocol versions, how does it generate new blocks. Thanks!
Jump to: