Roman Khimov
|
2e0fe370cf
|
nef: lower MaxScriptLength
Follow neo-project/neo#2119 changes.
|
2020-12-14 15:24:15 +03:00 |
|
Roman Khimov
|
1672887123
|
nef: increase version field to 32 bytes
Follow recent C# changes.
|
2020-11-30 11:26:29 +03:00 |
|
Roman Khimov
|
4d0eaef510
|
nef: treat Version as string
Following changes in C# code and simpilifying things a lot.
|
2020-11-27 21:47:08 +03:00 |
|
Roman Khimov
|
e12c52f588
|
nef: change checksum calculation scheme
It's now being calculated for whole file, not just header.
|
2020-11-27 21:47:08 +03:00 |
|
Roman Khimov
|
0c7e727859
|
nef: drop scripthash
It's no longer a part of the file.
|
2020-11-27 21:47:08 +03:00 |
|
Roman Khimov
|
c5e39dfabf
|
nef: forbid NEFs with zero-length scripts
|
2020-11-26 18:30:53 +03:00 |
|
Evgenii Stratonikov
|
7d91a3a89e
|
pkg: move internal/ package to the root directory
This way we can use it in scripts and cli.
|
2020-11-24 16:39:56 +03:00 |
|
Anna Shaleva
|
9c3d8cd398
|
smartcontract: fix nef.GetVersion
It should be able to parse versions like `1.1.1-rc.1`.
Close #1540.
|
2020-11-12 17:08:54 +03:00 |
|
Roman Khimov
|
f45c032eff
|
nef: limit the number of bytes to be read during decode
|
2020-10-07 18:30:44 +03:00 |
|
Roman Khimov
|
0e2784cd2c
|
always wrap errors when creating new ones with fmt.Errorf()
It doesn't really change anything in most of the cases, but it's a useful
habit anyway.
Fix #350.
|
2020-08-07 12:21:52 +03:00 |
|
Anna Shaleva
|
b2aef6acbf
|
smartcontract: calculate double-SHA256 for .nef files
Closes #1203
|
2020-08-03 14:25:27 +03:00 |
|
Anna Shaleva
|
927127e5fb
|
smartcontract: add nef file
It should match C# NEF3 specification in order to debug and deploy smart
contracts via NEO3 Blockchain Toolkit.
|
2020-06-29 09:15:25 +03:00 |
|