Bitcoin Forum
May 23, 2024, 04:13:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Bitcoin / Development & Technical Discussion / Re: An estimate of fpga performance on: June 17, 2011, 03:40:24 PM
single chip 100Mhash/s?

What about evolving the hardware to do the hashing rather than writing it as straight VHDL?

I had a good idea about using hadoop clusters to run the fitness tests for the evolutionary algorithm testing.

For those who have no clue what i am talking about, read the article about the professors that got an fpga to recognize the difference between two tones with way less than 100 gates and no CLK.

http://fsweb.olin.edu/~mchang/research/documents/seminar/evolve2k2/evolve.ppt
http://www.cogs.susx.ac.uk/users/adrianth/ade.html

I always had a thought that evolving the circuits would be a way to find really fast ways of "cracking" various hashing algorithms, as well as making really tiny encoders and decoders for various projects.

Anyhow, i enjoyed this thread.
2  Bitcoin / Development & Technical Discussion / Re: When will we finally get GUI Mac OS X/*nix Clients? on: June 17, 2011, 03:27:36 PM
As fun as it is to run things from the command line, it'd be much more user-friendly (as well as easier to bring up new machines) if there was a GUI frontend to poclbm and/or phoenix-miner for the OS X/*nix platforms. Are there any in development?

on windows you can just make a shortcut... I know guiminer is nice, but it does drop performance a bit, no idea why.
3  Economy / Marketplace / Re: The New Ubitex on: June 16, 2011, 02:32:40 PM
Cool!
4  Bitcoin / Pools / Re: Next pool to hate... on: June 15, 2011, 02:40:46 AM


I'm surprised people are still sticking with deepbit when it has such a high fee. Is there something about it I'm missing?

Tell me of another pool with high hash rate (= low variance), pay-per-share, instant payout (no 120 blocks to confirm b.s.), long polling
 
I gladly pay 7% for that. In fact my earnings on DB are consistently higher than on slush despite the 5% difference in fees.

& I don't have to wait 16-24+ hours for "confirmed".

Does slush not have the "pay transaction fees" set on the server side? deepbit's payouts are fast because the fees you're paying are used to pay out transactions, just check out the speed of payout!


Anyhow i am using my own pool right now so i withdrew my deepbit BTC.
5  Bitcoin / Pools / Re: Please test: New Experimental Pool "Eligius" (~250 GH/s) on: June 15, 2011, 02:12:01 AM
Starting a pool is a PITA, because everyone wants to see BTC, especially new users, and if the pool is brand new, you won't get paid until a block hits, and that could be weeks. How do you get around this? I've thought about bringing up every CPU i have access too to mine on other pools to get BTC together to fund payouts of miners who think they should get paid for existing.

:-/
6  Bitcoin / Project Development / Re: [BOUNTY] Open Source pooled mining platform with web interface on: June 14, 2011, 07:11:33 AM
Well heck, I'm glad I started this thread!  Two new open-source pools with front-ends = mission accomplished!

I'd start a pool myself, but I don't have the guts to go up against the DDOSers that seem to run rampant across the pools.
I've been thinking about DDOS attacks myself, Once I get enough BTC I will be able to get a good server and try this idea out I have with firewall permissions. You know deny everyone from the pool accept those that have authenticated their IP address before connecting, That way the server just will not respond to those IP address unauthenticated.
This would probubly deffinalty slow down attackers as they'd have to authenticate every single netbot and if they have 1000000 netbots coming from 1 ip address it will shut them out. Simple as that .
This will be in a couple of months from now after my pooling software is perfect but still a dream i have for the future of pooling services Cheesy
tell me what you guys think in terms of flaws, and maybe how annoying it might be to authenticate your ip address everytime

Even if you reject packets at your router the DDoS still clogs your incoming bandwidth. It's Denial Of Service - an easy way to deny service is to overload your proposed authentication server, just pass tens of thousands of spurious requests from spoofed IPs and it bogs down, denying service to your users who actually CAN authenticate. One of the only ways to mitigate DDoS today is to have the ISP kill the connections from their gateway - and you have to be a decent size to manage that.

I can actually think of a few ways that cost a bit of money per hour to run that could nearly completely remove DDoS attacks from the pools and front ends specifically, but i'll keep those to myself until someone offers a BTC bounty, since i'm technically in the business of selling such novel solutions.

Xenland - you ever need some quick security advice you know where to find me.

--
7  Bitcoin / Project Development / Re: [Pushpool Web Frontend] Simplecoin Opensource PHP/MySQL on: June 14, 2011, 07:03:22 AM
I tried to use the git version of adminPanel with my existing install (not latest git) - it doesn't show anything... the old adminPanel didn't do anything.

How do i reset a user's password?

Can i go into the sql database and add shares into a table to make up for the fact that i had to delete the user's duplicate entries?

Also
BUG: You can register the same username more than once.  Undecided

What is the php error from adminPanel? It should display if you have the admin flag.

Nothing, i get a blank area where the panel normally is, but the rest of the page loads fine (the template.) I have admin set on the account. the reason i updated is you said you fixed some things and security.

is v2 going to allow seamless upgrade from v1?
8  Bitcoin / Project Development / Re: [Pushpool Web Frontend] Simplecoin Opensource PHP/MySQL on: June 13, 2011, 09:48:53 PM
I tried to use the git version of adminPanel with my existing install (not latest git) - it doesn't show anything... the old adminPanel didn't do anything.

How do i reset a user's password?

Can i go into the sql database and add shares into a table to make up for the fact that i had to delete the user's duplicate entries?

Also
BUG: You can register the same username more than once.  Undecided
9  Bitcoin / Project Development / Re: [Proposal] Project code of conduct on: June 12, 2011, 09:13:28 PM
As I mentioned in another thread, maybe it's time to focus bitcoin.org like a typical open source project forum and leave anything outside of the focus to other sites.

bitcoin.org can set up a wiki page where any site running a bitcoin forum can list themselves.

An excellent suggestion. I agree but think that for other sites to thrive bitcoin.org should, as suggested eventually try to limit its scope to core Bitcoin functionality and architecture issues.

An excellent point as well regarding the social engineering and single point failure vulnerabilities inherent in the current format.
Also agreed - it would be good to have bitcoin.org officially sanctioned discussion be solely about development efforts, and leave other community-building to a variety of different user-operated fora.

You know there's winners abound when the very idea that people should be civil on a forum leads to trolling in the very thread it is brought up in.

The internet is ruined forever.  Roll Eyes
10  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support | Web design donation pot: 4.15 BTC on: June 12, 2011, 04:59:01 PM
genewitch - pushpool has never calculated hashrate. I don't understand how you even had this idea in the first place.

pushpool was not putting anything in the database, just reading from it. Therefore every other piece of software that relied on the shares table to be updated by pushpoold was not calculating the hashrate, or activity.

Picking one part of my statement that is incorrect and lambasting it without acknowledging the real problem is called the strawman fallacy.

I got it working (there was a bug somewhere in the pushpoold code, haven't diffed everything to figure out where yet) - and i will write a guide that uses the git snapshot i have as a base.

It just took 12 hours on my part and a lot of "works for everyone else!!!!!!111" from others.

I'm still glad the software exists, though.
11  Bitcoin / Project Development / Re: [Pushpool Web Frontend] Simplecoin Opensource PHP/MySQL on: June 12, 2011, 07:15:36 AM
Is simplecoin.us being ddos'd? I can't access it and haven't been able to for the last 2 hours.
most likely. and the owner is AFK (he mentioned this might happen and apologized)
12  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support | Web design donation pot: 4.15 BTC on: June 12, 2011, 06:34:22 AM
for those hitting my errors earlier:

use these command to pull the latest source for pushpool

git clone https://github.com/jgarzik/pushpool.git
cd pushpool
./autogen.sh
./configure
make
sudo make install


setup your server.json properly, make sure you add
Code:
"sharelog" : true,
to the "database" section.

start pushpoold. handle your business.

*autogen.sh fails on EC2 ubuntu natty narwhal, you have to
Code:
apt-get install automake
to get aclocal!
13  Bitcoin / Mining support / Re: Want GPU's running 100% on: June 12, 2011, 04:20:58 AM
don't use crossfire. SLI is for video not GPGPU. i may be wrong but setting up separate threads for each GPU may be your best bet.
14  Bitcoin / Bitcoin Technical Support / Re: Problems with my 3x5870 Mining rig on: June 12, 2011, 03:42:10 AM
you can do what you want with cpu miners but not gpu. i can't even watch videos on the internet or my computer while i am mining because i underclock my VRAM and overclock the GPU.

with 3 fast cards, you will pull nearly a GH/s when you are mining, so i wouldn't worry about a couple of hours a day where you shut them down for some gaming.

guiminer/poclbm try these settings -a 5 -w256 BFI_INT AGGRESSION=19 -f 0 VECTORS see if you don't start getting more share submits. I get 105+ an hour with my single 5850!

Underclock your ram to 300Mhz, or 900mhz. try setting AGGRESSION to 13, as well. and -f 1. futz around and tweak till your happy with your share output.  Grin
15  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support | Web design donation pot: 4.15 BTC on: June 12, 2011, 03:34:26 AM
the pin cannot start with 0. if you try it throws invalid pin. probably because whatever command php uses to determine the length cuts leading zeros.

Thanks for the bug report ill have that fix uploaded very soon. On a features note im still on schedule i just got my 6990 so trying to ge that running so i can get back to work on the features like worker graphs, blog updates editor, and i still have to test out a potential bug in the blockfound page.

Thanks for everyone patience in this down time
don't use the patch i typed up there it doesn't work.
use this patchfile
Code:
55c55
< $authPin = (int) $_POST["authPin"];
---
> $authPin = (string) $_POST["authPin"];
89c89
< if(!is_int($authPin)){
---
> if(!is_numeric($authPin)){

 Sad Sad Sad
pushpulld isn't updating anything in the mysql database, such as shares, active column in the pool_worker table, hashrate, etc. I haven't gone through everything but as far as i can tell it's not doing any updates of the tables. Any way to debug this?
16  Bitcoin / Project Development / Re: [Pushpool Web Frontend] Simplecoin Opensource PHP/MySQL on: June 12, 2011, 03:32:43 AM
hey you updated the git repo while i was making a patch:

http://paste.ubuntu.com/624849/

or
Code:
55c55
< $authPin = (int) $_POST["authPin"];
---
> $authPin = (string) $_POST["authPin"];
89c89
< if(!is_int($authPin)){
---
> if(!is_numeric($authPin)){

in register.php

This makes it so your pin can start with zero. or 2 zeros. or 3. this affected 2 out of three people on my new pool already :-p
17  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support | Web design donation pot: 4.15 BTC on: June 12, 2011, 02:00:11 AM
the pin cannot start with 0. if you try it throws invalid pin. probably because whatever command php uses to determine the length cuts leading zeros.
bug just cost me a pool worker :-(

in register.php (onyl one i looked at) look for this section
Code:
$authPin        = (int) $_POST["authPin"];

change to:
Code:
$authPin        = (string) $_POST["authPin"];

look for:
Code:
 //valid date authpin is valid

change the block under it to read:
Code:
//valid date authpin is valid
                        if(strlen($authPin) >= 4){
                                if(!is_numeric($authPin)){
                                        $validRegister = 0;
                                        $returnError .= " | Not a valid authpin";
                                }
                        }else{
                                $validRegister = 0;
                                $returnError .= " | Authorization pin number is not valid";
                        }


verified myself this time.  Roll Eyes
18  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support | Web design donation pot: 4.15 BTC on: June 11, 2011, 11:55:55 PM
pushpool is not setting mysql pool_worker "active" and hashrate. pushpool is working, because it accepts the login i gave it and throws client errors if i use anything else.
Pushpool is also not updated the "shares" table with any data, it says it's an empty set.
Code:
mysql> select * from sc.pool_worker;
+----+------------------+-------------+----------+--------+----------+
| id | associatedUserId | username    | password | active | hashrate |
+----+------------------+-------------+----------+--------+----------+
|  1 |                1 | genewitch.1 | x        |      0 |        0 |
+----+------------------+-------------+----------+--------+----------+
1 row in set (0.00 sec)

mysql> select * from sc.shares;
Empty set (0.00 sec)
Do i need to write the logic to set these, or should pushpoold be doing this itself? Please advise! :-D

edit: /tmp/shares.log is full of stuff:
Code:
[2011-06-12 00:30:9.000529] ::ffff:76.91.146.36 genewitch.1 Y - - 000000011023d492df81b494de90f30e854e953d1e72515dad22dd21000013a800000000633913820a277592654e47a21fe21701c20f542b45b0c2c345cea70e66c5ba204df4088e1a1d932f5e7ff9ff000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2011-06-12 00:30:12.190757] ::ffff:76.91.146.36 genewitch.1 Y - - 000000011023d492df81b494de90f30e854e953d1e72515dad22dd21000013a800000000633913820a277592654e47a21fe21701c20f542b45b0c2c345cea70e66c5ba204df408911a1d932f073e1230000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
So obviously something is going wrong somewhere in the database calls. I'd like to know if i screwed something up or if there's something i can help patch. I know it is a weekend, though, so i'll just grin and bear it for now.

edit: my miner has been running ~300MH/s for hours now, and has submitted nearly a thousand shares (and they were accepted) - but this isn't reflected anywhere in the database. Is this a privilege setting or something?

I have exactly the same problem in above post!
Please tell me what is wrong?

Thanks

Actually it resolved itself, bitcoind had to run for about 20 minutes before it finally stopped giving upstream RPC errors and connection lost in the client.



Jun 11 05:02:55 ip-10-124-17-59 pushpoold[18787]: tcp socket: Address family not supported by protocol


How did you resolved this error?

Stopped using gentoo and switched to ubuntu. It has something to do with ipv6, although on gentoo i changed USE="-ipv6 ipv4" and did emerge -DN @world and it did not fix it.
edit to ^: It's a gentoo issue 90% and the code in pushpool 10% because of the way that it gets a socket. I am not a  C programmer. I cannot patch this while ensuring it works for everyone.

Thanks to the developers for making something like this that is free and works at all. I couldn't have done it, that's for sure.
19  Bitcoin / Project Development / Re: [Pushpool Web Frontend] Simplecoin Opensource PHP/MySQL on: June 11, 2011, 11:36:59 PM
right, pushpool uses the shares & pool_worker tables and should share them with simplecoin.

If you want, you could in theory remove shares & pool_worker from the sc database

Right, sc.pool_worker is sort of working as intended, as my worker can log in with genewitch.1 and x as the password. But you see how the active and hashrate aren't set? What sets those? pushpool?
Do i have to code that logic myself?
Code:
mysql> select * from sc.pool_worker;
+----+------------------+-------------+----------+--------+----------+
| id | associatedUserId | username    | password | active | hashrate |
+----+------------------+-------------+----------+--------+----------+
|  1 |                1 | genewitch.1 | x        |      0 |        0 |
+----+------------------+-------------+----------+--------+----------+
1 row in set (0.00 sec)

and shares is empty, is pushpool supposed to populate this? the reason i ask is i can go pester the pushpool developers :-)
Code:
mysql> select * from sc.shares;
Empty set (0.00 sec)

20  Bitcoin / Project Development / Re: [Pushpool Web Frontend] Simplecoin Opensource PHP/MySQL on: June 11, 2011, 10:47:25 PM
The php pages aren't showing any worker stats
sounds like the workers.php cronjob isn't running.
Nah, it's like the database for pushpool can't see the database for simplecoin and vice versa
Ah, pushpool & simplecoin should be using the same database.
they are, i called it sc and a user called pushpool was granted all permissions on it. Both simplecoin and pushpool use 'pushpool'@'localhost' as the database login, and i know pushpool can see the database because it allows my worker to login via -u genewitch.1 --pass=x.
what actually has the accounting, pushpool? Maybe i can dig through your PHP to see where the accounting database calls are and try the queries in a mysql prompt to see if there are the correct values in there. If you need any of my json or config files i can provide them.

Thanks for helping me, by the way. I'm setting this up for #xkcd on foonetic. :-)
Code:
mysql> show tables;
+----------------+
| Tables_in_sc   |
+----------------+
| accountBalance |
| networkBlocks  |
| pool_worker    |
| settings       |
| shares         |
| shares_history |
| webUsers       |
+----------------+
7 rows in set (0.00 sec)

mysql> select * from sc.accountBalance;
+----+--------+---------+------------------------------------+------+-----------+
| id | userId | balance | sendAddress                        | paid | threshold |
+----+--------+---------+------------------------------------+------+-----------+
|  1 |      1 | 0       | 1CfUcB7yKKWpco3BPjzHjveyrR1rBmvmEp | 0    |         0 |
+----+--------+---------+------------------------------------+------+-----------+
1 row in set (0.00 sec)

mysql> select * from sc.shares;
Empty set (0.00 sec)

mysql> select * from sc.shares_history;
Empty set (0.00 sec)

Edit: hey, am i supposed to add anything to pushpool to take care of accounting? like add sql commands somewhere or something? Or does simplecoin use logs to determine shares and activity and set the mysql stuff itself? I know all the frontend (for payments) is NOT handled by pushpool stock install, so maybe i missed a step where i move a config file from simplecoin to somewhere else. I did run mysql sc <simplecoin.sql
Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!