Commit 33f9750
committed
Merge #16185: gettransaction: add an argument to decode the transaction
9965940 doc: Add release note for the new gettransaction argument (darosior)
b8b3f04 tests: Add a new functional test for gettransaction (darosior)
7f3bb24 gettransaction: add an argument to decode the transaction (darosior)
Pull request description:
This PR adds a new parameter to the `gettransaction` call : `decode`. If set to `true`, it will add a new `decoded` field to the response. This mimics the behavior of `getrawtransaction`'s `verbose` argument to avoid using 2 calls if we want to decode a wallet transaction (`gettransaction` then `decoderawtransaction`).
Fix #16181 .
ACKs for top commit:
meshcollider:
re-utACK 9965940
Tree-SHA512: bcb6b4bd252b3488d6afc77659c499c2ad99fd58661eb24b6a2e17014c74f22e47fde70e00fedb4f4754915786622ad02483b2cf2c4dea0ab0eb4ac8276dbeeeFile tree
4 files changed
+21
-1
lines changed- doc
- src
- rpc
- wallet
- test/functional
4 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1649 | 1649 | | |
1650 | 1650 | | |
1651 | 1651 | | |
| 1652 | + | |
1652 | 1653 | | |
1653 | 1654 | | |
1654 | 1655 | | |
| |||
1684 | 1685 | | |
1685 | 1686 | | |
1686 | 1687 | | |
| 1688 | + | |
1687 | 1689 | | |
1688 | 1690 | | |
1689 | 1691 | | |
1690 | 1692 | | |
1691 | 1693 | | |
| 1694 | + | |
1692 | 1695 | | |
1693 | 1696 | | |
1694 | 1697 | | |
| |||
1708 | 1711 | | |
1709 | 1712 | | |
1710 | 1713 | | |
| 1714 | + | |
| 1715 | + | |
1711 | 1716 | | |
1712 | 1717 | | |
1713 | 1718 | | |
| |||
1733 | 1738 | | |
1734 | 1739 | | |
1735 | 1740 | | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
1736 | 1747 | | |
1737 | 1748 | | |
1738 | 1749 | | |
| |||
4175 | 4186 | | |
4176 | 4187 | | |
4177 | 4188 | | |
4178 | | - | |
| 4189 | + | |
4179 | 4190 | | |
4180 | 4191 | | |
4181 | 4192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
502 | 507 | | |
503 | 508 | | |
504 | 509 | | |
0 commit comments