Bitcoin Forum
May 25, 2024, 02:46:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: The term in Bitcoin transaction that I dont understand  (Read 80 times)
QiangChia (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 17, 2018, 08:37:40 AM
Last edit: January 22, 2018, 09:56:03 AM by QiangChia
 #1

In Bitcoin transaction, there is a step that called "synchronizing". What does it mean and why does it take so long?
XiongTsui
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 17, 2018, 08:38:47 AM
 #2

Long synchronization time is only required with full node clients like Bitcoin Core. Technically speaking, synchronizing is the process of downloading and verifying all previous Bitcoin transactions on the network. For some Bitcoin clients to calculate the spendable balance of your Bitcoin wallet and make new transactions, it needs to be aware of all previous transactions.
bitfools
Member
**
Offline Offline

Activity: 112
Merit: 12


View Profile
January 17, 2018, 08:51:42 AM
 #3

What does "synchronizing" mean and why does it take so long?

Actually here in China, on a 50mb/sec fiber line I can run a full bitcoin node and have it up and running in a week, not bad, it used to be a few days, but now 200gb it takes a long time to get all the blocks loaded, and all the transactions filled in, just takes time

Want to see worse play with 'ethereum' it can take a month for more to sync a full-node the reason is that the the transaction have executable code, and so when your 'syncing' your also having to execute all the code associated with each transaction,

ON BTC the code is minimal, in fact most has been disabled Smiley

But on ETH say right now they're at 5,000,000 block, you might load with a '--fast', but you'll only get to 4,800,000, then it will take a month or more to catch up with current, if your not running a super computer, you may never catch up to current.

BTC has about 2,000-4,000 transaction per block that must be loaded ( if you load with -txindex )

I'm sure all here are just using wallets and not running full nodes, so who cares right?

Of course just today for instance I copied bitcoin path to a portable disk, and then copied to another computer and the new bitcoind was 'synced' in 10-15 minutes, thus IF YOU can don't download a full-node, just get a copy from somebody and save yourself a lot of time


It's takes on average 10 minutes to deal with 50,000 transactions, every 10 minutes they choose 2,000-4,000 that go on next block, currently BTC is about 504,000 blocks, so its about 200 million transactions to date

When you talk about 'sync' it really depends how long since you last ran your software 'bitcoind', say you turned it off for a month, it might take a few days to catch up with the current-block ( called best block ), if your not in 'sync',, e.g. if your not running the same block as everybody else right now, then you can't really do anything, because by definition you ain't in sync,

Thus once you have bitcoind ( full node ) running, you must leave it running for ever, unless you want to big pain in the ass when you turn it back on

Essentially why it takes a long time to 'confirm' is that every 10 minutes when a new block is created there is a pool  of 50,000 waitings transactions, some are shit, some are real, but only 2k-4k get out of the gate, the software chooses which has paid the highest fee ( that fee is a lotto ticket that goes to the miner, the guy who hashes that block, not only he get 12 btcs, but he also gets $1,000's of USD in fees Smiley )
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!