neo-go/pkg
Roman Khimov a68a8aa8fc core: simplify and correct notification handling
* both 'to' and 'from' are either Null or Hash160, there is no other
   possibility for valid NEP-17. So returning util.Uint160{} in case of
   parsing error is wrong.
 * but this is what allowed burns/mints to work at the expense of error
   allocation inside of util.Uint160DecodeBytesBE()
 * Uint160 can technically fit into regular VM integer, so even though it'd be
   quite surprising to see it there, TryBytes() is more correct (and easier!)
   to use
 * same thing with `amount`, we have `TryInteger()` that easily covers all
   possible cases and does appropriate error checking inside
2021-08-20 11:26:16 +03:00
..
compiler core: remove conflicting transactions wrt MaxTraceableBlocks 2021-08-18 13:31:47 +03:00
config config: add P2PStateExchangeExtensions and StateSyncInterval settings 2021-08-10 11:00:32 +03:00
consensus consensus: fix nonce handling 2021-07-21 19:06:19 +03:00
core core: simplify and correct notification handling 2021-08-20 11:26:16 +03:00
crypto crypto/keys: enforce length in PublicKey.DecodeBytes() 2021-08-13 10:38:09 +03:00
encoding util: move ArrayReverse into package of its own 2021-07-19 22:57:55 +03:00
interop native: drop Refuel method from GAS 2021-08-05 10:27:13 +03:00
io io: don't allocate new error on every call to Bytes() 2021-08-20 10:58:51 +03:00
network Merge pull request #2119 from nspcc-dev/states-exchange/insole 2021-08-12 10:35:02 +03:00
rpc rpc/request: delay parameter unmarshaling 2021-08-13 16:22:54 +03:00
services notary: fix possible deadlock in UpdateNotaryNodes 2021-07-23 14:48:00 +03:00
smartcontract stackitem: use Bool item directly 2021-08-12 17:53:36 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm Merge pull request #2128 from nspcc-dev/vm-update-int 2021-08-13 16:16:01 +03:00
wallet wallet: use named constants in Seek 2021-07-29 17:11:50 +03:00