Bitcoin Forum
May 12, 2024, 11:49:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: P2Pool Alias addressing  (Read 514 times)
lmotaku (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 14, 2013, 05: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.
1715514545
Hero Member
*
Offline Offline

Posts: 1715514545

View Profile Personal Message (Offline)

Ignore
1715514545
Reply with quote  #2

1715514545
Report to moderator
1715514545
Hero Member
*
Offline Offline

Posts: 1715514545

View Profile Personal Message (Offline)

Ignore
1715514545
Reply with quote  #2

1715514545
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715514545
Hero Member
*
Offline Offline

Posts: 1715514545

View Profile Personal Message (Offline)

Ignore
1715514545
Reply with quote  #2

1715514545
Report to moderator
amex4152
Newbie
*
Offline Offline

Activity: 17
Merit: 0



View Profile WWW
September 05, 2013, 07: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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!