Skip to main content
Version: 1.0

Blocks

A block in a blockchain is a data structure that aggregates a set of transactions along with a reference to the preceding block in the form of a cryptographic hash, thus forming a chronological chain. Each block contains a header, which includes metadata such as the hash of the previous block, a timestamp, among other elements. The body of the block houses the transactions. This design ensures data integrity and immutability by cryptographically linking each block to its predecessor, thereby creating a secure and verifiable record of all transactions on the network.

Importance of Blocks

Blocks serve as the fundamental units of a blockchain's structure, enabling a decentralized and tamper-resistant ledger. This architecture facilitates trustless interactions within a distributed network, eliminating the need for central intermediaries. The cryptographic chaining of blocks ensures that any attempt to alter transaction data would require recalculating the hashes of all subsequent blocks, a computationally prohibitive task. This mechanism underpins the security and integrity of the blockchain, making it suitable for applications that demand high levels of trust and transparency.

Average Block Time

The Wireshape network's average block time is 2 seconds, this indicates that a new block is created and added to the blockchain approximately every two seconds. This rapid block time enhances the network's throughput, allowing for faster transaction confirmations and improved user experience.

info

You can check the blocks being created on the Wireshape blockchain network by accessing the Block Explorer.

Block Details

When exploring a block in Wireshape Block Explorer, you will come across the following block details:

Block Height: This indicates the block's sequential number in the chain. It indicates the number of blocks since the genesis block, the first block in the blockchain. This sequence is crucial for maintaining the integrity and order of the ledger.

Timestamp: The timestamp marks when the block was validated and added to the blockchain. As a PoA network, Wireshape often features more predictable block times compared to Proof of Work (PoW) networks, as block creation doesn't depend on solving complex cryptographic puzzles.

Transactions: This indicates the number of transactions included in the block, such as a record of transfers or smart contract interactions.

Miner: With a PoA consensus, instead of requiring miners, on the Wireshape network blocks are validated by authorized nodes known as validators.

Size: This metric indicates the physical size of the block in bytes. It includes the size of the header, the transactions, and any other data contained within the block.

Hash: This is the unique identifier of the block, generated by hashing the block's header through a cryptographic hash function. The block hash serves as a digital fingerprint, uniquely identifying the block in the blockchain. The hash ensures the block's integrity and its immutable position within the chain.

Parent Hash: This is the hash of the previous block in the blockchain. It links the current block to its predecessor, creating the chain structure, a fundamental aspect of blockchain technology that ensures continuity and prevents tampering with the ledger's history.

Difficulty: This field is not directly applicable, as PoA networks do not involve mining difficulty in the traditional sense. The Wireshape network relies on the authority of validators to secure the network, not computational work.

Total Difficulty: This is the cumulative difficulty of all blocks up to and including this block. Similarly, this concept is more relevant to PoW blockchains and does not apply to PoA, where block validation is based on the validator's identity and reputation, not on solving cryptographic puzzles.

Gas Used: This shows the total amount of gas that was consumed by the transactions in the block. The percentage indicates the proportion of the gas limit used by the block. Gas metrics are relevant for transaction execution and pricing to prevent spam and allocate network resources efficiently.

Gas Limit: This is the maximum amount of gas that could be used by all transactions in the block. It sets a cap on the amount of computational work that the block can contain, crucial for maintaining network performance and preventing abuse.

Nonce: While traditionally used in PoW to find a valid block hash, in PoA, the nonce might be used differently or not at all.

Miner Reward: In PoA, validators may not receive block rewards in the same way miners do in PoW networks. Instead, their incentive can be tied to network participation or other mechanisms aligned with the network's governance model.