Okay... I think i got it in theory....
There is a line saying DUMB_SCRYPT_DIFFICULTY which say 2**16 or 2**12 for all Altcoins.
I changed the value to "1" as it is for Bitcoin and i got hundreds of accepted shares per minute... But thats also incorrect.... So I Think we have to play with this value... I wonder, why it works with all other Coins with a value of 2**16 or 2**12
However when skimming through those I found those were the same for all scrypt coins and all sha256 coins. So I only saw 2 different versions. I still don't get the RPC connection to work though.
feathercoin=math.Object(
PARENT=networks.nets['feathercoin'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=60*60//10, # shares
REAL_CHAIN_LENGTH=60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=12, # blocks
IDENTIFIER='4665617468657221'.decode('hex'),
PREFIX='b131010ba6d4729a'.decode('hex'),
P2P_PORT=19333,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=19324,
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
feathercoin=math.Object(
P2P_PREFIX='fbc0b6db'.decode('hex'),
P2P_PORT=19333,
ADDRESS_VERSION=56,
RPC_PORT=6666,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'feathercoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//840000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=150, # s
SYMBOL='PXC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Phenixcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Phenixcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.phenixcoin'), 'phenixcoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='
http://cryptocoinexplorer.com:5750/block/',
ADDRESS_EXPLORER_URL_PREFIX='
http://cryptocoinexplorer.com:5750/address/',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
rpcuser=toaster
rpcpassword=itsthefinaltoastdown
rpcport=6666
port=6667
rpcallowip=127.0.0.1
rpcallowip=*
server=1
daemon=1
python ./p2pool-phenixcoin/run_p2pool.py --net feathercoin -a Pn57eZyeMD93RXYxwfh6C6QYjtGJQ24BLx -f 1 --give-author 1 --w 19324 --bitcoind-p2p-port 6667 --bitcoind-rpc-port 6666 toaster itsthefinaltoastdown