Difference between revisions of "BIP 0016 QA"
Line 1: | Line 1: | ||
− | This page is a Quality Assurance test plan for | + | This page is a Quality Assurance test plan for BIPs 17. If you see a test missing, please add it. |
If you can help test, please edit this page to sign-off on it. | If you can help test, please edit this page to sign-off on it. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! | + | ! Testnet !! Mainnet !! Test Procedure !! Tested by |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 0.6 on testnet and main net<br /> |
− | Send coins using GUI, | + | Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands<br /> |
Result: coins sent in all cases | Result: coins sent in all cases | ||
− | | | + | | |
− | |- style="color: | + | |- style="color:lime;" |
− | | ✓ | + | | ✓ || ✓ |
| Test multisig 1-of-1<br /> | | Test multisig 1-of-1<br /> | ||
Run 0.6 bitcoind, get a public key with: ./bitcoind -testnet validateaddress $(./bitcoind -testnet getnewaddress)<br /> | Run 0.6 bitcoind, get a public key with: ./bitcoind -testnet validateaddress $(./bitcoind -testnet getnewaddress)<br /> | ||
Line 21: | Line 21: | ||
Result: transaction is confirmed by network, displays properly in listtransactions. | Result: transaction is confirmed by network, displays properly in listtransactions. | ||
Result: balance is unaffected | Result: balance is unaffected | ||
− | | | + | | Luke Dashjr |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
| Test multisig 1-of-2<br /> | | Test multisig 1-of-2<br /> | ||
Run 0.6 bitcoind, get 2 new bitcoin addresses<br /> | Run 0.6 bitcoind, get 2 new bitcoin addresses<br /> | ||
Line 31: | Line 31: | ||
Result: transaction is confirmed by network, displays properly in listtransactions. | Result: transaction is confirmed by network, displays properly in listtransactions. | ||
Result: bitcoin balance is unaffected. | Result: bitcoin balance is unaffected. | ||
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
| Test multisig 1-of-3, 2-of-3, 3-of-3<br /> | | Test multisig 1-of-3, 2-of-3, 3-of-3<br /> | ||
Repeat test procedures above, with the other new multisignature transaction types | Repeat test procedures above, with the other new multisignature transaction types | ||
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
| Test multisig send-to-other<br /> | | Test multisig send-to-other<br /> | ||
Repeat test procedures above, but use two bitcoinds, prepared as follows:<br /> | Repeat test procedures above, but use two bitcoinds, prepared as follows:<br /> | ||
Line 49: | Line 49: | ||
Result: balance for 2 goes down, listtransactions for 2 displays correct result<br /> | Result: balance for 2 goes down, listtransactions for 2 displays correct result<br /> | ||
Result: balance for 1 goes up, listtransactions for 1 displays correct result<br /> | Result: balance for 1 goes up, listtransactions for 1 displays correct result<br /> | ||
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
| Test redeeming multisignature transactions<br /> | | Test redeeming multisignature transactions<br /> | ||
Fund a new, empty wallet entirely with multisig transactions<br /> | Fund a new, empty wallet entirely with multisig transactions<br /> | ||
Line 60: | Line 60: | ||
Result: transactions are accepted/confirmed by network<br /> | Result: transactions are accepted/confirmed by network<br /> | ||
Result: balance decreases, listtransactions displays correct information<br /> | Result: balance decreases, listtransactions displays correct information<br /> | ||
− | | | + | | |
|- style="color:red;" | |- style="color:red;" | ||
− | | | + | | || |
| Run 0.6 Bitcoin-Qt GUI on one of the test wallets from above<br /> | | Run 0.6 Bitcoin-Qt GUI on one of the test wallets from above<br /> | ||
Result: balance and transactions displayed correctly | Result: balance and transactions displayed correctly | ||
| | | | ||
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable backport Bitcoin 0.3.19 through 0.5.1<br /> |
− | Send coins using GUI, | + | Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands<br /> |
Result: coins sent in all cases | Result: coins sent in all cases | ||
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || n/a |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 0.6.0<br /> |
Mine coins using built-in miner<br /> | Mine coins using built-in miner<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | ✓ | + | | ✓ || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 0.6.0<br /> |
Mine coins using getwork interface<br /> | Mine coins using getwork interface<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
− | | | + | | |
|- style="color:red;" | |- style="color:red;" | ||
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 0.6.0<br /> |
Mine coins using getmemorypool interface<br /> | Mine coins using getmemorypool interface<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
| | | | ||
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 0.3.19 through 0.5.1 backports<br /> |
Mine coins using built-in miner<br /> | Mine coins using built-in miner<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports on testnet<br /> |
Mine coins using getwork interface<br /> | Mine coins using getwork interface<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 0.3.19 through 0.5.1 backports on testnet<br /> |
Mine coins using built-in miner<br /> | Mine coins using built-in miner<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
− | | | + | | |
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports on testnet<br /> |
Mine coins using getwork interface<br /> | Mine coins using getwork interface<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
− | | | + | | |
− | |||
|- style="color:red;" | |- style="color:red;" | ||
− | | | + | | || |
− | | Run BIP- | + | | Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports on testnet<br /> |
Mine coins using getmemorypool interface<br /> | Mine coins using getmemorypool interface<br /> | ||
− | Result: blocks accepted, show up on | + | Result: blocks accepted, show up on pre-BIP17 clients<br /> |
− | Result: mined blocks' coinbase contains / | + | Result: mined blocks' coinbase contains p2sh/CHV string |
| | | | ||
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
| Create/run unit tests for:<br /> | | Create/run unit tests for:<br /> | ||
multisignature signing/verification<br /> | multisignature signing/verification<br /> | ||
Line 147: | Line 146: | ||
multisignature IsStandard() success/failure<br /> | multisignature IsStandard() success/failure<br /> | ||
extraction of addresses from multisignature transactions<br /> | extraction of addresses from multisignature transactions<br /> | ||
− | BIP | + | BIP 17 IsStandard() success/failure<br /> |
− | BIP | + | BIP 17 AreInputsStandard() success/failure<br /> |
− | BIP | + | BIP 17 compatibility with other 3 standard transaction types<br /> |
− | BIP | + | BIP 17 switchover date logic<br /> |
− | + | | | |
− | |||
− | | | ||
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Create/run 'transaction fuzzer' to stress-test BIP | + | | Create/run 'transaction fuzzer' to stress-test BIP 17 transactions |
− | | | + | | |
|- style="color:red;" | |- style="color:red;" | ||
− | | | + | | || |
| Run Bitcoin 0.6 on main net <br /> | | Run Bitcoin 0.6 on main net <br /> | ||
Result: blocks created properly | Result: blocks created properly | ||
− | Result: blocks include / | + | Result: blocks include p2sh/CHV string in their coinbase |
| | | | ||
− | |- style="color: | + | |- style="color:red;" |
− | | | + | | || |
− | | Run BIP | + | | Run BIP 17 vinced_mergedmine backport on main net <br /> |
Result: blocks created properly | Result: blocks created properly | ||
− | Result: blocks include / | + | Result: blocks include p2sh/CHV string in their coinbase |
− | | | + | | |
|} | |} |
Revision as of 17:47, 30 January 2012
This page is a Quality Assurance test plan for BIPs 17. If you see a test missing, please add it. If you can help test, please edit this page to sign-off on it.
Testnet | Mainnet | Test Procedure | Tested by |
---|---|---|---|
Run BIP-17-capable Bitcoin 0.6 on testnet and main net Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands |
|||
✓ | ✓ | Test multisig 1-of-1 Run 0.6 bitcoind, get a public key with: ./bitcoind -testnet validateaddress $(./bitcoind -testnet getnewaddress) |
Luke Dashjr |
Test multisig 1-of-2 Run 0.6 bitcoind, get 2 new bitcoin addresses |
|||
Test multisig 1-of-3, 2-of-3, 3-of-3 Repeat test procedures above, with the other new multisignature transaction types |
|||
Test multisig send-to-other Repeat test procedures above, but use two bitcoinds, prepared as follows: |
|||
Test redeeming multisignature transactions Fund a new, empty wallet entirely with multisig transactions |
|||
Run 0.6 Bitcoin-Qt GUI on one of the test wallets from above Result: balance and transactions displayed correctly |
|||
Run BIP-17-capable backport Bitcoin 0.3.19 through 0.5.1 Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands |
|||
n/a | Run BIP-17-capable Bitcoin 0.6.0 Mine coins using built-in miner |
||
✓ | Run BIP-17-capable Bitcoin 0.6.0 Mine coins using getwork interface |
||
Run BIP-17-capable Bitcoin 0.6.0 Mine coins using getmemorypool interface |
|||
Run BIP-17-capable Bitcoin 0.3.19 through 0.5.1 backports Mine coins using built-in miner |
|||
Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports on testnet Mine coins using getwork interface |
|||
Run BIP-17-capable Bitcoin 0.3.19 through 0.5.1 backports on testnet Mine coins using built-in miner |
|||
Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports on testnet Mine coins using getwork interface |
|||
Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports on testnet Mine coins using getmemorypool interface |
|||
Create/run unit tests for: multisignature signing/verification |
|||
Create/run 'transaction fuzzer' to stress-test BIP 17 transactions | |||
Run Bitcoin 0.6 on main net Result: blocks created properly Result: blocks include p2sh/CHV string in their coinbase |
|||
Run BIP 17 vinced_mergedmine backport on main net Result: blocks created properly Result: blocks include p2sh/CHV string in their coinbase |