Author

Topic: P2Pool Alias addressing (Read 536 times)

newbie
Activity: 17
Merit: 0
September 05, 2013, 02:22:04 PM
#2
 Did you ever get an answer to this ?


 I have seen several P2Pools with usernames other that a wallet addresses, can anyone help me to do this ?


 Regards.
newbie
Activity: 14
Merit: 0
April 14, 2013, 12:00:53 AM
#1
I know that P2Pool is a decentralized mining pool, consisting of nodes, which interconnect together. However, my question does not seem to be something that comes up, or at least not over google, through this forum or other methods(The P2Pool wiki).

My question is, how would a node host create "aliases" to bitcoin wallet addresses?

A user connects with their wallet address, they are paid for shares they help mine.
A local connects with anyuser with any password and they are shown as a local miner.

How could I turn "thisuser" with "thispass" as "thatwallet"?
-If user exists and password is wrong, reject.
-If user is set as local, accept as local
-If user connects with bitcoin address, accept.

For example my wallet address is for instance 34 characters. Most addresses are this long(To my knowledge)
Could you some how allow alias workers under 30 characters?

Would this require me to edit the source code to check a mysql DB? Or could I do this without modifying the source code?

I'm a web developer, so I want to create a feature filled, unique P2Pool site, where a user could login as:

herpderp, their wallet is A1B2C3D4E5F6G7H8I9J10K11L12M13N14O
herpaderp + right pass = A1B2C3D4E5F6G7H8I9J10K11L12M13N14O
herpaderp + wrong pass = Reject

(db columns id,user,pass,wallet,local (id(ai),user(30),pass,local(default:0))

If I have to modify how connections are handled I will, but if there is something I could do to achieve the same effect already there, and I either missed it in the documentation, or it's simply not documented I'd really like to know.
Jump to: