Hi all,
I’m new on the forum and I’m looking for information on how proof-of-methods, like proof-of-stake (pos) and proof-of-work (pow) actually operate. I think I have a good grasp of pow, but it seems to me there’s very limited documentation on how pos operates – not from a high level perspective, but from a detailed perspective.
So, if it’s OK, Id like to ask some questions about Peercoin’s pos. First of all, if anyone can point me to a detailed technical documentation on proof-of-stake in Peercoin that answers the questions below, that would be really appreciated. But I’ve done some Big Searching (yes, I watched the videos, searched the forum, used Google, etc), haven’t been able to find any. Most posts seem to focus on ‘how to do it’, instead of ‘how it actually works, under the hood’.
The main idea of proof-of-stake is to use coin age as a resource, compared to pow’s hashing power.
My questions are:
*How do nodes connect tot the P2P network, or find other nodes? Are there hardcoded ip-addresses of DNS servers in the client?
- Who/what determines the coin age? Can’t I cheat by stating (in my peercoin client) my coins have x-age? My assumption is that, as with Bitcoin, Peercoins move from transaction to transaction (not from wallet to wallet). With the network time (I assume UTC is applied) and a sliding time window, wouldn’t someone be able to slide that window up, effectively being able to mine a block faster then someone who is honest (time-wise)?
*How is a transaction generated? What does a transaction frame look like? How are transactions collected, is there such a thing like a memory pool (as with Bitcoin)? - How is a block generated? What is actually in a block (like: timestamp, stake, hash previous block) – does the block contain transactions that are being verified, like in Bitcoin’s pow?
- How are blocks distributed, is it similar as in Bitcoin’s pow, where blocks are being broadcasted to nodes in the network?
- From what I understand from the original paper (PPCoin: Peer-to-Peer Crypto-Currency with Proof-of-Stake), everyone mines a block, but only the block with the highest stake wins. Is that correct? Somehow it seems contradictory to the idea of not everyone having to mine and thus saving energy.
Thanks for reading.
Fevir