Table 4 Test environment configuration.
Blockchain configuration | Value | Description |
|---|---|---|
Chains | 1 | Agricultural supply chain organizations, consumer organizations, regulators, and biological risk factor testing centers maintain a blockchain together |
Number of organizations | 4 | Agricultural supply chain organizations, consumer organizations, regulator organizations, biological risk factor testing organizations |
Number of nodes | 5 | 2 organizational nodes for agricultural products, 1 organizational node for consumers, 1 organizational node for regulatory agencies, 1 organizational node for biological risk factor testing agencies |
Comprehensive database | CouchDB | The entire blockchain uses a CouchDB state database to store the uplinked data |
Consensus mechanisms | Raft | The Raft consensus mechanism is used so that all nodes in the blockchain work together to maintain the consistency of the ledger |
Chunk time | 1 s | Time to post transactions and package them to generate blocks |
Maximum number of transactions in a block | 10 | Maximum number of transactions contained in each block |
Maximum block capacity | 10 MB | Maximum capacity of data stored in each block |
Maximum storage space per transaction | 512 KB | Maximum storage size of 512 KB per transaction |