Bitcoin Forum
April 25, 2024, 04:40:58 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 22 23 24 25 »
181  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 09:01:48 PM
I think the idea of "super nodes" or hubs will help limit the possibility of a split. The more connected the network is the less the possibility of a split. I know not everyone can run a node that supports 7000+ connections but, if there were some highly connected super nodes running 1000 or so connections and these nodes could be inter-networked with each other this would allow for a stronger connection. Even if a node is at a connection limit and doesn't connect to the super node, it would be probable that one of the other nodes would be connected to a super node. The down side to running a super node is you spend more cpu time and bandwidth making connections and less cpu time generating.  

This is interesting to me. What is most robust?

1000 nodes all with 9 connections

1000 nodes with 8 connections and one with 1000 connections

1000 nodes with 8 connections and ten with 100 connections

If you only connect with nodes 'near' your node then having only a few seems like a problem. If it's totally distributed then I think having the connections distributed would be better, but I really don't know.

Another thing to consider is how huge the profit opportunity will be if the network starts to get fractured. Everyone will want their transactions to get put in the next block for sure before an actual split and the fee will get bid up, this will give nodes incentive to make sure they can stay connected to those at risk and collect their fees. And thereby the network will not get split. I mean if a government ties down traffic they might actually run the nodes themselves for profit or some corrupt official who knows how to get away with it (n/m, no corruption in governments).
I would say everyone connected to everyone (first option) because the one big node that has 1,000 other clients connected through it is great for redundancy, but also gives a good central point of attack. It's easier to attack a single node than to try and attack them all.
182  Bitcoin / Development & Technical Discussion / Trojan Time Machine Chain on: August 02, 2010, 08:44:34 PM
I've been running some experiments with some isolated BitCoin clients to test for bugs or security issues. So far so good, haven't found anything worthy of discussion here, but I did come across a thought experiment, I figured I would put it out for discussion.

I understand how the core of BitCoin prevents cheating, basically you take the network combined CPU power to generate a chain that rely on math principles to prevent someone from trying to cheat due to that person needing more *corrupt* CPU power than *honest* CPU power out on the network making a direct attack against the block chain too expensive or difficult.

Has anyone thought about what happen if instead of attacking the block chain or math principles that build via CPU time and instead attacked the time itself as a way to produce a *corrupt* chain that could be fitted into the existing clients without needing to defeat all the CPU time it took to produce it? Instead of trying to throw as much CPU power at building a corrupt chain, you instead focus on cheating time to build a corrupt chain?

Would an attack like that really be something to worry about?
183  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 07:48:30 PM
I think the idea of "super nodes" or hubs will help limit the possibility of a split. The more connected the network is the less the possibility of a split. I know not everyone can run a node that supports 7000+ connections but, if there were some highly connected super nodes running 1000 or so connections and these nodes could be inter-networked with each other this would allow for a stronger connection. Even if a node is at a connection limit and doesn't connect to the super node, it would be probable that one of the other nodes would be connected to a super node. The down side to running a super node is you spend more cpu time and bandwidth making connections and less cpu time generating. These losses may be small but, I don't know yet. I plan to compile a super node later on tonight and fire it up and the test network later on tonight. I will try and do some testing to see how the number of connections affects cpu and bandwidth usage.
I can already tell you, it has almost no impact on the CPU, it will shave off some khash/s, but the big difference is bandwidth and memory.

When running the program by itself (8 connection limit), you'll use between 16 and 28 MB of RAM for the program, 300MB a month for bandwidth (24/7 operation basically)

When you run *nearly* unlimited connections, the memory usage jumps up to about 128MB of RAM, bandwidth usage also jumps way up as well to where you are using 100MB in a day instead of a month.

Truthfully though, for a "super node" as you've now coined it  Wink it's not really that hard spec wise for any server to handle, my old celeron server could easily handle this kind of load if it was shaved down to just a few thousand connections.
184  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 06:50:04 PM
Yes, ofcourse, I meant, you may be disallowed to connect to some nodes by the nodes themselves because they already have
too much connections, so the actual number of active nodes may be larger.
Or how should I understand the connection limit? Is it only an outgoing connection limit?

By the way, I myself run two nodes on public addresses and two other behind a firewall.
The last two are only allowed to connect to first two, and not not the Internet.
AFAIK, it counts as being connected to the network, so they generate blocks.
Exactly why a good count would be difficult as it currently is setup. I could have hundreds of clients behind a node and the outside world (Internet) would never know from what I know about how everything works.
185  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 06:26:32 PM
But there may be others, who have their connections limit in effect, so they refuse to accept your connections and do not
connect to you by themselves. Still being connected to the network.

This is a task of counting distinct nodes in a graph. Too bad.  Sad
The connection limit is just a suggestion, you can connect more than 8 clients even without a custom compile. The limit was setup to prevent a home PC from making thousands of connections and overloading "generic" home routers that can't handle that kind of connection state table. Think of the 8 limit as more of a soft-limit for sanity reasons for the typical user of the program.
186  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 06:11:57 PM
But is there a way to monitor that number at all?
If not, it would be wise to add some feature to the standard, which will
allow to determine in real time what is the number of distinct nodes running.

Maybe not official, but I compile my own BitCoind to run unlimited connections (well, in theory I set the limit for 65535)

As of now, I have about 7,100 connections going, so I would assume *at least* that many nodes are out there now.
187  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 06:03:06 PM
I'm running an experiment to give everyone a more definitive answer.

I have two fresh PC each running the BitCoin client (new install, no blocks, transactions, etc) and they are only network to each other. I'm having them generate coin against each other.

I think that if such a large network split did happen, it would be from the client standpoint (basically someone would compile a client that uses a different bootstrap method, so in essence you would have a "new" bitcoin chain that would forever be separate from everyone else).
188  Economy / Marketplace / Re: $29.49 for some bitcoins! on: August 02, 2010, 05:54:49 PM
Are you looking to save up to buy other things or just need some BTC to experiment with?
189  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 05:51:26 PM
Is it at all possible to monitor Bitcoin for network splits?
Not easily because it would entail finding out what "blocks" everyone else has. Since everyone is working off the current chain, if you did find a client with "another" chain, it would either be silly short or hacker longer.
190  Bitcoin / Bitcoin Discussion / Re: What happens when network is split for prolonged time and reconnected? on: August 02, 2010, 05:17:31 PM
It is possible to run an experiment just to see what happens. It would take 4 separate clients though running at the same time (probably help to have 4 different PC to do this)

Basically, take a fresh install of 2 PC, have them only connect to each other and let them generate blocks starting at 1, build up some coin, transfer between the two in a few transactions, then shut them down. Do the same thing on 2 different PC, build some coin for longer (more blocks), transfer some coin around, shut them down. Then fire up all 4 at the same time and have all 4 connected to each other and see what happens when one pair had a longer block chain than another.

My guess is the longer block chain will win and the lesser of the pair would lose all of their history/coins.

So if this was on a much larger scale (east vs. west), then whoever had the longest block chain would win once the networks started to merge back together.

Thinking about that thought experiment, one could run their own internal micro-payment system for fun  Grin
191  Bitcoin / Development & Technical Discussion / bitcoind command help (extended descriptions) on: August 02, 2010, 04:12:49 PM
Since I didn't find a forum post or wiki on this (I probably should add to the wiki), I've compiled a static help file, figured it would be useful for everyone here doing a lot of work with bitcoind. Some are obvious, but other's didn't have a full description.

  • getaddressesbylabel <label>
    Returns the list of addresses with the given label.

  • getbalance
    Returns the server's available balance.

  • getblockcount
    Returns the number of blocks in the longest block chain

  • getblocknumber
    Returns the block number of the latest block in the longest block chain.

  • getconnectioncount
    Returns the number of connections to other nodes

  • getdifficulty
    Returns the proof-of-work difficulty as a multiple of the minimum difficulty.

  • getgenerate
    Returns if the server is generating coins. Returns true or false.

  • getinfo
    Returns the server balance, blocks, connections, proxy, generate, genproclimit, & difficulty

  • getlabel <bitcoinaddress>
    Returns the label associated with the given address.

  • getnewaddress [label]
    Returns a new bitcoin address for receiving payments.
    If [label] is specified (recommended), it is added to the address book so payments received with the address will be labeled.

  • getreceivedbyaddress <bitcoinaddress> [minconf=1]
    Returns the total amount received by <bitcoinaddress> in transactions with at least [minconf] confirmations.

  • getreceivedbylabel <label> [minconf=1]
    Returns the total amount received by addresses with <label> in transactions with at least [minconf] confirmations.

  • help
    Returns list of available commands.

  • listreceivedbyaddress [minconf=1] [includeempty=false]
    [minconf] is the minimum number of confirmations before payments are included.
    [includeempty] whether to include addresses that haven't received any payments.
    Returns an array of objects containing:
    "address" : receiving address
    "label" : the label of the receiving address
    "amount" : total amount received by the address
    "confirmations" : number of confirmations of the most recent transaction included

  • listreceivedbylabel [minconf=1] [includeempty=false]
    [minconf] is the minimum number of confirmations before payments are included.
    [includeempty] whether to include labels that haven't received any payments.
    Returns an array of objects containing:
    "label" : the label of the receiving addresses
    "amount" : total amount received by addresses with this label
    "confirmations" : number of confirmations of the most recent transaction included

  • sendtoaddress <bitcoinaddress> <amount> [comment] [comment-to]
    <amount> is a real and is rounded to the nearest 0.01

  • setgenerate <generate> [genproclimit]
    <generate> is true or false to turn generation on or off.
    Generation is limited to [genproclimit] processors, -1 is unlimited.

  • setlabel <bitcoinaddress> <label>
    Sets the label associated with the given address.

  • stop
    Kills the bitcoind process
192  Bitcoin / Development & Technical Discussion / Re: 4 hashes parallel on SSE2 CPUs for 0.3.6 on: August 02, 2010, 08:47:04 AM
Is it a AMD only optimization perhaps?
193  Economy / Marketplace / Re: $29.49 for some bitcoins! on: August 01, 2010, 11:55:30 PM
I can tell you from personal experience, you are better off buying them in the market than generating them now due to the growth of the network clients and the current difficulty level makes buying server time no longer economical.
194  Bitcoin / Bitcoin Discussion / Re: Do you feel lucky? on: August 01, 2010, 11:48:59 PM
I feel very unlucky. My system has been cranking out 2600 khash/sec for more than 16 days so far, and still not a single block generated. I am not going to buy a lottery ticket any time soon.

I have a feeling that GPU (OpenCL) users will rapidly crowd out CPU users, due to the apparent large advantage of OpenCL bitcoin generation on modern GPUs.
Perhaps if a stable OpenCL client comes out  Wink

I've got 7 year old celeron machines generating blocks, so speed isn't really king for coin generation as much as just luck and having a lot of systems to try  Smiley
195  Economy / Economics / Re: Walmart.com on: August 01, 2010, 09:34:17 PM
That's a very interesting entrepreneurial idea!  It could even be as simple as one of those scratch-off lottery cards, revealing a code to type into a website form!
Similar to like a phone card for those pre-paid phones. You get a card for $15, $25, etc. amounts. Wal-mart *activates* the card by swiping it like a credit card, then those jumbled random numbers on the back are active to transfer X amount of BitCoins to whichever address you specify.

This allows you to buy the cards with cash (no credit/debit trail), but the only issue is really, how many BitCoins do I get for $1.00 for example? That's where the tricky part lies, I'm going to have to poll as many market sites as (they) will allow me to (talking with others about it) to get the conversion rate. So while it's possible that if you buy a $10 card and redeem it that day for more bitcoins than you would have got the day before, the key will be to make sure people understand that when they buy it. So they can buy it has sort of a investment or spending currency if they like.

It's certainly going to be easier to sell them that way to the giants like Wal-mart than to convince them to take BitCoins as payment. As time goes on though and things expand, who knows what the future may hold.
196  Economy / Marketplace / Re: Local bitcoin market. on: August 01, 2010, 09:13:04 PM
About the closest you'll find so far is me, as part of the greater Nashville, TN area.
197  Bitcoin / Bitcoin Discussion / Re: They want to delete the Wikipedia article on: August 01, 2010, 07:55:42 PM
Instead of wasting with them (they do frustrate me sometimes), why not create a new article at a more "friendly" place like
http://en.citizendium.org/wiki/Welcome_to_Citizendium

Quote
Citizendium is a wiki that seems to be a compromise between the free-for-all that is Wikipedia and the strict supervision that accompanies Scholarpedia. One of Wikipedia's founders, Larry Sanger, created Citizendium in the hopes of improving on Wikipedia's model. With what the site refers to as "gentle oversight", all articles are subject to approval by the site's editorial team. Articles that haven't been approved will have an accompanying disclaimer, which helps to prevent people from taking potentially false information to heart. Also, you must register under your real name to become a contributor, unlike Wikipedia. Although the site is still in beta form, it is quickly becoming a popular alternative to Wikipedia.
198  Economy / Economics / Re: Walmart.com on: August 01, 2010, 08:14:25 AM
I can't see wal-mart or any other large retailer getting onboard until bitcoins are already very widespread.  Especcially with the prices of bitcoins fluctuating as much as they still are.
Actually you guys kind of stumbled upon part of the project I'm working on with a bank. Basically, (as was said with paypal, credit cards, etc.) you have to pay a loss to get BitCoins in and out of conversion. Part of what I'm working on is what you guys describe, go buy a BitCoin "card" at a store, redeem it online to have the BitCoins transfered to your account to purchase with, pay bills, etc.

199  Bitcoin / Project Development / Re: BitCoin Wikipedia page DELETED!!! on: August 01, 2010, 07:49:56 AM
Instead of wasting with them (they do frustrate me sometimes), why not create a new article at a more "friendly" place like
http://en.citizendium.org/wiki/Welcome_to_Citizendium

Quote
Citizendium is a wiki that seems to be a compromise between the free-for-all that is Wikipedia and the strict supervision that accompanies Scholarpedia. One of Wikipedia's founders, Larry Sanger, created Citizendium in the hopes of improving on Wikipedia's model. With what the site refers to as "gentle oversight", all articles are subject to approval by the site's editorial team. Articles that haven't been approved will have an accompanying disclaimer, which helps to prevent people from taking potentially false information to heart. Also, you must register under your real name to become a contributor, unlike Wikipedia. Although the site is still in beta form, it is quickly becoming a popular alternative to Wikipedia.
200  Bitcoin / Bitcoin Discussion / Re: *** ALERT *** Upgrade to 0.3.6 ASAP! on: July 31, 2010, 09:10:46 PM
v0.3.6 works on FreeBSD/i386 7.2,7.3 and on FreeBSD/amd64 8.0

Compiles cleanly without any warnings, and appears to be working fine.


Are you doing anything special, or just gmake -f makefile.unix on FreeBSD/amd64? 

I'm having trouble getting it to compile on FreeBSD/amd64 8.1, but I'll freely admit that
C++ is lost on me.  I managed (using your patch for the makefile) to compile 0.3.3 previously
so I think that all the proper bits are installed.

I'm just trying to compile bitcoind for a headless FreeBSD box.

Thanks.
I would post up the compile log in the Development & Technical section, might get more help there.
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!