From e0be6aa4c4dc6563afa7c5039d3ff3399d4c298e Mon Sep 17 00:00:00 2001 From: Erik Zhang Date: Thu, 29 Jul 2021 15:00:31 +0800 Subject: [PATCH] Add implementation --- nep-16.mediawiki | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nep-16.mediawiki b/nep-16.mediawiki index e94f4ac7..8d9ed625 100644 --- a/nep-16.mediawiki +++ b/nep-16.mediawiki @@ -104,3 +104,7 @@ The value of script stores the raw VM opcodes. The data should be s ====checksum==== The checksum item is used not only to ensure a corrupt-free transmission, but also to ensure that the file has not been tampered with. It is computed by using the SHA256 algorithm to hash the serialised nef file excluding checksum twice, and converting the result into a 32-bit unsigned integer, which must be identical with the last four bytes of the nef file. + +==Implementation== + +https://github.com/neo-project/neo/blob/master/src/neo/SmartContract/NefFile.cs