Basic blockchain concepts
Queries regarding concepts related to blockchain technology
A mnemonic phrase is an alternative form of representation for a private key. It was first proposed in the BIP39 mnemonic phrase scheme. Its purpose is to allow users to remember complex private key strings. Mnemonic phrases usually consist of 12, 15, 18, or 21 words. These words are selected from a fixed database of 2049 words, and the sequence of the words is also determined using an algorithm.
The mnemonic phrase mechanism has been put in place to make the process of memorizing the private key a little easier, but it is crucial to save the mnemonic phrase at a secure location, since anyone with access to this mnemonic phrase can gain complete control of the wallet and all of its assets.
Keystore allows the user to store the private key in an encrypted form. The custom set password in tandem with the
ONT IDputs in place a safeguard to the encrypted private key and the wallet.
Plaintext private key is the randomly generated private key in the form of a string that is corresponds to a particular wallet account. It is used to carry out authentication and the signature process necessary for any transaction.
The Wallet Import Format (WIF) private key is a format that is used to represent the private key using
The rollback mechanism is a safeguard that has been put in place to insure consistency and integrity of the blockchain data. A transaction always depends on a set of conditions such that only in the case that all the conditions are fulfilled does the transaction proceed. In case any one of the conditions fails, the transaction as a whole fails, and thus all the changes that have occurred as a consequence of the said transaction should be rolled back, so to speak, to their original state before the transaction was carried out.
The respective functions involved in the transaction return an error or throw exceptions when this occurs, and that is how the rollback is initiated.
With respect to Ontology, Compiler v1.0 can use raise
Exception("error msg"), and compiler v2.0 can use both raise