Patent ID: 11893584
Assignee: NCHAIN LICENSING AG
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A method comprising:
receiving, at a node in a blockchain network, a first transaction to validate, the first transaction including a first script and a second script;
executing the first script followed by the second script to obtain a serialized second transaction, a signature hash type, and a serialized set of unlocking transaction fields;
generating a signature based at least in part on a serialized set of field values of the first transaction and the signature hash type;
validating the generated signature;
generating a first transaction ID based at least in part on the obtained serialized second transaction;
extracting a second transaction ID from the serialized set of field values of the first transaction; and
determining whether the first transaction ID matches the second transaction ID.