Let wallet importmulti RPC accept labels for standard scriptPubKeys #9332
pull ryanofsky wants to merge 1 commits into bitcoin:master from ryanofsky:pr/script-label changing 3 files +28 −51-
ryanofsky commented at 3:52 pm on December 12, 2016: memberAllow importmulti RPC to apply address labels when importing standard scriptPubKeys. This makes the importmulti RPC less finnicky about import formats and also simpler internally.
-
ryanofsky force-pushed on Dec 12, 2016
-
fanquake added the label RPC/REST/ZMQ on Dec 13, 2016
-
ryanofsky force-pushed on Dec 13, 2016
-
ryanofsky force-pushed on Dec 15, 2016
-
ryanofsky force-pushed on Dec 15, 2016
-
ryanofsky renamed this:
Let wallet importmulti RPC accept labels for standard scriptPubKeys (on top of #9331)
Let wallet importmulti RPC accept labels for standard scriptPubKeys
on Dec 15, 2016 -
ryanofsky force-pushed on Mar 1, 2017
-
ryanofsky force-pushed on Mar 3, 2017
-
ryanofsky force-pushed on Jun 2, 2017
-
ryanofsky force-pushed on Sep 20, 2017
-
ryanofsky force-pushed on Oct 19, 2017
-
ryanofsky force-pushed on Jan 25, 2018
-
Let wallet importmulti RPC accept labels for standard scriptPubKeys
Allow importmulti RPC to apply address labels when importing standard scriptPubKeys. This makes the importmulti RPC less finnicky about import formats and also simpler internally.
-
ryanofsky force-pushed on Feb 23, 2018
-
in test/functional/wallet_import_rescan.py:169 in 98ea64cf23
165@@ -166,7 +166,7 @@ def run_test(self): 166 167 # Create new transactions sending to each address. 168 for i, variant in enumerate(IMPORT_VARIANTS): 169- variant.sent_amount = 10 - (2 * i + 1) / 8.0 170+ variant.sent_amount = 1 - (2 * i + 1) / 128
jamesob commented at 9:21 pm on March 7, 2018:Curious what’s prompting these value changes.
ryanofsky commented at 2:37 pm on March 8, 2018:Curious what’s prompting these value changes.
This is just reducing the amount sent each iteration to prevent the wallet running out of funds because there are more test variants now.
jamesob commented at 9:29 pm on March 7, 2018: memberutACK https://github.com/bitcoin/bitcoin/pull/9332/commits/98ea64cf232c34d4b1aebe738b3956191667cd76
I don’t see anything in the tests exercising the application of a label to a scriptPubKey import; if we’re indeed lacking that I’m happy to either add a commit here or file a follow-up PR.
ryanofsky commented at 2:55 pm on March 8, 2018: memberI don’t see anything in the tests exercising the application of a label to a scriptPubKey import; if we’re indeed lacking that I’m happy to either add a commit here or file a follow-up PR.
This is tested in
wallet_import_rescan.py
on line 61 when the call type isCall.multiscript
. (If you revert the code changes and run the test you should see this case fail.)DrahtBot commented at 5:30 pm on July 21, 2018: memberDrahtBot closed this on Jul 21, 2018
DrahtBot reopened this on Jul 21, 2018
sipa commented at 9:16 pm on July 21, 2018: memberutACK 98ea64cf232c34d4b1aebe738b3956191667cd76. Looks like a nice simplification too.laanwj commented at 5:02 pm on September 10, 2018: memberutACK 98ea64cf232c34d4b1aebe738b3956191667cd76laanwj merged this on Sep 10, 2018laanwj closed this on Sep 10, 2018
laanwj referenced this in commit 13c842e028 on Sep 10, 2018deadalnix referenced this in commit a6b244747e on May 14, 2020ftrader referenced this in commit 223ac15a24 on Aug 17, 2020PastaPastaPasta referenced this in commit a9129d0f30 on Jun 27, 2021PastaPastaPasta referenced this in commit 0a64be4868 on Jun 28, 2021PastaPastaPasta referenced this in commit 8ea4c51188 on Jun 29, 2021PastaPastaPasta referenced this in commit aade9c3100 on Jul 1, 2021DrahtBot locked this on Sep 8, 2021
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 12:12 UTC
More mirrored repositories can be found on mirror.b10c.me