neoneo-go/pkg
Anna Shaleva d67f0df516 core: reset block headers together with header height info
We need to keep the headers information consistent with header batches
and headers. This comit fixes the bug with failing blockchain
initialization on recovering from state reset interrupted after the
second stage (blocks/txs/AERs removal):
```
anna@kiwi:~/Documents/GitProjects/nspcc-dev/neo-go$ ./bin/neo-go db reset -t --height 83000
2022-11-20T16:28:29.437+0300	INFO	MaxValidUntilBlockIncrement is not set or wrong, using default value	{"MaxValidUntilBlockIncrement": 5760}
2022-11-20T16:28:29.440+0300	INFO	restoring blockchain	{"version": "0.2.6"}
failed to create Blockchain instance: could not initialize blockchain: could not get header 1898cd356a4a2688ed1c6c7ba1fd6ba7d516959d8add3f8dd26232474d4539bd: key not found
```
2022-11-22 11:53:39 +03:00
..
compiler compiler: use shorter and cheaper sequence to convert to Boolean 2022-10-25 18:20:55 +03:00
config network: add BroadcastFactor to control gossip, fix #2678 2022-10-14 15:53:32 +03:00
consensus dbft: rev up, fix context timestamp initialization 2022-10-20 12:38:14 +03:00
core core: reset block headers together with header height info 2022-11-22 11:53:39 +03:00
crypto keys: move from btcd/btcec to decred/secp256k1 package 2022-11-08 17:59:59 +03:00
encoding fixedn: add a test for empty string 2022-08-19 21:52:43 +03:00
interop interop: refactor address.FromHash160 code 2022-09-27 15:32:57 +03:00
io [#2442] English Check 2022-05-04 19:48:27 +03:00
neorpc neorpc: adjust and extend event filters documentation 2022-10-26 15:32:54 +03:00
neotest rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
network network: add random slight delay to connection attempts 2022-11-17 18:42:43 +03:00
rpcclient rpcclient: refactor event-based waiting loop 2022-11-16 23:57:00 +03:00
services rpcsrv: refactor subscribe routine 2022-11-18 10:54:10 +03:00
smartcontract rpcbinding: use binding condig to generate code for simple arrays 2022-11-14 13:01:13 +03:00
util slice: add Clean microfunction 2022-09-02 14:44:32 +03:00
vm vm: fix istack marshaling, fix #2799 2022-11-16 00:40:12 +03:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00