Summary. As you may know, current version of NVC p2pool (adapted for NVC by the coin's developer Balthazar,
https://github.com/CryptoManiac/p2pool) does not support mining on a public node to custom address. I post a simple patch which allows mining on a public node, which can be tested on my zero-fee host.
Technical background. What is known as address (that string of symblols) is encoded hash of ECDSA public key. Address can be derived from corresponding public key but not vice versa. Unlike other coins, in NVC (and PPC I believe), generation transaction is forced to send coins to full public keys. So mining to a given address is just impossible. However, one can mine to specific public key!
To launch a public node get the code from
https://github.com/baloo-kiev/p2pool/tree/nvc:
$ git clone -b nvc https://github.com/baloo-kiev/p2pool.git
To mine on a public node. Get a new pubkey from your NVC client with 'getnewpubkey' command in debug console or by RPC. Validate it vith 'validatepubkey' command to find out address associated with it.
It looks like this:
$ ./novacoind getnewpubkey
0283f63d8e2988b76cbab6b69c81471db70598a16748ce08091abbcc50b254a353
$ ./novacoind validatepubkey 0283f63d8e2988b76cbab6b69c81471db70598a16748ce08091abbcc50b254a353
{
"isvalid" : true,
"address" : "4FPVq9hX5HEE4SdmWF3g5DLo2xBCrJ5xuv",
"ismine" : true,
"iscompressed" : true,
"isscript" : false,
"pubkey" : "0283f63d8e2988b76cbab6b69c81471db70598a16748ce08091abbcc50b254a353",
"iscompressed" : true,
"account" : ""
}
Use it as your username when connecting to the node.
You can test it on my zero-fee node at
http://78.27.191.182:8347/Happy mining!
UPDATE Code updated, please update your nodes! To avoid generation of invalid blocks, miners now mine to the node's default address until it has minimal payout (0.01 NVC). With current network hashrate this is equivalent to minimal fee of 50 kH/s distributed across all node's miners. You are free to set any custom fee percentage for your node (including zero), but this minimal fee will apply anyway.
UPDATE 12/06 Fixed miner's pubkey validation.
UPDATE 13/06UPDATE 05/07
IMPORTANTEveryone who downloaded Windows binaries before this update must clear their data/novacoin directory. Accidentally, it contains a cached public key, which will be used as your node's default mining address if you don't delete it! Download link fixed.