This is related to 22.x version.
It seems that my devcoind process crashes when somebody tries to connect to the node (perhaps there is another reason, I am not sure). Here is the thrown error:
./primitives/block.h:40: void CBlockHeader::Serialize(Stream&) const [with Stream = CVectorWriter]: Assertion `auxpow != nullptr' failed.
Aborted (core dumped)
Here is my config file:
rpcuser=user1
rpcpassword=Nzkfa1oZ5_JKMMJ-VZkXJM56dmomSEB3JqAFByFWUFU=
rpcport=8999
server=1