Bitcoin Forum
June 24, 2024, 09:33:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 [134] 135 136 137 138 139 140 141 142 143 144 145 146 »
2661  Other / Beginners & Help / Re: MTGox security was flawed on: June 20, 2011, 05:41:57 PM
This attack does not apply as long as you browse completely over HTTPS. So just bookmark the https://www.mtgox.com/ url, use only that bookmark, and you'll be fine.

Quote
So that means the data is encrypted the URL is not.
HTTPS encrypts also the URL and other request details.
I agree, to my understanding HTTPS sends a signal that we are doing a secure connection(with no data besides IP) and then after the key's have been exchanged it will then proceed to send necessary data after a secure connection has been established.
2662  Bitcoin / Project Development / Re: [v4.0.3] Mining Farm #2 | Mining Pool Front-End on: June 20, 2011, 05:22:52 PM
Thanks guys for the input your effort will not go un-noticed, I shall add these things on the next version, and I shall also bring back the userSharesHistory but all it really does is show the amount of time it takes to receive a share although I'm sure the community would like more stats to look at then just two Cheesy
2663  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 20, 2011, 11:05:27 AM
I believe you are serious you stated 1btc fee instead of .01btc but its all good ebcuase you stated thats what your goal was.
Cheesy

i was actually serious about .01 BTC
its small so the workers dont notice it and its going to a good cause.

Im starting a local pool to get people in my geographic area more interested in bitcoin, every 6 months, the 'fees' will be cashed out and donated or we will transfer the BTC to BTC friendly charitable organizations.

Im really stoaked that people were thinking along the same lines as charity goes, thats really cool people are trying to make the world a better place with BTC   Grin

Obviously I plan to be up front and honest with my users about 'fees' and where they are going and am looking at including an option to opt out.  I just needed to make sure i found the right portion of code to begin working on. 

Thanks a lot for your help and the quick reply
2664  Other / Beginners & Help / Re: FACTORES THAT AFFECT THE BITCOIN RATE/VALUE on: June 20, 2011, 08:18:04 AM
I plan on future bussiness retailing stores and i shall deffinatly have a section that will report how much must be converted to usd(for taxes, labor, etc) and how much bitcoins are used on average.

With this kind of open information future entrepenurs can use this  to spark ideas to start bitcoin bussinesses to accomdate this continuing use of usd/fiat and what bitcoin community needs. Awsome idea.

can someone clarify how mining affects the value of bit coins?

One reason is that as the difficulty goes up the network automatically decides to reward 25BTC instead of 50BTC thus making it hard to obtain by mining, thus making it more valuable to miners and not wanting to sell them at low values because of electricity costs.

That of course was a really blunt theory but by this time hopefully there will be enough shops to control the value of bitcoins instead of miners controlling the value.

Another factor is bitcoin shops vs cashout to fiat ratio not only is it dependent on the shops but the users aswell. The more shops cashout the less value the bitcoins have since more people will have a lot making it inflate but if its a one time thing the miners will eventually balance this out. Also this is dependent on the miners and the consumers they can control the price if they refuse to buy and boycot a service or product



i think it should be standard procedure for all shops to state whether they cash out or not. would help in studying the market or something
2665  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 20, 2011, 08:03:47 AM
You would want it to be 49.0 other wise youd get 1 bit cent at 49.99

Id like to also note that i will include tge option again to include the admin fee along with the option to donate a percentage to various non profit organizations, thinking about setting up a red cross donation option that will get sent to a bitcoin address which will be converted to usd to donate along with a letter stating the effort takin in donating the money from all the fees and notify them the cost of fees that could have been profitable donations.
Hello,

First of all, thank you for creating a thread in the newbie section for support of Mining Farm

I have my pool up and running and had a question about pool fees

It is my understanding that the pool's fees are controlled by the front end and not pushpool or the bitcoin daemon. 

I went looking in blockFound.php in the /req/cronjob/ folder and found the following line

Code:
$totalReward = 50*$shareRatio;

I take it this implies a 'no fee pool' as all 50 BTC are distributed amongst the workers who contributed shares between the last block and the block that was just found. 

So, i'm assuming that to make a pool with a fee, you would simply adjust the 50 to the amount that is going to be distributed.  So if the pool was going to take a fee of 1 BTC of every block found, that value could be adjusted to 49.  Can you please confirm?

Also, since I was looking at actually having a fee on my pool, but think 1BTC is too high, can i use a value such as 49.99?
the statement would then read
Code:
$totalReward = 49.99*$shareRatio;
is there anything in blockFound.php that would prevent me from doing this?, would i need to store the value of 49.99 in a variable and then use that in the calculation or can i just use the example above?
is my understanding and interpretation of the code in blockFound.php correct?

any feedback or advice you could provide will be greatly appreciated and I will be sending some BTC to all who can contribute positive, informative answers, so if you have something worthwhile to contribute, please leave an address so i can send you something for your time. 

2666  Other / Beginners & Help / Re: PLS take a look at my new mining\gaming rig i want to buy... on: June 20, 2011, 03:22:14 AM
Looks good id say you could even have one mining and one for gamming
2667  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 20, 2011, 03:20:24 AM
Sorry guys.  After days of hacking and your excellent help I realized I was *one* line off in my server.json.  The line was not included in some of the example configs I found on github.

Quote
"sharelog" : true,

 Angry Angry Angry Angry  *bangs head against desk*

pushpool needs way more debugging output.  I might take up C programming and do another fork on github  Tongue

I just noticed this but this could have been fixed if you listened to my first reply were i say put your sharelog to true, lawl
2668  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 19, 2011, 09:36:04 PM
Make sure your mysql database has those credntials for login and that you can infact query the database with the queries inthe json file

Folks

I am trying to set up a bitcoind + pushpoold running on an Amazon EC2. No problems on bitcoind side, but I really don't know what's happening on the pushpoold side. Compilation was smooth, but I can't manage to run it.

My config file:

Code:
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8342
      { "port" : 8342 },

      # HTTP JSON-RPC protocol, port 8341
      { "port" : 8347, "protocol" : "http-json" },

      # HTTP JSON-RPC protocol, port 8344,
      #proxy is most likely your external ip address if your running a public pool | Public pools WON'T have the following ip addresses: (10.0.0.1, 127.0.0.1, 192.168.1.100, or 192.168.254.254,etc,etc)
      # requests to us | "proxy" should be set to your ip address that people will connect through
      { "port" : 8344, "protocol" : "http-json",
        "proxy" : "127.0.0.1" },

      # binary protocol, localhost-only port 8338
      # host is most likely your localhost address
      { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
   ],

   # database settings
   "database" : {
      "engine" : "mysql",

      "host" : "localhost",

      "port" : 3306,

      #database name
      "name" : "pushpool",
      #database username
      "username" : "mysqlusername",
      #database password
      "password" : "mysqlpass",
      #enable sharelog | to insert share data or sometimes known as "work"
      "sharelog" : true,
      "stmt.pwdb":"SELECT password FROM pool_worker WHERE username = ?",

      "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"

   },

   #uncoment this when you want to use memcached (Recommended for servers over 1.5gb of ram)
   # cache settings
   #"memcached" : {
   #   "servers" : [
   #      { "host" : "127.0.0.1", "port" : 11211 }
   #   ]
   #},

   "pid" : "/tmp/pushpoold.pid",

   # overrides local hostname detection
   "forcehost" : "localhost.localdomain",

   "log.requests" : "/tmp/request.log",
   "log.shares" : "/tmp/shares.log",

   # the server assumes longpolling (w/ SIGUSR1 called for each blk)
   "longpoll.disable" : false,

   # length of time to cache username/password credentials, in seconds
   "auth.cred_cache.expire" : 75,

   # RPC settings
   #Bitcoind Protocal settings
   #Host were bitcoind can be found on the network
   "rpc.url" : "http://127.0.0.1:8332/",
   #Username & password to connect to bitcoind
   "rpc.user" : "user",
   "rpc.pass" : "mypassword",

   # rewrite returned 'target' to difficulty-1?
   "rpc.target.rewrite" : true
}

I'm trying to run pushpoold with this command:

Code:
# pushpoold -c /usr/local/etc/pushpool.json --debug=2 -F -E
[2011-06-19 15:49:1.684078] Debug output enabled
[2011-06-19 15:49:1.684530] Forcing local hostname to localhost.localdomain
[2011-06-19 15:49:1.698690] Listening on host :: port 8342
[2011-06-19 15:49:1.698765] Listening on host :: port 8347
[2011-06-19 15:49:1.698819] Listening on host :: port 8344
[2011-06-19 15:49:1.698870] Listening on host 127.0.0.1 port 8338

Pushpoold simply quits. No messages, no further notice. This is pushpoold-0.5. I have tried a number of different branches as well as from the latest Github official sources. Same results.

Any help is much much appreciated.

Thanks in advance.
2669  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 19, 2011, 09:34:21 PM
Sorry guys.  After days of hacking and your excellent help I realized I was *one* line off in my server.json.  The line was not included in some of the example configs I found on github.

Quote
"sharelog" : true,

 Angry Angry Angry Angry  *bangs head against desk*

pushpool needs way more debugging output.  I might take up C programming and do another fork on github  Tongue

Please do, it would keep the suicide rate down around here, that thing is like Japanese box with Japanese instructions.... oh wait no INSTRUCTIONS!!! Roll Eyes
2670  Bitcoin / Project Development / Re: [Public v4] Mining Farm #2 | Mining Pool Front-End on: June 19, 2011, 09:33:03 PM
Hi,
we are testing atm.

- I cannot save at the "website preferences" / have it do over mysql
- Workers cant be deleted
- Is the Mysql file realy correct? Never seen something like "<<<<<<< HEAD" same as "=============" in a dump. / Sql cant read the file i have to put anything in the db manually
- The Design is broken on IE
- Pool stats are going from the right to the left?

used the files on first page. Download today.

and is this:
Quote
*Strong encrypted session cookies
*Auth pin needed to change certain aspects of user profile
*Instant pay out
*Stats will calculate when the next block
will be found and graphs the estimated time
*Email Validation
*Percentage Fee option
*HTML is written with Style Sheets in mind
*Out of the box translation support
*Flexible administrator panel
*API support for workers status.
*Native support for TradeHill bitcoin worth, along
with a "Potential Balance" display that displays your account balance with the current worth
*Live WYSIWYG Blog post and Admin page editors

allready implemented? where i can set the fee? (only in the database?)

best regards
Thank you for reminding me When i re-designed the pages I forgot to include the percentage fee
2671  Other / Beginners & Help / Re: What would you ideally like to be able to buy with bitcoins on: June 19, 2011, 11:19:01 AM
Why does everyone keep saying everyday normal stuff?
Everyone is different, some like to cook alot so they need vegetable oil or w/e. Some like movies and would pay for movies over food any day even if it ment staving them selves. Some people love to clean.
I know this is going to soumd like im answering my own question, but what specificlly is everyday normal stuff?
2672  Other / Beginners & Help / Want recognition from the community and build up your web design portfolio? on: June 19, 2011, 11:11:34 AM
Hey bitcoin community Mining Farm.com is looking for web designers that have little to no web designers to show off their skills and get recognition for their work. All designs will be featured on the mining farm website you basically download mining farm and edit the css mainstyle.css file and you can add what ever images that may be required for your theme. Then you can PM me and ill give you an email where you can attach the theme to send to.

Your author name and or website and donation address will be featured on the web site along with a screenshot
Please only modify the css file and images folder for not until i figure out a way to skin the webpage set up
2673  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 19, 2011, 07:47:43 AM
I should mention, I'm running bitcoind on testnet.  Does pushpool somehow block inserting into the mysql database shares that have been generated from testnet?  Also, just noticed your original topic said don't go into pushpool or bitcoind tech support, sorry!

Its been a couple of days but I'm pretty sure testnet was working for me when I tried it, I might be wrong tho
2674  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 19, 2011, 07:46:39 AM
CREATE TABLE IF NOT EXISTS `shares` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `time` int,
  `rem_host` varchar(255),
  `username` varchar(120),
  `our_result` enum('Y','N'),
  `upstream_result` enum('Y','N'),
  `reason` varchar(50),
  `solution` varchar(257),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;

Try that. I saw above that you said the server.json had 6 values, and the table has 8, so I'm still thinking it's a NOT NULL issue. I changed everything to be not NOT NULL (the one time a double negative is correct! Your move grammar!). I also changed the size specifications for the integers because those just bug me Tongue.

Thanks for this insight, I was unware that int could be created with out a limit, I shall use this in the next Mining Farm update v4.0.4
2675  Other / Beginners & Help / Re: What would you ideally like to be able to buy with bitcoins on: June 19, 2011, 07:27:49 AM
I just got accepted for a computer hardware distributor, Please PM me or better yet reply to this post in the this thread about what you would most likely be interested in purchasing on a yearly basis.

I believe most people here will say graphics cards.

I also enjoy buying RAM, because it feels so dirty when I buy it. It's like I'm treating my computer to something nice after a long night with it. "Oh, baby. I got you an upgrade. You know that 4GB of RAM you've got your eye on? Well I've got you 8GB since you mean so much to me." She's gonna be mad when she finds out when I can't support her going above 128.

And no, I'm not a virgin. Why would you think that??!

Video cards are suprisingly hard to get approved from distrobutors but I'm still waiting for a couple of replys. Ill end up probubly selling only 1/4 of neweggs selections so my current bussiness plan is motherboards, ram, power supplies, usb memory sticks, cpus, anything else the community would like.
2676  Other / Beginners & Help / Re: FACTORES THAT AFFECT THE BITCOIN RATE/VALUE on: June 19, 2011, 06:38:38 AM
can someone clarify how mining affects the value of bit coins?

One reason is that as the difficulty goes up the network automatically decides to reward 25BTC instead of 50BTC thus making it hard to obtain by mining, thus making it more valuable to miners and not wanting to sell them at low values because of electricity costs.

That of course was a really blunt theory but by this time hopefully there will be enough shops to control the value of bitcoins instead of miners controlling the value.

Another factor is bitcoin shops vs cashout to fiat ratio not only is it dependent on the shops but the users aswell. The more shops cashout the less value the bitcoins have since more people will have a lot making it inflate but if its a one time thing the miners will eventually balance this out. Also this is dependent on the miners and the consumers they can control the price if they refuse to buy and boycot a service or product
2677  Other / Beginners & Help / Re: What would you ideally like to be able to buy with bitcoins on: June 19, 2011, 06:25:53 AM
I just got accepted for a computer hardware distributor, Please PM me or better yet reply to this post in the this thread about what you would most likely be interested in purchasing on a yearly basis.
2678  Other / Beginners & Help / Re: *- RED CROSS donate suggestion -* on: June 19, 2011, 06:23:31 AM
I think a solution to add on to this already great idea,
would be to send them a donation along with a note that it was converted to bit coins and notify them how easy it is to accept bit coins and how much it would benefit them.

Update: i ment convert from bitcoins
2679  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 19, 2011, 06:20:03 AM
Yeah no problem!
Thank you for the support Xen

Code:
mysql> SHOW WARNINGS;
+---------+------+------------------------------------------------------+
| Level   | Code | Message                                              |
+---------+------+------------------------------------------------------+
| Warning | 1364 | Field 'time' doesn't have a default value            |
| Warning | 1265 | Data truncated for column 'upstream_result' at row 1 |
+---------+------+------------------------------------------------------+
2 rows in set (0.00 sec)

When I set up my tables I used your example from the Pushpool Tech Support thread

Quote
CREATE TABLE IF NOT EXISTS `pool_worker` (
  `id` int(255) NOT NULL AUTO_INCREMENT,
  `associatedUserId` int(255) NOT NULL,
  `username` varchar(50) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=0;

CREATE TABLE IF NOT EXISTS `shares` (
  `id` bigint(30) NOT NULL AUTO_INCREMENT,
  `time` int(255) NOT NULL,
  `rem_host` varchar(255) NOT NULL,
  `username` varchar(120) NOT NULL,
  `our_result` enum('Y','N') NOT NULL,
  `upstream_result` enum('Y','N') DEFAULT NULL,
  `reason` varchar(50) DEFAULT NULL,
  `solution` varchar(257) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;

Do I have too many columns for pushpool to handle?  I notice there are only 6 values in server.json and 8 columns in the sql table.  Sorry, still somewhat of a MySQL noob, this stuff is always set up for me beforehand, I usually only support post-install  Wink
2680  Other / Beginners & Help / Re: Mining Farm - Tech support (v4+ only) on: June 19, 2011, 05:40:09 AM
Code:
mysql> INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (" ", " ", "Y", " ", " ", " ");
Query OK, 1 row affected, 2 warnings (0.03 sec)

mysql> SELECT * FROM shares;
+----+------+----------+----------+------------+-----------------+--------+----------+
| id | time | rem_host | username | our_result | upstream_result | reason | solution |
+----+------+----------+----------+------------+-----------------+--------+----------+
|  1 |    0 |          |          | Y          |                 |        |          |
+----+------+----------+----------+------------+-----------------+--------+----------+
1 row in set (0.00 sec)

I see that you have received 2 warnings were they related to this query, and if so what did it the warnings say?
Pages: « 1 ... 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 [134] 135 136 137 138 139 140 141 142 143 144 145 146 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!