Читать книгу Cryptocurrency All-in-One For Dummies онлайн
176 страница из 200
EndPointRegistry: A place to record items in a blockchain
IntegerKey: A shared ledger that is used for supply chain management
MarketPlace: A blockchain trading platform for buying, selling, and trading digital assets
Exploring the consensus algorithm: Proof of Elapsed Time
The consensus algorithm for Sawtooth is called proof of elapsed time (PoET). It was built to run in a secure area of the main processor of your computer, called a trusted execution environment (TEE). PoET leverages the security of the TEE to prove that time has passed by time-stamping transactions.
Other consensus algorithms have some kind of time-stamping element as well. The way they ensure that the records have not been changed is through publicly publishing their blockchains as proof that they have not been altered. The published ledger acts as a public witness that anyone can roll back and check. It’s sort of like publishing an ad in a newspaper to prove something happened.
PoET also has a lottery system that works a bit differently from other blockchains using proof of work. It randomly selects a node from the pool of validating nodes. The probability of a node being selected increases proportionally to how much processing resources that node contributed to the shared ledger. Measures may be put in place to prevent nodes from gaming the system and corrupting the ledger.