BIP 0017 QA: Difference between revisions
No edit summary |
No edit summary |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This page is a Quality Assurance test plan for | This page is a Quality Assurance test plan for [[BIP 0017|BIP 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. | ||
Line 6: | Line 6: | ||
! Testnet !! Mainnet !! Test Procedure !! Tested by | ! Testnet !! Mainnet !! Test Procedure !! Tested by | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | || ✓ | ||
| Run BIP-17-capable Bitcoin 0.6 | | Run BIP-17-capable Bitcoin 0.6<br /> | ||
Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands<br /> | Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands<br /> | ||
Result: coins sent in all cases | Result: coins sent in all cases | ||
| | | Luke Dashjr ([http://blockexplorer.com/b/164676 block 164676]) | ||
|- style="background: #90ff90" | |- style="background: #90ff90" | ||
| ✓ || ✓ | | ✓ || ✓ | ||
| Test multisig 1-of-1<br /> | | Test multisig 1-of-1<br /> | ||
Run 0.6 bitcoind, get a public key with: ./bitcoind | Run 0.6 bitcoind, get a public key with: ./bitcoind validateaddress $(./bitcoind getnewaddress)<br /> | ||
Generate a multisig 1-of-1 address: ./bitcoind addmultisigaddress 1 {public key from above}<br /> | Generate a multisig 1-of-1 address: ./bitcoind addmultisigaddress 1 {public key from above}<br /> | ||
Send-to-self some bitcoins using that address<br /> | Send-to-self some bitcoins using that address<br /> | ||
Result: transaction is confirmed by network, displays properly in listtransactions. | Result: transaction is confirmed by network, displays properly in listtransactions.<br /> | ||
Result: balance is unaffected | Result: balance is unaffected | ||
| Luke Dashjr | | Luke Dashjr ([http://blockexplorer.com/b/163685 block 163685]) | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | || ✓ | ||
| 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 /> | ||
Generate a multisig 1-of-2 address: ./bitcoind addmultisigaddress 1 {address1} {address2}<br /> | Generate a multisig 1-of-2 address: ./bitcoind addmultisigaddress 1 {address1} {address2}<br /> | ||
Send-to-self some bitcoins using that address<br /> | Send-to-self some bitcoins using that address<br /> | ||
Result: transaction is confirmed by network, displays properly in listtransactions. | Result: transaction is confirmed by network, displays properly in listtransactions.<br /> | ||
Result: bitcoin balance is unaffected. | Result: bitcoin balance is unaffected. | ||
| | | Luke Dashjr ([http://blockexplorer.com/b/164676 block 164676]) | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | || ✓ | ||
| 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 | ||
| | | Luke Dashjr ([http://blockexplorer.com/b/164676 block 164676]) | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | || ✓ | ||
| 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 /> | ||
| | | Luke Dashjr ([http://blockexplorer.com/b/164676 block 164676]) | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | || ✓ | ||
| 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 /> | ||
| | | Luke Dashjr ([http://blockexplorer.com/b/164676 block 164676]) | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | || ✓ | ||
| 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 | ||
| | | Luke Dashjr | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | ✓ || ✓ | ||
| Run BIP-17-capable backport Bitcoin 0.3.19 through 0.5.1<br /> | | Run BIP-17-capable backport Bitcoin 0.3.19 through 0.5.1<br /> | ||
Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands<br /> | Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands<br /> | ||
Result: coins sent in all cases | Result: coins sent in all cases | ||
| | | Luke Dashjr | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || n/a | | ✓ || n/a | ||
| Run BIP-17-capable Bitcoin 0.6.0<br /> | | 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 pre-BIP17 clients<br /> | Result: blocks accepted, show up on pre-BIP17 clients<br /> | ||
Result: mined blocks' coinbase contains p2sh/CHV string | Result: mined blocks' coinbase contains p2sh/CHV string | ||
| | | Luke Dashjr | ||
|- style="background:# | |- style="background:#ffff90" | ||
| ✓ || | | ✓ || | ||
| Run BIP-17-capable Bitcoin 0.6.0<br /> | | Run BIP-17-capable Bitcoin 0.6.0<br /> | ||
Line 89: | Line 89: | ||
Result: blocks accepted, show up on pre-BIP17 clients<br /> | Result: blocks accepted, show up on pre-BIP17 clients<br /> | ||
Result: mined blocks' coinbase contains p2sh/CHV string | Result: mined blocks' coinbase contains p2sh/CHV string | ||
| | | Luke Dashjr | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | ✓ || ✓ | ||
| Run BIP-17-capable Bitcoin 0.6.0<br /> | | 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 pre-BIP17 clients<br /> | Result: blocks accepted, show up on pre-BIP17 clients<br /> | ||
| Luke Dashjr ([http://blockexplorer.com/b/164895 block 164895]) | |||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | ✓ || n/a | ||
| Run BIP-17-capable Bitcoin 0.3.19 through 0.5.1 backports<br /> | | 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 pre-BIP17 clients<br /> | Result: blocks accepted, show up on pre-BIP17 clients<br /> | ||
Result: mined blocks' coinbase contains p2sh/CHV string | Result: mined blocks' coinbase contains p2sh/CHV string | ||
| | | Luke Dashjr | ||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | ✓ || ✓ | ||
| Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports | | Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports<br /> | ||
Mine coins using getwork interface<br /> | Mine coins using getwork interface<br /> | ||
Result: blocks accepted, show up on pre-BIP17 clients<br /> | Result: blocks accepted, show up on pre-BIP17 clients<br /> | ||
Result: mined blocks' coinbase contains p2sh/CHV string | Result: mined blocks' coinbase contains p2sh/CHV string | ||
| | | Luke Dashjr ([http://blockexplorer.com/b/164676 block 164676]) | ||
|- style="background:# | |- style="background:#90ff90" | ||
| | | ✓ || ✓ | ||
| Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports<br /> | |||
| | | |||
| Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports | |||
Mine coins using getmemorypool interface<br /> | Mine coins using getmemorypool interface<br /> | ||
Result: blocks accepted, show up on pre-BIP17 clients<br /> | Result: blocks accepted, show up on pre-BIP17 clients<br /> | ||
| Luke Dashjr ([http://blockexplorer.com/b/164733 block 164733]) | |||
|- style="background:# | |- style="background:#90ff90" | ||
| || | | ✓ || n/a | ||
| Create/run unit tests for:<br /> | | Create/run unit tests for:<br /> | ||
multisignature signing/verification<br /> | multisignature signing/verification<br /> | ||
Line 150: | Line 132: | ||
BIP 17 compatibility with other 3 standard transaction types<br /> | BIP 17 compatibility with other 3 standard transaction types<br /> | ||
BIP 17 switchover date logic<br /> | BIP 17 switchover date logic<br /> | ||
| | | Luke Dashjr, Gavin Andresen | ||
|- style="background:#ff9090" | |- style="background:#ff9090" | ||
| || | | || | ||
| Create/run 'transaction fuzzer' to stress-test BIP 17 transactions | | Create/run 'transaction fuzzer' to stress-test BIP 17 transactions | ||
| | | | ||
|} | |} |
Latest revision as of 20:34, 1 February 2012
This page is a Quality Assurance test plan for BIP 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 Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands |
Luke Dashjr (block 164676) | |
✓ | ✓ | Test multisig 1-of-1 Run 0.6 bitcoind, get a public key with: ./bitcoind validateaddress $(./bitcoind getnewaddress) |
Luke Dashjr (block 163685) |
✓ | Test multisig 1-of-2 Run 0.6 bitcoind, get 2 new bitcoin addresses |
Luke Dashjr (block 164676) | |
✓ | Test multisig 1-of-3, 2-of-3, 3-of-3 Repeat test procedures above, with the other new multisignature transaction types |
Luke Dashjr (block 164676) | |
✓ | Test multisig send-to-other Repeat test procedures above, but use two bitcoinds, prepared as follows: |
Luke Dashjr (block 164676) | |
✓ | Test redeeming multisignature transactions Fund a new, empty wallet entirely with multisig transactions |
Luke Dashjr (block 164676) | |
✓ | Run 0.6 Bitcoin-Qt GUI on one of the test wallets from above Result: balance and transactions displayed correctly |
Luke Dashjr | |
✓ | ✓ | Run BIP-17-capable backport Bitcoin 0.3.19 through 0.5.1 Send coins using GUI, RPC sendtoaddress, and RPC sendmany commands |
Luke Dashjr |
✓ | n/a | Run BIP-17-capable Bitcoin 0.6.0 Mine coins using built-in miner |
Luke Dashjr |
✓ | Run BIP-17-capable Bitcoin 0.6.0 Mine coins using getwork interface |
Luke Dashjr | |
✓ | ✓ | Run BIP-17-capable Bitcoin 0.6.0 Mine coins using getmemorypool interface |
Luke Dashjr (block 164895) |
✓ | n/a | Run BIP-17-capable Bitcoin 0.3.19 through 0.5.1 backports Mine coins using built-in miner |
Luke Dashjr |
✓ | ✓ | Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports Mine coins using getwork interface |
Luke Dashjr (block 164676) |
✓ | ✓ | Run BIP-17-capable Bitcoin 3.19 through 0.5.1 backports Mine coins using getmemorypool interface |
Luke Dashjr (block 164733) |
✓ | n/a | Create/run unit tests for: multisignature signing/verification |
Luke Dashjr, Gavin Andresen |
Create/run 'transaction fuzzer' to stress-test BIP 17 transactions |