Only the upgradetohd command sets the hdseed
upgradetohd can only run once the chain is synced
Basicswap stores the hash of the root_key in it's db to check for the expected seed.
Prefer not to store the real key.
No CSV or segwit.
sethdseed requires a fully synced chain, manual intervention required to set a key derived from the master mnemonic.
Requires a pivxd version with a backported scantxoutset command.