Skip to main content

Module contract_sql

Module contract_sql 

Source

Constants§

CONTRACT_SQL
Every byte of schema/0001_contract.sql. The script wraps itself in BEGIN/COMMIT, so it is applied whole and never inside another transaction.
CONTRACT_SQL_SHA256
SHA-256 of CONTRACT_SQL, lowercase hex. Initialization records this in gwk_internal.schema_fingerprint, so a later boot can tell “this database carries MY contract” from “this database carries another”.