The Ethernet POW method of block out is a workload method of block out. Blocks will also be out when there is no transaction, and for smart contract users, empty fast will waste a lot of disk space. POA is Proof of Asset, which is realized by adding the following parameters in the Genesis block configuration file.
You can modify the period “period”: 0, so as to realize that when there is no transaction, no block will be released, thus saving disk space.
1 2 3 4
"clique":{ "period":0,// The unit is second. The default value is 15 seconds. If the change value is 0, no block will be produced when there is no transaction "epoch":30000// The unit is the number of blocks. The default value is 30,000 blocks. }
"config": { "chainId": 456719, "homesteadBlock": 0, "eip150Block": 0, "eip155Block": 0, "eip158Block": 0, "byzantiumBlock": 0, "constantinopleBlock": 0, "petersburgBlock": 0, "istanbulBlock": 0, "clique": { "period": 0, // The unit is second. The default value is 15 seconds. If the change value is 0, no block will be produced when there is no transaction "epoch": 30000// The unit is the number of blocks. The default value is 30,000 blocks. } }, "nonce": "0x0000000000000042", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "difficulty": "0x00100000", "coinbase": "0x3333333333333333333333333333333333333333", "timestamp": "0x0", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "extraData": "0x000000000000000000000000000000000000000000000000000000000000000004819FcA652AD35F9cD688aAAfa53aD61DDA21990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "gasLimit": "0x8000000", "alloc": { "0x04819FcA652AD35F9cD688aAAfa53aD61DDA2199": { "balance": "99999999999999999999" }, "0x59fE0911B06B1Fe0136744D383502da57c0c1229": { "balance": "99999999999999999999" } } }