P2pool is a decentralized peer-to-peer BTC mining pool, which means users can choose a private or public node to mine on. Fees depend on the node chosen by the miner and the transaction fees are shared. Unlike centralized mining pools, P2Pool is based on the same peer-2-peer (P2P) model as Bitcoin, making the pool as a whole highly resistant to malicious attacks, and preserving and protecting the decentralized nature of Bitcoin.