Verify the range of v in sign more strictly based on official documentation or code.
Bitcoin: Certainly, there are no issues. Simply adhere to BIP137 in its entirety.
Ethereum: Based on his code, it could be 0, 1, 27, or 28. However, according to the description in EIP155, it could also be v = CHAIN_ID * 2 + 35 or v = CHAIN_ID * 2 + 36.
I see EIP-155 mentioned here
Verify the range of
v
in sign more strictly based on official documentation or code.v = CHAIN_ID * 2 + 35
orv = CHAIN_ID * 2 + 36
. I see EIP-155 mentioned hereTest cases are being improved.