"ᠪᠯᠣᠻᠴᠧᠢᠢᠨ"-ны өөр хувилбарууд
Layout
(Edit) |
(Layout) |
||
57-р мөр: | 57-р мөр: | ||
'''ᠪᠯᠣᠻᠴᠧᠢᠢᠨ ᠦ ᠫᠷᠣᠭ᠌ᠷᠠᠮ ᠤᠨ ᠨᠢᠭᠡ ᠬᠡᠰᠡᠭ ᠻᠣᠳ᠋ ᠤᠨ ᠵᠢᠱᠢᠶ ᠡ᠋ C# ᠬᠡᠯᠡ ᠪᠡᠷ᠄''' | '''ᠪᠯᠣᠻᠴᠧᠢᠢᠨ ᠦ ᠫᠷᠣᠭ᠌ᠷᠠᠮ ᠤᠨ ᠨᠢᠭᠡ ᠬᠡᠰᠡᠭ ᠻᠣᠳ᠋ ᠤᠨ ᠵᠢᠱᠢᠶ ᠡ᠋ C# ᠬᠡᠯᠡ ᠪᠡᠷ᠄''' | ||
<br><br> | |||
<div style="writing-mode: horizontal-tb; "> | |||
public class BlockChain | public class BlockChain | ||
90-р мөр: | 91-р мөр: | ||
_pendingTransactions.Add(transaction); | _pendingTransactions.Add(transaction); | ||
} | }</div><br><br> | ||
<div style="writing-mode: horizontal-tb; "> | |||
public void MineBlock(string minerAddress) | public void MineBlock(string minerAddress) | ||
129-р мөр: | 130-р мөр: | ||
if (currentBlock.PreviousHash != previousBlock.Hash) | if (currentBlock.PreviousHash != previousBlock.Hash) | ||
</div><br><br> | |||
<div style="writing-mode: horizontal-tb; "> | |||
return false; | return false; | ||
165-р мөр: | 167-р мөр: | ||
balance += transaction.Amount; | balance += transaction.Amount; | ||
</div><br><br> | |||
<div style="writing-mode: horizontal-tb; "> | |||
} | } | ||
187-р мөр: | 190-р мөр: | ||
}<ref>Czako Zoltan. Blockchain Explained Using C# Implementation. Towards Data Science. 2018/11/13. https://towardsdatascience.com/blockchain-explained-using-c-implementation-fb60f29b9f07</ref> | }<ref>Czako Zoltan. Blockchain Explained Using C# Implementation. Towards Data Science. 2018/11/13. https://towardsdatascience.com/blockchain-explained-using-c-implementation-fb60f29b9f07</ref> | ||
</div> | |||
204-р мөр: | 207-р мөр: | ||
· ᠠᠯᠭᠣᠷᠢᠲ᠋ᠾᠮ᠂ ᠥᠭᠭᠥᠭᠳᠡᠯ ᠦᠨ ᠪᠦᠲᠡᠴᠡ ᠢᠢᠨ ᠲᠠᠯ ᠠ᠋ ᠪᠠᠷ ᠬᠢ ᠣᠢᠢᠯᠠᠭᠠᠯᠲᠠ᠃<ref>Six Must-Have Blockchain Developer Skills. Hire Remotely. 2022/04/27. <nowiki>https://www.hiremotely.com/blog/blockchain-developer-skills</nowiki></ref> | · ᠠᠯᠭᠣᠷᠢᠲ᠋ᠾᠮ᠂ ᠥᠭᠭᠥᠭᠳᠡᠯ ᠦᠨ ᠪᠦᠲᠡᠴᠡ ᠢᠢᠨ ᠲᠠᠯ ᠠ᠋ ᠪᠠᠷ ᠬᠢ ᠣᠢᠢᠯᠠᠭᠠᠯᠲᠠ᠃<ref>Six Must-Have Blockchain Developer Skills. Hire Remotely. 2022/04/27. <nowiki>https://www.hiremotely.com/blog/blockchain-developer-skills</nowiki></ref> | ||
<br> | <br> |