Bitcoin Forum

Other => Beginners & Help => Topic started by: V I R U S on June 20, 2011, 01:49:13 PM



Title: All mine for one? Possible?
Post by: V I R U S on June 20, 2011, 01:49:13 PM
Hello everyone!

I was reading some posts around there and looking for a good solution for my problem.

I would like create something like a "server" where other people can mine for it. It seems for me to be RPC simillar, but i don't want to give all and everyone the access to the server (think it might be critical due RPC rights).
I thought about to create a pool and set the Fee to 100%, but don't think that it's the right way to do it.

Can anyone point me to the right direction?  My machine is set on Debian Squeeze.

Much thanks!


Title: Re: All mine for one? Possible?
Post by: V I R U S on June 21, 2011, 08:48:01 AM
Can someone please help me with my question?


Title: Re: All mine for one? Possible?
Post by: JoelKatz on June 21, 2011, 08:53:32 AM
It's hard to understand your question. Do you just want people to be able to give you bitcoins?


Title: Re: All mine for one? Possible?
Post by: wildboy211 on June 21, 2011, 08:55:56 AM
It's hard to understand your question. Do you just want people to be able to give you bitcoins?

Thats what it sounds like hes saying.


Title: Re: All mine for one? Possible?
Post by: V I R U S on June 21, 2011, 09:12:46 AM
Yeah. That's right.


Title: Re: All mine for one? Possible?
Post by: wildboy211 on June 21, 2011, 09:13:22 AM
Yeah. That's right.

Okay. Thank you.


Title: Re: All mine for one? Possible?
Post by: shamen on June 21, 2011, 09:21:47 AM
A pool where all the mining clients pay the pool 100%? Sounds to me like the 'miners' / 'clients' probably wont be aware they are mining :P I can think of a few circumstances where that would come into play.

Read up on how pooling works. You dont need to set any payout in a pool. The pool wallet gets all the BTC. Its then up to the pool owner to distribute those BTC to the miners under the pool payout scheme, either manually or using software.





Title: Re: All mine for one? Possible?
Post by: V I R U S on June 21, 2011, 10:18:36 AM
If you are thinking about a botnet or something simmilar, there was already a topic about that, then you're wrong.

We have one project, and a lot of people would like to support us, but due different countries and high tax rates, it's highly difficult to transfer 10bucks and pay 20 for transfer.

Therefore i would like to provide an option to mine for the project. So simple =)


So, if i got it right, PUSHPOOL it the good solution for this?


Title: Re: All mine for one? Possible?
Post by: shamen on June 21, 2011, 11:12:24 AM
yes you can use pushpool to do this.

in its standard format, pushpool+bitcoind will never send any BTC to any miners. People can mine, but you keep all BTC.


Title: Re: All mine for one? Possible?
Post by: V I R U S on June 21, 2011, 03:51:48 PM
Much thanks for your help!

One question anyway, what better to use, Binary or Json connection style?


Title: Re: All mine for one? Possible?
Post by: shamen on June 21, 2011, 04:18:03 PM
I use json RPC for everything where possible. Easier to debug via tcpdump ;)


Title: Re: All mine for one? Possible?
Post by: V I R U S on June 27, 2011, 01:00:16 AM
Hi again. I can't get it working. Ahmmm, better to say it works, but no Coins are added.

I've started ./bitcoind -server -daemon and ./pushpoold -E -F to see all the stats.

That are my actual configs...
Bitcoind:
Code:
gen=0
noirc=1

server=1
rpcuser=myuser
rpcpassword=mypass
rpcport=8335
rpcconnect=127.0.0.1

keypool=100
paytxfee=0.00

Pushpoold:
Quote
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8336
      { "port" : 8336 },

      # HTTP JSON-RPC protocol, port 8337
      { "port" : 8337, "protocol" : "http-json" }
   ],

  
  # database settings
   "database" : {
      "engine" : "mysql",
      "host" : "localhost",
      "port" : 3306,

      "name" : "dbname",
      "username" : "dbuser",
      "password" : "dbpass",

    "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 (?, ?, ?, ?, ?, ?)"
   },

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

   # overrides local hostname detection
   "forcehost" : "myhost.net",

   "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
   "rpc.url" : "http://127.0.0.1:8335/",
   "rpc.user" : "myuser",
   "rpc.pass" : "mypass",

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

   # allow clients to update the ntime field of their work
   "roll.ntime.disable" : false
}

Like i said, all works perfect, i can connect and start mining. Even the results are accepted by the server. By after a 100 acceptions there is not even a signle 0.00000001 BTC in my server Wallet. If i get in right, it should be visible after typing ./bitcoind getinfo
Result:
Code:
{
    "version" : 32300,
    "balance" : 0.00000000,
    "blocks" : 133435,
    "connections" : 25,
    "proxy" : "",
    "generate" : false,
    "genproclimit" : -1,
    "difficulty" : 1379192.28822808,
    "hashespersec" : 0,
    "testnet" : false,
    "keypoololdest" : 1308314332,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

Can anyone help? Thanks!


Title: Re: All mine for one? Possible?
Post by: bcforum on June 27, 2011, 02:30:47 AM

If you are running a pool you have to solve a block to get 50BTC. If you don't solve a block, you get nothing.

Oh, and whenever someone else solves a block, you have to start over on a new block.

And it is statistically possible you will never ever ever solve a block and get any payback for your effort.