neoneo-go/pkg/core/native
Roman Khimov aab18c3083 stackitem: introduce Convertible interface
We have a lot of native contract types that are converted to stack items
before serialization, then deserialized as stack items and converted back to
regular structures. stackitem.Convertible allows to remove a lot of repetitive
io.Serializable code.

This also introduces to/from converter in testserdes which unfortunately
required to change util tests to avoid circular references.
2021-07-19 15:42:42 +03:00
..
nativenames core: remove native NNS 2021-05-17 22:22:07 +03:00
nativeprices core: move NotaryVerificationPrice to a separate package 2021-03-23 13:56:39 +03:00
noderoles core: move native node roles to a separate pkg 2021-03-23 13:56:34 +03:00
compatibility_test.go config: add NativeUpdateHistory 2021-03-15 12:35:14 +03:00
contract.go core: remove native NNS 2021-05-17 22:22:07 +03:00
crypto.go native: implement CryptoLib contract 2021-03-10 19:24:19 +03:00
crypto_test.go core: use Neo.Crypto.CheckSig for standard signature verification 2021-03-10 21:45:58 +03:00
designate.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
interop.go config: add NativeUpdateHistory 2021-03-15 12:35:14 +03:00
ledger.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
management.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
management_test.go *: fix all errcheck warnings in testing code 2021-05-12 21:45:12 +03:00
native_gas.go native: add refuel method to GAS contract 2021-04-29 18:26:34 +03:00
native_neo.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
native_neo_candidate.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
native_neo_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
native_nep17.go native: fix typo in comments 2021-07-05 11:04:19 +03:00
nativenames_test.go *: fix some misspellings spotted by GoReportCard 2021-03-22 12:13:08 +03:00
neo_types.go native: reuse stackitem.(De)Serialize more for data structures 2021-07-19 15:42:42 +03:00
notary.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
oracle.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
oracle_types.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
oracle_types_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
policy.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
std.go stackitem: remove Item/StackItem from function names 2021-07-06 19:56:23 +03:00
std_test.go native: reuse stackitem.(De)Serialize more for data structures 2021-07-19 15:42:42 +03:00
util.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00