I've sent him some info to get them started (basics: white paper, trade data, Wiki articles/calculators on mining, list of merchants, 'weusecoins.com', etc).
Better to just leave mining out.+1 Unfortunately, verification is crucial to the system. Oh, and if they've heard of bitcoin, they've heard of mining. Go into detail on verification and difficulty, but gloss over the coinbase transaction as a trivial reward.
|
|
|
Further notes on persistence and automatic startup. I found it much easier to boot the CD, plug the drive in, and partition it there. You can also set up the ext4 filesystem at this step. Set the type of partition 1 to "C". Then move it back to the windows box to format. If you are using unetbootin, save yourself a lot of hassle by opening syslinux.cfg with WordPad and adding "persistent" to the end of the first append line (under label unetbootindefault). The autostart is in /home/user/.config/autostart/auto.desktop [Desktop Entry] Encoding=UTF-8 Name=coin Exec=lxterminal --command "/home/user/shell_script.sh" Terminal=true
Keep in mind that this won't run as root, so you'll have to diddle the permissions and/or use setuid on the shell script that it runs. A couple of my miners are 50 miles away from my home, so I just finished setting all of this up, along with a watchdog to reboot the boxes as needed. I figured since I had to figure a bunch of this out the hard way, I'd write this post while it was still fresh in my mind. Hope it helps someone.
|
|
|
It'll take some work to adapt to your location. Oh, and this is not pretty. First file is a PHP script that runs out of cron every 10 minutes. Second file is a BASH CGI that lives on another box. If your flex proxy can see the PDU directly, you can cut out the middle man and either use snmpget() and snmpsend() PHP functions, if you have them, or exec the binaries directly. My worker IDs are 3 and 4, so I plugged them into ports 3 and 4 on the PDU. That isn't necessary, unless you are OCD like me. The arg to the CGI is pasted directly onto the end of the OID passed to SNMP, which in this case is the outlet number on the strip. Oh, and you should totally add some input checking to the CGI, because as it is now, you are asking to get pwn3d by executing attacker-supplied variables.Search for __ (double underlines), those are things that you need to change. Tested and working on a APC 885-1890 (1U, 8 outlet, 15Amp, 120v). Yours may differ. Thank god I was able to find the OIDs for SNMP, I wasn't looking forward to writing an expect script to navigate the telnet menu. #!/bin/php <?php
$restart_3=TRUE; $restart_4=TRUE;
$con=mysql_connect("__HOST__","__USER__","__PASS__"); mysql_select_db("__DATABASE__",$con);
$q="SELECT DISTINCT worker_id FROM work_data WHERE time_requested > (NOW() - INTERVAL 15 MINUTE)";
$r=mysql_query($q); if(0!=mysql_errno())echo mysql_error()."\n"; while($row=mysql_fetch_assoc($r)){ if(3==$row['worker_id'])$restart_3=FALSE; if(4==$row['worker_id'])$restart_4=FALSE; // echo $row['worker_id']."\n"; }
if($restart_3){ // echo "Restarting 3\n"; $junk=file("http://__CGI_HOST__/cgi-bin/apc_restart.cgi?3"); } if($restart_4){ // echo "Restarting 4\n"; $junk=file("http://__CGI__HOST__/cgi-bin/apc_restart.cgi?4"); }
?>
#!/bin/bash echo "Content-type: text/html" echo "" echo "" echo "<html>" echo "<head><title>APC restart</title></head>" echo "<body>" snmpset -v1 -c __WRITE_COMMUNITY__ __PDU_IP__ .1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.$QUERY_STRING i 3 echo "<br>" snmpget -v1 -c __READ_COMMUNITY__ __PDU_IP__ .1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.$QUERY_STRING echo "<br>" echo "</body>" echo "</html>"
|
|
|
I custom build PHP and Apache (and openssl, and mod_ssl, and mm, and mysql, and...). Wrote a script for it many, many years ago.
I did have to add --with-pdo-mysql to the file that stores my PHP config options to get this working.
|
|
|
I'm running the proxy on Slackware. Slackware 10.2, no less.
Works great with BTC Guild, Deepbit, Eligius, a local bitcoind (last resort), and a local pushpool (for testing, that was a much bigger hassle to build on Slack). Works great with poclbm and phoenix, but tends to cause DiabloMiner to get hung.
Just finished setting up a cron job to SNMP-diddle an APC networked PDU to reboot my boxes if they ever go more than 15 minutes without a work request.
|
|
|
If someone starts a new block chain, what's going to keep some big miners from switching to it for a few days and taking a couple thousand coins for themselves?
I mean aside from the pointlessness of it all.
|
|
|
I'm not sure you know how a network works.
Each node accepts a message (if it doesn't already have it) from one peer, and offers it to all other peers. If they also don't have it, they will accept it and repeat, spreading the message far and wide.
In the case of a near-partition, where one single node is the conduit that links both halves of the network, the network still operates normally. A message from one half will spread normally until it reaches a peer of the conduit node. The conduit node will then accept it, and pass it to the other half, where it will again, spread normally, until it has saturated the entire network.
Observe that each node, including the conduit, is getting and potentially passing each message. Message traffic is no greater at the conduit node than at any other. The conduit node will have slightly greater upload traffic, in both directions.
Also, keep in mind that network traffic is tiny. The last 20 blocks on the explorer total 367 kB, and were spread over 3.5 hours. That is a data rate of about 300 bits per second, slow enough that you could have read it out loud. If traffic expanded by about a million times, it would start to get close to being too much for a 56k modem.
|
|
|
No one has any idea where the error bars on the hash rate graphs should be. On the 1 day line, they will be astronomically huge (not to mention the 8 hour window, lol). Like several times the width of the plotted channel huge.
DO NOT MAKE ASSUMPTIONS BASED ON THOSE GRAPHS. They are estimates, not measurements.
|
|
|
What makes you think this?
Remember, we aren't talking about one node that all 1 billion chinese people are using. We are talking about a node passing transactions and blocks between the two otherwise partitioned networks. The traffic just isn't very big.
Yes, but it'll also be the only route to all the IP addresses not in China, so all of those requests will go through it. Even if somebody has their own connection (using say a satellite dish) to the external internet, and decides to use it purely for bitcoin (unlikely ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif) ) the government can probably find them easily and remove their connection to the Chinese internet. Yes, but it still sees the same number of transactions and blocks, which is all of them.
|
|
|
It would only take a single interested party to maintain the connection between the two halves, and it would only be a trickle of data. I doubt that even China could prevent it.
If there were only one party linking the web in China to the web everywhere else, it would be way too expensive or congested for bitcoin to use. If it were open to general use it would probably get DDOSed and go down. What makes you think this? Remember, we aren't talking about one node that all 1 billion chinese people are using. We are talking about a node passing transactions and blocks between the two otherwise partitioned networks. The traffic just isn't very big.
|
|
|
what if the whole internet was departed into two separated parts?
As I know, the Chinese government may be going to block its domestic internet from other world, to build a so called Chiternet, so that they can control the press\pulic voice.
So the Bitcoin will developed into two independent sysytem, one in China, and one in the freedom world. Then one day, the Bitcoin left in China became the ostrich in Australia??
It would only take a single interested party to maintain the connection between the two halves, and it would only be a trickle of data. I doubt that even China could prevent it.
|
|
|
Is it really so hard to make a spreadsheet and plug the hash speed and price numbers into it? Why can no one ever seem to figure out how to do these simple calculations?
|
|
|
Think about sifting for gold in a river. Are you working? Sure. Are you personally creating value? Not exactly, you are just holding a sieve in a river. The value came before you ever stepped into the water, but noone else was there to catch it.
Yes, you are creating value. You are changing nature into a state more useful to humanity. That is essentially what value is.
|
|
|
kjj, fair enough.
sipa's charts do give you/us longer period and much more accurate estimation. Why would anyone concentrate so much on that green, short term line which jumps all around the place and why people do not treat it as noise is beyond me.
Because they are under the mistaken belief that the green line represents some actual measured thing.
|
|
|
The problem with inflation, is that if you ask 5 different economists to define it, you'll get 13 different answers.
|
|
|
kjj, Network hashing power can be estimated very accurately using statistical methods by measuring how many blocks are solved during a period of time. It is just "websites" you've mentioned are doing rather poor job.
applecart, Anonymous must not be very fond of anyone approaching 50% of bitcoin hashing threshold. I would say they are too relaxed and 25-30% is not that good either.
Over a long period of time, the estimates can be pretty accurate, yes. Over short times, not even close.
|
|
|
There is no way to measure hashing power globally. The numbers you see on websites and in those charts are just estimates.
|
|
|
This is trivial to counter: just promote the flexible mining proxy.
|
|
|
|