Bitcoin Forum
June 14, 2024, 04:55:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get balance of an account with P2SH (3*) address in bitcoind  (Read 663 times)
lorenzoasr (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
May 15, 2014, 10:16:48 AM
 #1

i'm trying to understand how to calculate/obtain balance of a P2SH address added to my running bitcoind with "addmultisigaddress..." and that is properly displayed by the command "getaddressesbyaccount" (it starts with 3* instead of 1*).

Now, i've created and spent a raw transaction to transfer some funds to that P2SH address, after a while I was able to find this transaction on blockexplorer.com and blockchain.info, so I can assume that funds are regularry transferred.

The problem is that I can't see those coins in my balance, also having more then 100 confirms (i'm using bitcoind v0.8.6). So I can imagine that bitcoind not recognize this transaction directly as mine via the blockchain (10GB+). Is there an alternative way not involving external services?

Thank you
telepatheic
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
May 15, 2014, 11:27:09 AM
 #2

Bitcoind has only limited multi-signature support. For addmultisigaddress to work correctly you must have all the private keys required to spend that address in your wallet.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
May 15, 2014, 08:08:22 PM
 #3

createrawtransaction, signrawtransaction, sendrawtransaction

No external services needed.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
lorenzoasr (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
May 16, 2014, 07:25:10 AM
 #4

Hello kjj and thanks for your reply!

I used those commands to create and propagate a tx to send fund to my p2sh, my question was about how can I get notified by bitcoind about receiving this tx on my p2sh.

 
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!