The embodiment of the invention discloses a contract
consensus method and device, a computer, a storage medium and a program product, and the method comprises the steps: obtaining first
transaction data comprising a contract installation request transaction, packaging the first
transaction data into a first transaction block, and obtaining a first
block detection result of the first transaction block;
broadcasting the first transaction block to a first slave node, and when the first slave node passes the
consensus of the first transaction block for a second
block detection result of the first transaction block and the first
block detection result, performing uplink
processing on the first transaction block; when a first transaction detection result for the contract installation request transaction in the first block detection result is a transaction passing result, installing the first
smart contract, and generating first contract installation information for the first
smart contract; the first contract installation information is used for generating a contract enabling transaction for the first
smart contract. According to the invention, the contract
consensus efficiency can be improved.