master
general: Convert source file copyright comments over to SPDX
core: remove ResultVal type
core: Replace all instances of ResultCode with Result