The present invention relates to implementations including receiving, by a consensus node of a blockchain, transaction data and a digital signature of transaction data. Transaction data includes a commitment amount, a random number, and a transaction amount to be transferred between a public account or a private account from the first user node to a public account or a private account from a second user node. the consensus node verifies the digital signature of transaction data using a public key from the user's first node. then determines that the transaction amount is valid if the commitment amount is correct based on the random number and commitment scheme, and the transaction amount is less than or equal to a balance between the public account or the private account. the user's first node before the transaction amount is transferred.
展开▼