Bitcoin Forum
May 11, 2024, 07:30:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question For Scanning Multiple Addresses Simultaneously with Bitcoin Core  (Read 80 times)
BitcoinCanSaveUsAll (OP)
Member
**
Offline Offline

Activity: 104
Merit: 120


View Profile
February 23, 2024, 04:25:07 PM
Merited by ABCbits (2), Forsyth Jones (1)
 #1

Hi everyone,

I'm trying to figure out if it's possible to scan multiple addresses simultaneously with your own node rather than querying each one independently in the console such as the below command:


scantxoutset "start" "[\"addr(bc1qsshluxkwzf3ksnm5gh8wpzt453x75f2gn6dlqw)\"]"


The above example is done with a BitWise address for reference only and is not mine however I would like to be able to figure this out as this command takes a very long time to perform as it has to scan the entire UTXO set so it would speed things up immensely if there was a way to add a list of addresses to scan a single command rather than having to enter one address at a time. 

Thanks in advance for any feedback!
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715412647
Hero Member
*
Offline Offline

Posts: 1715412647

View Profile Personal Message (Offline)

Ignore
1715412647
Reply with quote  #2

1715412647
Report to moderator
1715412647
Hero Member
*
Offline Offline

Posts: 1715412647

View Profile Personal Message (Offline)

Ignore
1715412647
Reply with quote  #2

1715412647
Report to moderator
1715412647
Hero Member
*
Offline Offline

Posts: 1715412647

View Profile Personal Message (Offline)

Ignore
1715412647
Reply with quote  #2

1715412647
Report to moderator
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2971


Block halving is coming.


View Profile WWW
February 23, 2024, 05:36:50 PM
Merited by pooya87 (4), ABCbits (2), icopress (1)
 #2

I just a research a bit and  I don't think this command would but you can try it and update here if it works or not.

First Command
Code:
bitcoin-cli scantxoutset start '["addr(<address>)", "addr(<address2>)"]'
Source: https://bitcoin.stackexchange.com/questions/89759/fetch-utxo-bitcoin-to-address-created-by-rpc-importprivkey-without-rescan-like-o

Replace address and address2 to with the addresses you want.


If it does not work and if the command you provided above does work and you want multiple addresses then try this one

Code:
scantxoutset "start" "[\"addr(bc1qsshluxkwzf3ksnm5gh8wpzt453x75f2gn6dlqw)\", \"addr(Address2)\", \"addr(Address3)\"]"

Update here if it works or not.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BitcoinCanSaveUsAll (OP)
Member
**
Offline Offline

Activity: 104
Merit: 120


View Profile
February 23, 2024, 06:27:23 PM
 #3

Thank you very much! Yes the second command worked.  I certainly appreciate your quick support! FYI I'm running a Windows node version 20.2 in case that helps.  Thanks again and have a great day!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!