Bitcoin Forum
May 08, 2024, 05:25:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 21 »
321  Alternate cryptocurrencies / Altcoin Discussion / Re: DECENTRALIZED crypto currency (including Bitcoin) is a delusion (any solutions?) on: March 21, 2017, 08:08:27 PM
Bitcoin-NG and Byzcoin seem pretty promising IMO. The 2/3 computing power is required to rewrite the history of the blockchain, as only receiving enough approvals from the committee shall a block pass the verification. The problem of both solutions is that they depend too much on the reliability of the leader node. I'm working on a project that improves upon Bitcoin-NG's security and incentive issues.
322  Bitcoin / Bitcoin Discussion / Re: What do you think are the biggest disadvantages of Bitcoin? on: March 17, 2017, 08:37:33 PM
Thanks for everyone's discussion. For the past few months, I've been researching on how improvements can be made to Bitcoin blockchain. It's undoubted that Bitcoin's scalability has become its Achilles Heel. Among the proposed solutions, I found Emin Gun Sirer's Bitcoin-Ng more promising. It separates proof-of-work and transaction validation processes into two blockchains. The proof-of-work and transaction validation are not much related, as proof-of-work's sole idea is calculating SHA-256 hash billions of times. It is de facto a leader election mechanism in an anonymous network. In Bitcoin source code, the mining and transaction validation are handled by different threads. Therefore, after decoupling the two processes, transactions can be verified without mining time. However, the major flaw of Bitcoin-Ng is that the leader node must always stay reliable, otherwise the network shall break apart. 

My design is to elect a validator committee that's dynamically every few minutes through competition of mining. After the committee is set, they vote for each transaction and propagate the transaction block to the entire network. If any validator fails it will be excluded from the committee. The block size and time will be dynamic so that they can scale up in future.

The other issue of Bitcoin is its hard coded 2100 million total supply cannot keep up with its growing demands. Therefore, Bitcoin shall always be subjected to price manipulation as more people are saving instead of spending. A cryptocurrency should have a stable price to function as a medium for exchange. I think the limit of supply should be removed. Instead, the supply of the currency should be adjusted according to the market conditions.
323  Bitcoin / Development & Technical Discussion / Re: How does Bitcoin block index work? on: February 15, 2017, 07:17:55 AM
I've looked into the Tx index. It contains three columns, nFile, nBlockPos and nTxPos. The last two variables are integers indicating where the transaction can be found in a file. I don't understand how does Bitcoin retrieve one transaction. Does the Bitcoin client read the entire index into memory, then create a map that establishes the transaction and its position?
324  Bitcoin / Development & Technical Discussion / Re: How does Bitcoin block index work? on: February 14, 2017, 11:36:33 PM
I saw that the serialized transaction is just a lump of data with a key,
There is no key associated with a transaction.

so how does Bitcoin find transactions associated with a single private key? Does it need to travserse all unspent tx to get the total balance?
Yes. It goes through the UTXO set and finds which UTXOs can be spent by you.

I see. So both wallet.dat and chainstate store unspent transaction data, but only those in wallet.dat are spendable right?
Only those in the wallet.dat can be spent by you specifically. Nearly all the UTXOs can be spent by someone.

Thanks for the answer. The key I meant the transaction hash, since you need to supply a key to retrieve a value.
325  Bitcoin / Development & Technical Discussion / Re: How does Bitcoin block index work? on: February 14, 2017, 11:07:37 PM
So, the whole block is read into the memory when Bitcoin accesses it?
I believe so.

How does Bitcoin lookup a transaction from a block file?
Bitcoin Core normally does not need to lookup transactions. It can only do that if you enable the transaction index (-txindex CLI option) in which case it does basically the same thing as for blocks, it makes the database and has each value point to the location in a file of where that transaction is located.

For transactions that are in your own wallet, it stores the transaction data in your wallet.dat file.

The databases also include other things like the current chainstate and the UTXO set.

I see. So both wallet.dat and chainstate store unspent transaction data, but only those in wallet.dat are spendable right?
326  Bitcoin / Development & Technical Discussion / Re: How does Bitcoin block index work? on: February 14, 2017, 11:05:54 PM
I saw that the serialized transaction is just a lump of data with a key, so how does Bitcoin find transactions associated with a single private key? Does it need to travserse all unspent tx to get the total balance?
327  Bitcoin / Development & Technical Discussion / Re: How does Bitcoin block index work? on: February 14, 2017, 10:50:37 PM
The blk.dat file stores raw blocks, not just transactions. It only stores blocks and the transactions included within those blocks. AFAIK the index is an index of offsets for each block, basically where each block is located in which file and where in that file so that it can be read from the disk and processed if need be.

So, the whole block is read into the memory when Bitcoin accesses it? How does Bitcoin lookup a transaction from a block file?
328  Bitcoin / Development & Technical Discussion / How does Bitcoin block index work? on: February 14, 2017, 07:58:04 PM
Hi, I can find few information on Bitcoin's storage. So I understand that blkindex.dat is for the block index and blk00x.dat for transactions. However I don't understand how is this index generated. I understand an index file speeds up data lookup. However LevelDB states it doesn't support index so how is this index used along with LevelDB data? Also, a transaction is a nested structure that contains multiple inputs and outputs. LevelDB is a key-value storage engine so how does it recognize the hierarchy of each transaction?
329  Economy / Economics / Use cases that currently Bitcoin and Ethereum cannot support due to scalability on: February 08, 2017, 09:47:48 PM
Hi, blockchain is much hyped right now. However we haven't seen many successful use cases beyond cryptocurrency. One issue is that as a decentralized system, Bitcoin's performance has suffered severely. What are some use cases that can only be realized with more scalable blockchain solutions?
330  Alternate cryptocurrencies / Altcoin Discussion / Re: Only Proof-of-work coins are truly decentralized on: January 04, 2017, 04:23:06 AM
Proof of Stake is the Evolution.  Wink

Proof of Work is a failure, (Control Centralized to Chinese Mining Pools over a year ago.)

Chinese Mining Pools currently Control ~67% of BTC , just because people are currently throwing more fiat at it,
don't mistake public ignorance for technical superiority.

If I am a PoW miner , I can sell my coins and still keep control of the network with my ASICs.
If I am a PoS Staker, when I sell my coins, I am selling my % of future staking potential.

 Cool


FYI:
It all breaks down to resources, Million of Dollars to maintain PoW Security (required monetary expenditures ~ year for new ASICS),

Where as a PoS coin network can be maintained and Secured with a few PCs.
(This is why PoS will succeed PoW, spiraling cost structure of PoW guarantees Centralization.)

FYI2:
As far as the Gov goes , they can seize you and sell your coins PoW or PoS.
And if they don't want you staking or mining, they can cut your electricity or internet connection.
Currently no algorithm will protect you from a Government out to get you.



How do you guanrantee PoS coins won't be controlled by a group of stakeholders? PeerCoin, NXT and BitShares all have tried yet their combined value is only a fraction of Bitcoin's, even not comparable to Etherem and Monero.

The PoW chooses a random leader per each block because the outcome of a mining hash isn't predictable. It's still much more difficult for any party to shutdown PoW than PoS. PoS is also more vulnerable to market manipulation.
331  Alternate cryptocurrencies / Altcoin Discussion / Only Proof-of-work coins are truly decentralized on: January 03, 2017, 09:11:37 PM
Bitcoin isn't the first cryptocurrency, but nonetheless most successful. Before Bitcoin all other designs have failed. Why? Because Bitcoin was the first to use Proof-of-work as consensus and incentive mechanism in a peer-to-peer network. Proof-of-work serves as both leader election and protection against Sybil attack. Although it consumes huge amounts of energy, it is purposefully designed that way. No one has yet been able to take down Bitcoin yet. Some people have proposed Proof-of-stake and Byzantine Fault Tolerance based consensus, but they are all de facto centralized. If we consider the evolution of digital currencies to be continuous, then the consortium blockchain should have been born before Bitcoin do because its logical to extend a single server node to a group of trusted servers rather than random server nodes. However, no such digital currencies have lived to date. Proof-of-stake coins rely on stakeholders to be honest. But what if they were seized by the government, or their private keys hacked? Without open participation a blockchain will be no different than a centralized database, which creates a single-point-of-failure. Close blockchains are not necessarily worthless, but they do carry much higher risks than open blockchains. History has shown us no centralized agency has been able to withstand all challenges, even the US federal reserve hasn't. Beware of scams and only choose the worthy.
332  Bitcoin / Mining / Re: Can mining reward be split among several miners on: January 03, 2017, 01:45:16 AM
I'm not familiar with Mining pool. How each miner's share is decided?
333  Bitcoin / Mining / Re: Can mining reward be split among several miners on: January 02, 2017, 01:09:26 AM
Your suggestions are unfortunately infeasible, and pooled mining exists.

Why should the reward be split among the miners when the ones with more hash-rate will generally have a higher chance of acquiring the block(s), and thus it balances out?

Also, pools split rewards within the pool depending on individual hash-rate contribution, that's the closest you'll get to a split in the mining world, and its only within the pool, there are multiple pools.

The system is fair, and regardless of it being chance based to an extent, the higher hash-rate miners will still in the long-term acquire more blocks (well to be fair most of them are pooled, so lets say Bitcoins rather than blocks).

Currently, the majority of blocks are discovered by pools, and then split among the miners depending on contribution.

What you are suggesting is some sort of pooled-mining system where only the top 100 highest hash-rate miners get any kind of reward, why should they share their block if your system would be implemented?

You misunderstand my idea. The time for mining each block varies so that a miner cannot always hold the leader position. A pool-mining system is consisted of a fixed set of nodes, while my idea is to also award miners who found the hash in the second, third till nth place so that their work wouldn't be completely futile.
334  Bitcoin / Mining / Re: Can mining reward be split among several miners on: January 02, 2017, 01:03:43 AM
The current design of Bitcoin is to award only the first miner. This mechanism gives unfair advantage to the miners who possess more computing power.

 WHY is this unfair?

 Why should someone that does less WORK get paid equally?



Because Proof-of-work is more like a lottery. The outcome of SHA256 is unpredictable. Therefore some miners might have spent more electricity while got no rewards. Also if someone has advantage of hashing power it could result in centralization
335  Bitcoin / Mining / Re: Can mining reward be split among several miners on: January 01, 2017, 06:09:50 AM
Why should the mining difficulty be increased? It's still require significant amount of computing power even to become the 100th winner
336  Bitcoin / Mining / Can mining reward be split among several miners on: January 01, 2017, 05:36:34 AM
The current design of Bitcoin is to award only the first miner. This mechanism gives unfair advantage to the miners who possess more computing power. I came up with an idea to split mining reward among several miners. The top 100 miners all receive equal share for the reward and the combine of their hash will be used as the block hash. How practical is this design? What can be its vulnerabilities?
337  Other / Politics & Society / Re: From a biblical view how does god deem Bitcoin? on: December 25, 2016, 11:15:08 PM
The similarity between Bitcoin and god: both are based on beliefs
338  Local / 中文 (Chinese) / Re: 比特币6180了,山寨何时崛起 on: December 25, 2016, 05:48:21 PM
山寨要看能不能突破比特币。比如Monero,加强隐私保密性,值得关注
339  Economy / Services / Re: Looking for video professionals on: December 23, 2016, 06:03:48 PM
Hi!
What is Your problem?
Do You have no camera?
Just thake it in hand and make a footage.

I am pretty sure he refers to an animated video type. It takes a lot of time and hard work so I really wonder if anyone would offer free help.

Hi there, I and my colleagues are working on a new blockchain design. It aims to provide high transaction throughput while retain decentrilzation in the meantime. We take decentralization as our priority because centralization creates single-point-of-failure. We want to make a video to demonstrate the big picture and the consensus mechanism of our new blockchain. However we are on budget so we are looking for true enthusiasts who have taste and passion of technology to help us Smiley We will compensate you after we successfully run our crowdfunding campaign.

You could just use simple video editing tools like Videoscribe, Easy Sketch Pro, PowToon, etc. Try their trial versions and you'll make a quality video. If you absolutely find no one, I can offer help.

Yes that's what I meant. The problem is that blockchain is very abstract idea so it's hard to explain it. What's the best way to reach you?
340  Economy / Services / Looking for video professionals on: December 23, 2016, 01:25:43 AM
Hi there, I and my colleagues are working on a new blockchain design. It aims to provide high transaction throughput while retain decentrilzation in the meantime. We take decentralization as our priority because centralization creates single-point-of-failure. We want to make a video to demonstrate the big picture and the consensus mechanism of our new blockchain. However we are on budget so we are looking for true enthusiasts who have taste and passion of technology to help us Smiley We will compensate you after we successfully run our crowdfunding campaign.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 21 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!