This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot-reloaded:blockchain_network_structures_and_technologies [2024/12/05 14:34] – ktokarz | en:iot-reloaded:blockchain_network_structures_and_technologies [2025/05/17 09:12] (current) – agrisnik | ||
---|---|---|---|
Line 3: | Line 3: | ||
**Transactions** | **Transactions** | ||
- | Blockchain technology uses two main types of cryptographic keys to provide the security of transactions and data: public keys and private keys. These keys work together to protect the integrity of the blockchain, enabling secure exchanges of digital records and protecting user identities. Consider the example of a mailbox. The public key is your email ID which everyone knows about and can send you messages. The private key, on the other hand, is like the password to that mailbox. Only you own it and only you can read the messages inside. | + | Blockchain technology uses two main types of cryptographic keys to provide the security of transactions and data: public keys and private keys. These keys work together to protect the integrity of the blockchain, enabling secure exchanges of digital records and protecting user identities. Consider the example of a mailbox. The public key is your email ID, which everyone knows about and can send you messages. The private key, on the other hand, is like the password to that mailbox. Only you own it, and you can read the messages inside. |
- | A public key is a cryptographic code that is openly shared and used by others to interact with your blockchain account. It's generated from your private key using a specific mathematical process. Public keys are used to verify digital signatures and to encrypt data that only the private key can decrypt. This ensures that messages or transactions are intended for the correct recipient. | + | A public key is a cryptographic code that others |
- | A private key is a secret cryptographic code that grants access to your blockchain records. It must be kept confidential because anyone | + | A private key is a secret cryptographic code that grants access to your blockchain records. It must be kept confidential because anyone |
Public and private keys work together to secure blockchain operations: | Public and private keys work together to secure blockchain operations: | ||
- | * Encryption and Decryption: | + | * Encryption and Decryption: |
* Digital Signatures: When a transaction is signed with a private key, the signature can be verified by others using the public key. This verification process confirms that the transaction is authentic and has not been tampered with. | * Digital Signatures: When a transaction is signed with a private key, the signature can be verified by others using the public key. This verification process confirms that the transaction is authentic and has not been tampered with. | ||
- | * Secure Transactions: | + | * Secure Transactions: |
**Categories of blockchain.** | **Categories of blockchain.** | ||
Line 18: | Line 18: | ||
There are three categories of blockchain: | There are three categories of blockchain: | ||
- | __Public blockchains__, | + | __Public blockchains__, |
- | Public blockchains process transactions more slowly because they are decentralised, as a result, each node should agree on each transaction. This requires time-consuming consensus methods like Proof of Work, which prioritise | + | Public blockchains process transactions more slowly because they are decentralised; as a result, each node should agree on each transaction. This requires time-consuming consensus methods like Proof of Work (PoW - a form of cryptographic proof in which one party - the prover proves to others - the verifier that a certain amount of a specific computational effort has been provided) and prioritising |
- | __Private blockchains__ (in some literature mentioned | + | __Private blockchains__ (sometimes referred to as managed blockchains) are closed networks accessible only to authorised or select verified users. They are often owned by companies or organisations |
- | Private blockchain is very similar to existing databases | + | Private blockchain is very similar to existing databases |
Since it is accessible only by certain people, there is no requirement for mining blocks (validating). As a result, such networks are faster than other types because they do not have the necessary mining, consensus, etc. | Since it is accessible only by certain people, there is no requirement for mining blocks (validating). As a result, such networks are faster than other types because they do not have the necessary mining, consensus, etc. | ||
- | __Hybrid or consortium blockchains__ are permission-based blockchains but in comparison to private blockchains control is provided by a group of organisations rather than one coordinator. Such blockchains have more restrictions than public ones but are less restrictive than private ones. For this reason, they are also known as hybrid blockchains. New nodes are accepted based on a consensus with the consortium. Blocks are validated according to predefined rules defined by the consortium. Access rights can be public or limited to certain nodes. User rights might differ from user to user. Hybrid blockchains are partly decentralised. | + | __Hybrid or consortium blockchains__ are permission-based blockchains, but in comparison to private blockchains, control is provided by a group of organisations rather than one coordinator. Such blockchains have more restrictions than public ones but are less restrictive than private ones. For this reason, they are also known as hybrid blockchains. New nodes are accepted based on a consensus with the consortium. Blocks are validated according to predefined rules defined by the consortium. Access rights can be public or limited to certain nodes. User rights might differ from user to user. Hybrid blockchains are partly decentralised. |
**Blockchain type selection** | **Blockchain type selection** | ||
- | When choosing the right type of blockchain for a project, it's important to think about how it will be used, who will use it, and how it needs to perform. There are three main types of blockchains, | + | When choosing the right type of blockchain for a project, it's important to consider |
//Private Blockchain:// | //Private Blockchain:// | ||
- | When to Use: If the blockchain is only for use within a single organisation by a specific group of people, a private blockchain is the best option. | + | When to Use: A private blockchain is the best option if the blockchain is to be used only within a single organisation by a specific group of people. |
- | Advantages: It gives the organisation more control over who can join and see the data. It’s good for internal processes like keeping track of company records or managing internal operations. | + | Advantages: It gives the organisation more control over who can join and see the data. It's suitable |
Performance: | Performance: | ||
Examples: Hyperledger Fabric, Corda. | Examples: Hyperledger Fabric, Corda. | ||
Line 43: | Line 43: | ||
// | // | ||
- | When to Use: If the blockchain will be shared by a group of companies or organisations working together, a consortium blockchain is the right choice. | + | When to Use: A consortium blockchain is the right choice if the blockchain will be shared by a group of companies or organisations working together. |
- | Advantages: It allows several organisations to work together while keeping control of who can access the blockchain. | + | Advantages: It allows several organisations to work together while controlling |
Performance: | Performance: | ||
Examples: R3, Quorum. | Examples: R3, Quorum. | ||
Line 50: | Line 50: | ||
//Public Blockchain:// | //Public Blockchain:// | ||
- | When to Use: If the goal is to create a completely open and decentralised system that anyone can join, such as for cryptocurrencies, a public blockchain is the best fit. | + | When to Use: A public blockchain is the best fit if the goal is to create a completely open and decentralised system that anyone can join, such as for cryptocurrencies. |
- | Advantages: It allows anyone to participate and offers complete transparency. This is perfect for things like digital currencies where trust needs to be spread across everyone using it. | + | Advantages: It allows anyone to participate and offers complete transparency. This is perfect for digital currencies, where trust needs to be spread across everyone using them. |
- | Performance: | + | Performance: |
Examples: Bitcoin, Ethereum. | Examples: Bitcoin, Ethereum. | ||
- | __To summarize__ | + | __To summarise__ |