|
1490 | 1490 | } |
1491 | 1491 | ] |
1492 | 1492 | }, |
| 1493 | + { |
| 1494 | + "comment": "Multiple outputs with labels: multiple outputs for labeled and unlabeled address; same recipient", |
| 1495 | + "sending": [ |
| 1496 | + { |
| 1497 | + "given": { |
| 1498 | + "outpoints": [ |
| 1499 | + [ |
| 1500 | + "f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16", |
| 1501 | + 0 |
| 1502 | + ], |
| 1503 | + [ |
| 1504 | + "a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d", |
| 1505 | + 0 |
| 1506 | + ] |
| 1507 | + ], |
| 1508 | + "input_priv_keys": [ |
| 1509 | + [ |
| 1510 | + "eadc78165ff1f8ea94ad7cfdc54990738a4c53f6e0507b42154201b8e5dff3b1", |
| 1511 | + false |
| 1512 | + ], |
| 1513 | + [ |
| 1514 | + "0378e95685b74565fa56751b84a32dfd18545d10d691641b8372e32164fad66a", |
| 1515 | + false |
| 1516 | + ] |
| 1517 | + ], |
| 1518 | + "recipients": [ |
| 1519 | + [ |
| 1520 | + "sp1qqgste7k9hx0qftg6qmwlkqtwuy6cycyavzmzj85c6qdfhjdpdjtdgqjuexzk6murw56suy3e0rd2cgqvycxttddwsvgxe2usfpxumr70xc9pkqwv", |
| 1521 | + 3.0 |
| 1522 | + ], |
| 1523 | + [ |
| 1524 | + |
| 1525 | + "sp1qqgste7k9hx0qftg6qmwlkqtwuy6cycyavzmzj85c6qdfhjdpdjtdgqah4hxfsjdwyaeel4g8x2npkj7qlvf2692l5760z5ut0ggnlrhdzsy3cvsj", |
| 1526 | + 4.0 |
| 1527 | + ], |
| 1528 | + [ |
| 1529 | + "sp1qqgste7k9hx0qftg6qmwlkqtwuy6cycyavzmzj85c6qdfhjdpdjtdgqjuexzk6murw56suy3e0rd2cgqvycxttddwsvgxe2usfpxumr70xc9pkqwv", |
| 1530 | + 5.0 |
| 1531 | + ], |
| 1532 | + [ |
| 1533 | + "sp1qqgste7k9hx0qftg6qmwlkqtwuy6cycyavzmzj85c6qdfhjdpdjtdgqah4hxfsjdwyaeel4g8x2npkj7qlvf2692l5760z5ut0ggnlrhdzsy3cvsj", |
| 1534 | + 6.0 |
| 1535 | + ] |
| 1536 | + ] |
| 1537 | + }, |
| 1538 | + "expected": { |
| 1539 | + "outputs": [ |
| 1540 | + [ |
| 1541 | + "64f1c7e8992352d18cdbca600b9e1c3a6025050d56a3e1cc833222e4f3b59e18", |
| 1542 | + 3.0 |
| 1543 | + ], |
| 1544 | + [ |
| 1545 | + "7956317130124c32afd07b3f2432a3e92c1447cf58da95491a307ae3d564535e", |
| 1546 | + 4.0 |
| 1547 | + ], |
| 1548 | + [ |
| 1549 | + "c93be614934391e52261d58e13cf3c0a011b03d19641f540ebd3dc939e289122", |
| 1550 | + 5.0 |
| 1551 | + ], |
| 1552 | + [ |
| 1553 | + "ce36cead27a4926676b63684ab9f629f7aadfb274ecbcd7632e0b10cb565498a", |
| 1554 | + 6.0 |
| 1555 | + ] |
| 1556 | + ] |
| 1557 | + } |
| 1558 | + } |
| 1559 | + ], |
| 1560 | + "receiving": [ |
| 1561 | + { |
| 1562 | + "supports_labels": true, |
| 1563 | + "given": { |
| 1564 | + "outpoints": [ |
| 1565 | + [ |
| 1566 | + "f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16", |
| 1567 | + 0 |
| 1568 | + ], |
| 1569 | + [ |
| 1570 | + "a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d", |
| 1571 | + 0 |
| 1572 | + ] |
| 1573 | + ], |
| 1574 | + "input_pub_keys": [ |
| 1575 | + "025a1e61f898173040e20616d43e9f496fba90338a39faa1ed98fcbaeee4dd9be5", |
| 1576 | + "03782eeb913431ca6e9b8c2fd80a5f72ed2024ef72a3c6fb10263c379937323338" |
| 1577 | + ], |
| 1578 | + "bip32_seed": "f00dbabe", |
| 1579 | + "scan_priv_key": "0f694e068028a717f8af6b9411f9a133dd3565258714cc226594b34db90c1f2c", |
| 1580 | + "spend_priv_key": "9d6ad855ce3417ef84e836892e5a56392bfba05fa5d97ccea30e266f540e08b3", |
| 1581 | + "labels": { |
| 1582 | + "0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798": "0000000000000000000000000000000000000000000000000000000000000001" |
| 1583 | + }, |
| 1584 | + "outputs": [ |
| 1585 | + "64f1c7e8992352d18cdbca600b9e1c3a6025050d56a3e1cc833222e4f3b59e18", |
| 1586 | + "7956317130124c32afd07b3f2432a3e92c1447cf58da95491a307ae3d564535e", |
| 1587 | + "c93be614934391e52261d58e13cf3c0a011b03d19641f540ebd3dc939e289122", |
| 1588 | + "ce36cead27a4926676b63684ab9f629f7aadfb274ecbcd7632e0b10cb565498a" |
| 1589 | + ] |
| 1590 | + }, |
| 1591 | + "expected": { |
| 1592 | + "addresses": [ |
| 1593 | + "sp1qqgste7k9hx0qftg6qmwlkqtwuy6cycyavzmzj85c6qdfhjdpdjtdgqjuexzk6murw56suy3e0rd2cgqvycxttddwsvgxe2usfpxumr70xc9pkqwv", |
| 1594 | + "sp1qqgste7k9hx0qftg6qmwlkqtwuy6cycyavzmzj85c6qdfhjdpdjtdgqah4hxfsjdwyaeel4g8x2npkj7qlvf2692l5760z5ut0ggnlrhdzsy3cvsj" |
| 1595 | + ], |
| 1596 | + "outputs": [ |
| 1597 | + { |
| 1598 | + "pub_key": "64f1c7e8992352d18cdbca600b9e1c3a6025050d56a3e1cc833222e4f3b59e18", |
| 1599 | + "priv_key_tweak": "96439446f13ddaab2c5bc5a59a08992fd9d33bf8563c8a1b362730f4dc022e30", |
| 1600 | + "signature": "3f6226feb9e4cafc0bdab8c9cfe085885308f3708c222bcec6cf26467685d897f51597abe39d1d279708e63513c7be23daed78607a98837060950493de188645" |
| 1601 | + }, |
| 1602 | + { |
| 1603 | + "pub_key": "7956317130124c32afd07b3f2432a3e92c1447cf58da95491a307ae3d564535e", |
| 1604 | + "priv_key_tweak": "d39df91bd0e7825bfa1d30096febc5bf6fa7da79d7f25b7b4bea9538cc9a9f80", |
| 1605 | + "signature": "567f0d4d914456141ca83fe89e99f008c1f7ab9e9a65d4a60162840824737407acbaa61d7efa1a6af5d6439d213187e2f76696bb657dc709a0077bbf3b40e2f2" |
| 1606 | + }, |
| 1607 | + { |
| 1608 | + "pub_key": "c93be614934391e52261d58e13cf3c0a011b03d19641f540ebd3dc939e289122", |
| 1609 | + "priv_key_tweak": "255a912ad6cdebc0842d49fd9f7b2d81ee37d66c62839879371b699010f789b8", |
| 1610 | + "signature": "d1e7cf9e9991dace88b1924b79139b26bf2ab637bc5e2d84354d0eb3b7022b04397b63aaff03a459686745c83eb1d74dc88bdf86b5709dd531bd8109791ca436" |
| 1611 | + }, |
| 1612 | + { |
| 1613 | + "pub_key": "ce36cead27a4926676b63684ab9f629f7aadfb274ecbcd7632e0b10cb565498a", |
| 1614 | + "priv_key_tweak": "d7535d792cb1388ab0b3bd5ff57337436d62f7719c1796beb5d80ab2fa34edcf", |
| 1615 | + "signature": "abc255e3509251baf1d829b9756c1f6ee47b29e23901c12f314f15fd136e25b85d979d528e8fb8d37887d471e96702e6672b7f30ae7dc743e2c67fbd8748bad4" |
| 1616 | + } |
| 1617 | + ] |
| 1618 | + } |
| 1619 | + } |
| 1620 | + ] |
| 1621 | + }, |
1493 | 1622 | { |
1494 | 1623 | "comment": "Multiple outputs with labels: un-labeled, labeled, and multiple outputs for labeled address; multiple recipients", |
1495 | 1624 | "sending": [ |
|
0 commit comments