Skip to content

Commit d1f061b

Browse files
committed
BIP-352: add test vector for exceeding K_max limit [receiver side]
Test case: even though there are 1001 outputs targeted to the recipient, only 1000 are found due to the introduced K_max limit. Any implementation following the new BIP protocol rule wouldn't create such a transaction in the first place, but an attacker might do. Can be tested by `$ ./bip-0352/reference.py ./bip-0352/send_and_receive_test_vectors.json`
1 parent ffca682 commit d1f061b

File tree

1 file changed

+6039
-0
lines changed

1 file changed

+6039
-0
lines changed

0 commit comments

Comments
 (0)