Re: [bitcoin-dev] Test cases for Taproot signature message

2021-10-06 Thread Giacomo Caironi via bitcoin-dev
The related pull request is now open https://github.com/bitcoin/bips/pull/1191 Il giorno sab 18 set 2021 alle ore 13:32 Giacomo Caironi < giacomo.cair...@gmail.com> ha scritto: > Ok I have created three test cases, you can find them here >

Re: [bitcoin-dev] Test cases for Taproot signature message

2021-09-18 Thread Giacomo Caironi via bitcoin-dev
Ok I have created three test cases, you can find them here . They cover most of the SigMsg function but they don't cover the ext_flag, so they are only for taproot key path; but if you want to test for script paths you have to

Re: [bitcoin-dev] Test cases for Taproot signature message

2021-09-17 Thread Riccardo Casatta via bitcoin-dev
Hi Giacomo, I wrote the rust implementation of bitcoin signature messages and to double-check I created some test vectors you can see at https://github.com/rust-bitcoin/rust-bitcoin/blob/b7f984972ad6cb4942827c2b7c401f590588cdcf/src/util/sighash.rs#L689-L799. These vectors have been created printin

Re: [bitcoin-dev] Test cases for Taproot signature message

2021-09-16 Thread Pieter Wuille via bitcoin-dev
On Thursday, September 16th, 2021 at 5:36 PM, Giacomo Caironi via bitcoin-dev wrote: > Hi, > recently I have worked on a python implementation of bitcoin signature > messages, and I have found that there was way better documentation about > Segwit signature message than Taproot. > > 1) Segwit

[bitcoin-dev] Test cases for Taproot signature message

2021-09-16 Thread Giacomo Caironi via bitcoin-dev
Hi, recently I have worked on a python implementation of bitcoin signature messages, and I have found that there was way better documentation about Segwit signature message than Taproot. 1) Segwit signature message got its own BIP, completed with test cases regarding only that specific function; T