Bitcoin Forum
June 16, 2024, 03:12:13 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Lets Build TestNets to simulate the future of Bitcoin and the blocksize  (Read 1191 times)
drawingthesun (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
March 06, 2013, 06:20:43 AM
 #1

With all this talk of the block-size, could we not create a new test net and have the system simulated 5000 transactions a second to determine how best to implement an eternal block-size algorithm now?

Things we could test for:
  • 1. Does a flexible transaction rate determined block-size cause too much consolidation of power? (only a few people being able to host the entire chain)
  • 2. Will the transaction fees be enough once the transaction rate is the same as Visa, MasterCard and PayPal combined?

By building various "testnets" and then simulate millions of clients pushing a huge amount of transactions, we can determine what our best course of action will be.

We must do this, if we want Bitcoin to one day be a $Trillion+ economy it must be able to handle more than VISA, MasterCard and PayPal combined, if the network cannot do this we can never hope to replace them. Why should we replace them? Because we want to be the currency of the internet right? Lets dream big.

If Bitcoin can't scale past 100 transactions a second we are going to be doomed to a competing crypto-currency in the future.
Peter Todd
Legendary
*
expert
Offline Offline

Activity: 1120
Merit: 1150


View Profile
March 06, 2013, 10:10:00 PM
 #2

Actually, rather than a testnet, I'm working on doing a Bitcoin network simulator, that works out how fast blocks and transactions propagate, as well as allowing for models of miner behavior.

drawingthesun (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
March 07, 2013, 01:33:32 AM
 #3

Actually, rather than a testnet, I'm working on doing a Bitcoin network simulator, that works out how fast blocks and transactions propagate, as well as allowing for models of miner behavior.

This sounds like a really good idea! Will you be putting it up on Github at some point, I would love to poke around. Smiley
eb3full
VIP
Full Member
*
Offline Offline

Activity: 198
Merit: 101


View Profile
March 07, 2013, 04:55:57 AM
Last edit: March 07, 2013, 05:22:50 AM by eb3full
 #4

I've also been working on a simulator, written in javascript. It uses d3's force directed graphing and setTimeout for event management. As a result the code has become messy trying to compensate for VM's poor consistency and some weird ordering problems, making locks somewhat necessary. This is not a scientific simulator, I'm actually embarrassed to release it. Shocked

  • latency/processing simulation
  • simulates block propagation, height changes with color changes (wait a few seconds it'll show)
  • peer discovery
  • bootstrap nodes

If you want to check it out: http://pastehtml.com/raw/cur2u33ss.html

I've gotten bored with it because of the many code changes that are necessary to get this much more accurate. But it's a cute framework for anyone who wants to hack it.

"With four parameters I can fit an elephant, and with five I can make him wiggle his trunk." John von Neumann
buy me beer: 1HG9cBBYME4HUVhfAqQvW9Vqwh3PLioHcU
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!