Tl;dr — The Nano block lattice is made up of blocks. Each complete transaction requires two blocks, one to send and another to receive. Changing your representative requires another block. A block contains all the information required for managing your Nano and is signed with a private key so only the owner can make changes. They are assigned a unique code called a hash.
Blocks are one of the fundamental concepts in cryptocurrency. They are groups of data linked together and usually represent transactions and interactions. These blocks are verified by the network and committed into a distributed ledger after being confirmed. For example, in Bitcoin, blocks are verified and committed to the ledger through the mining process, and each block is linked to the next to form a chain.
The Nano ledger is different; instead of a single chain for the whole ledger (where each block aggregates multiple transactions), each account has its own chain of blocks which are woven together as new transactions are added to the network to create a block lattice. The blocks in a Nano chain represent the changes that its owner, who holds the private key, has made to their account. These changes take one of the following forms:
Originally, Nano had 4 different block types: Open, Send, Receive and Change, each with slightly different layouts. However, these have since been merged into a single block type called a State block. Each state block contains all the details of that account, including the address and balance, as well as details to help place the block in the correct position in its chain. A block is then authorized by a digital signature created using the block details and the account’s private key.
The most recent block is called the head or frontier block as its at the front. With the introduction of state blocks, only the frontier is necessary to know everything about the current state of account. The exception are pending blocks, that is, those that have been sent by other accounts, but not yet received.
With all this data grouped together in the state block structure, it is easy to make changes:
Notice that the amount transacted is not directly present in any block. To obtain this value, it is necessary to subtract the previous block’s balance from the frontier block’s balance.
Each block needs a work value; this is the resulting value following a resource consuming mathematical calculation and will be discussed in detail in a future Nano Education article. The idea is for this number to be hard to generate, but easy to validate. Interestingly, the work value is actually not included in the signature of the block, and can be obtained after the block is generated (but it needs to be present before the block is broadcast, or it will be rejected).
An example of a state block, in a JSON-encoded format:
It is important to note that other nodes in the network check the blocks to make sure that all the details line up and will reject an incorrect block — it is not possible to just create a new block with a larger balance than what has been sent to you.
Every account has its own chain and this chain can only be altered with blocks signed by the account’s private key. When someone sends you Nano, they create a new block with a reduced balance and a destination address but they can not change your chain; instead, the funds remain as confirmed by the network, but in a limbo (known as pending) until the corresponding receive block is created and increases the balance proportionally. There is no limit to how long the funds can stay pending.
Special thanks to John “xeer0s” Pesonen for making the Nano Education logo.
Any opinions expressed by the Guest writer are their’s alone, and do not necessarily reflect the views of the Nano Foundation (NF), its officers or employees. Any links to third party sites are for information only, and may offer commercial or financial services or products which may: be subject to additional regulation; or, not lawfully be promoted to you in your jurisdiction. The inclusion of any such link is not an approval, endorsement or guarantee of that website, any information you may obtain from it, or the site’s owner (or their products/services), nor certification that the site is suitable or lawful for you to view or use. NF disclaims any and all liability for the acts, omissions and conduct of any such third parties and Guest writer. YOUR ACCESS TO AND USE OF ANY EXTERNAL SITE IS ENTIRELY AT YOUR OWN RISK.
Muy buena publicación https://www.bestbloger.com
Community | 캐스트윗 (CTT) 5월 일정 살펴보기
Sehr guter Beitrag
Community | 캐스트윗 (CTT) 5월 일정 살펴보기
Community | 오늘도 코고 퀴즈 풀고 GST 받아요
여기에서 내가 원하는 대한 조언을 오랜 시간: 한국 뒤로 가기 저를 믿고,최고의 사이트를 찾을 수 없습니다,나는 매우 행복으로 무슨 일이 있었는지 지금 나는 확실히 노력하겠습니다.어떤 경우에는 경우에 당신은 당신의 필요성에 직면하고 최적화를 위해,당신은 여기에서
Community | 멀티 브로드캐스트 플랫폼, 캐스트윗 (CTT)
잘봤오요~~~~~저도 이거 참여하고 있어요!
Community | 리버마운트(RM) 상장 및 IEO 전 라스트 에어드랍 이벤트!!!
Write a post
Are you sure you want to delete this post?
Are you sure you want to delete this comment?
Purchase has been completed.
닉네임을 설정 후 작성해주세요.