1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-02-24 15:36:53 +01:00

docs(bip-0046): add test certificate for the 960th timelocked address

This commit is contained in:
theborakompanioni 2024-06-20 17:29:37 +02:00
parent b7a5f9ce60
commit 0f1eba2a60
No known key found for this signature in database
GPG key ID: E8070AF0053AAC0D

View file

@ -122,7 +122,7 @@ redeemscript = 0400e10b5eb1752102a1b09f93073c63f205086440898141c0c3c6d24f
scriptPubKey = 0020bdee9515359fc9df912318523b4cd22f1c0b5410232dc943be73f9f4f07e39ad
address = bc1qhhhf29f4nlyalyfrrpfrknxj9uwqk4qsyvkujsa7w0ulfur78xkspsqn84
// Test certificate using first timelocked address
// Test certificate using the first timelocked address
// Note that as signatures contains a random nonce, it might not be exactly the same when your code generates it
// p2pkh address is the p2pkh address corresponding to the derived public key, it can be used to verify the message
// signature in any wallet that supports Verify Message.
@ -158,6 +158,12 @@ string locktime = 2099-12-01 00:00:00
redeemscript = 0580785df400b175210308c5751121b1ae5c973cdc7071312f6fc10ab864262f0cbd8134f056166e50f3ac
scriptPubKey = 0020803268e042008737cf439748cbb5a4449e311da9aa64ae3ac56d84d059654f85
address = bc1qsqex3czzqzrn0n6rjayvhddygj0rz8df4fj2uwk9dkzdqkt9f7zs5c493u
// Test certificate using the 960th timelocked address
Message = fidelity-bond-cert|020000000000000000000000000000000000000000000000000000000000000001|750
Address = bc1qsqex3czzqzrn0n6rjayvhddygj0rz8df4fj2uwk9dkzdqkt9f7zs5c493u
p2pkh address = 1JmTqEXY9pHwrao9XXPo1MeiQerMETmwP3
Signature = H9LWcv9PXjOLdGmA6s6jRKnPP9bKeOSUGN7ZF80dphKOUrLQnoIJx8NtHraTq5o6BbRBoNjKHuo4Mnok3/JXGBY=
</pre>
Code generating these test vectors can be found here: https://github.com/chris-belcher/timelocked-addresses-fidelity-bond-bip-testvectors