neoneo-go/pkg
AnnaShaleva 0092330fe1 rpc: carefully review places where Client.cache.initDone is used
1. Keep initDone check only for the places where cache is directly accessed.
   We don't need to check it in other places, otherwise we have a mess of
   duplicating checks.
2. Fix bug in code related to block deserialisation. There's no magic, so
   checking that initialisation is done is not enough for proper block
   deserialisation. We need to manually fill StateRootEnabled field.
3. Since transaction doesn't need network magic to compute its hash, we don't
   need to perform Client initialisation before transaction-related requests.
4. Check that cache is initialised before accessing network magic.
5. Refactor the way Policy contract hash is fetched for Client requests.
   We don't really need Client initialisation for that, it's OK to fetch Policy
   hash on-the-fly.
2022-02-22 12:52:14 +03:00
..
compiler dao: drop DAO interface 2022-02-16 18:24:20 +03:00
config config: conflict P2PStateExchangeExtensions/KeepOnlyLatestState 2022-02-11 14:19:54 +03:00
consensus config/core: allow to change the number of validators 2022-01-31 23:14:38 +03:00
core storage: drop (KeyPrefix).Bytes() API 2022-02-18 15:19:57 +03:00
crypto core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
encoding *: use internal variables for simple big.NewInt() values 2021-12-01 21:36:25 +03:00
interop interop: use All flags for management deploy and update calls 2022-01-31 22:21:08 +03:00
io io: optimize WriteString, avoid allocation 2021-12-01 21:36:25 +03:00
neotest compiler: update x/tools package 2022-01-20 13:21:26 +03:00
network network: tune waiting limits in tests 2022-02-10 18:58:50 +03:00
rpc rpc: carefully review places where Client.cache.initDone is used 2022-02-22 12:52:14 +03:00
services Merge pull request #2323 from nspcc-dev/drop-blockchainer 2022-01-14 20:47:26 +03:00
smartcontract compiler: check overloaded methods for safeness one more time 2022-01-21 18:03:04 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm Merge pull request #2356 from nspcc-dev/rpc-big-numbers 2022-02-11 13:24:35 +03:00
wallet Merge pull request #2264 from nspcc-dev/fix-win-tests 2021-11-29 11:25:35 +03:00