To not needlessly alarm users upgrading from v0.20 and earlier, log a message rather than an error if the anchors.dat
file is missing. “ERROR: DeserializeFileDB” will still be printed if anchors.dat
is found but cannot be read. Motivation from this user report.
before
02021-02-14T14:23:46Z ERROR: DeserializeFileDB: Failed to open file ~/.bitcoin/anchors.dat
12021-02-14T14:23:46Z 0 block-relay-only anchors will be tried for connections.
after
02021-02-15T06:53:56Z Could not find anchors file "~/.bitcoin/anchors.dat"
12021-02-15T06:53:56Z 0 block-relay-only anchors will be tried for connections.