The GOVM system accounts are classified and have a length of 24 characters.
The first character is used to indicate the type of address.
- 0x01 is the default account
- 0x02 is a proxy account. When an account requires frequent signatures, you can use the proxy mode to designate a signing agent to prevent your account from affecting the account security due to over-signatures.
- 0xff is a public account. It is an account with a public contract. Only the corresponding contract can operate this account.
- The other values will be used for subsequent expansion needs.
Each public contract has its own account. The account of the private contract is the contract creator. The smart contract can operate the creator's account. The public smart contract account is a public account, and the account can only be operated by the corresponding contract.
If an account, such as an external account of a large company, is not suitable for frequently changing the account address, but it must be frequently signed, too much signature will seriously affect the security of the account. By proxy signing, it only needs to be authorized once a month (signing once), and the others are signed by the proxy account. Even if the proxy account is over-signed and causes security problems, the impact will only be one month after authorization, and the subsequent proxy account will be invalidated. Significantly reduce the number of signatures of the master account, thereby reducing the risk of being cracked.
The signature of the proxy account has two parts, the first part is the authorized signature and the second part is the information signature. The length of the signature information is twice that of a normal signature.
Authorization signature is time-limited, and the authorization is valid for one month. Each signature message carries a timestamp. The authorization range is calculated based on the timestamp, and then the public key is obtained based on the signature (wrong time will result in the wrong public key). By comparing the public keys, they can know whether the signature is valid.
The account elected by DPOS will be a administrator, and the administrator can fine-tune some system parameters. The administrator spend coins to adjust the parameters, but there is no income, which belongs to the devotee.
The parameters that can be adjusted: block size limit, block interval time, reserved parameters, etc.
The administrator can report illegal blocks: the adjacent chain blocks locked by the default block are all on-chain blocks. If the locked block is not on the chain, the block is illegal. Producers of illegal blocks will be punished.