mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
Since P2SH-P2WPKH addresses do not contain the public itself – but instead a value derived from a pubkey, namely RIPEMD160(SHA256(0x00 0x14 <20-byte-pubKeyHash>)) - the verification of signed messages got a bit more complicated (and different per address type). To encapsulate this complexity and make it easy to use, this commit introduces a new util class for verifying signed Bitcoin messages. It also adds some test vectors partly from other projects implementing the same functionality to test interoperability, as well as some publicly known messages and signatures. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
findbugs.xml |