neoneo-go/pkg
Anna Shaleva 2fee69f26f core: add missing onPersist and postPersist methods to natives
Although not every contract is persisted (see
https://github.com/neo-project/neo/blob/master/src/neo/Ledger/Blockchain.cs#L94)
we have to add `onPersist` and `postPersist` methods to every
native contract in order to display them in manifest for users and
follow C# behaviour. In C# there are `onPersist` and `postPersist`
methods in base native contract class, see
https://github.com/neo-project/neo/blob/master/src/neo/SmartContract/Native/NativeContract.cs#L141
and
https://github.com/neo-project/neo/blob/master/src/neo/SmartContract/Native/NativeContract.cs#L148
2020-11-25 18:37:29 +03:00
..
compiler pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
config core: allow to use state root in header 2020-11-20 17:16:32 +03:00
consensus pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
core core: add missing onPersist and postPersist methods to natives 2020-11-25 18:37:29 +03:00
crypto pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
encoding state: use more efficient encoding for amount 2020-09-21 21:51:33 +03:00
interop smartcontract: remove contract features 2020-11-13 21:26:23 +03:00
io always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
network pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
rpc pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
smartcontract pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
util pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
vm pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
wallet pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00