Bitcoin Forum
May 06, 2024, 07:02:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A way to identify wallet running in bitcoind  (Read 640 times)
zoufou (OP)
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
July 17, 2016, 09:53:07 PM
 #1

Hi,

I have a bunch of full nodes running, each with a wallet.dat file (obviously), i'm managing these nodes through json rpc calls from a central application.

I'm identifying each node with it's (IP,Port) couple, this way i have unique nodes in my db.

Am looking for a way to identify the wallet running with the node, so if i take wallet.dat from node Y to node Z, i will be able to know about this change and sync down to my application.

Anyway to do it ?
1714978920
Hero Member
*
Offline Offline

Posts: 1714978920

View Profile Personal Message (Offline)

Ignore
1714978920
Reply with quote  #2

1714978920
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714978920
Hero Member
*
Offline Offline

Posts: 1714978920

View Profile Personal Message (Offline)

Ignore
1714978920
Reply with quote  #2

1714978920
Report to moderator
1714978920
Hero Member
*
Offline Offline

Posts: 1714978920

View Profile Personal Message (Offline)

Ignore
1714978920
Reply with quote  #2

1714978920
Report to moderator
1714978920
Hero Member
*
Offline Offline

Posts: 1714978920

View Profile Personal Message (Offline)

Ignore
1714978920
Reply with quote  #2

1714978920
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
July 17, 2016, 10:16:03 PM
 #2

You could create a new address and label it "identity" for each wallet. That would be your wallet identified. Then use the rpc command
Code:
getaddressesbyaccount "identity"
to get the address and determine which wallet is which.

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!