Bitcoin Forum
June 15, 2024, 04:00:58 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Error code when trying to spend MultiSig from Bitcoin QT  (Read 1363 times)
BitBitBet (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 14, 2015, 12:58:02 PM
 #1

Hi,

I went through the entire process outlined in this man's video (https://www.youtube.com/watch?v=YN2Vyu9RupU) on creating and spending from a multisig address from the bitcoin console.

However, when I get to the last step (sendrawtransaction) I get:
"66: insufficient priority (code -26)"

Also, a general question about multisig.   Must I save the transaction ID every time someone sends money to my multisig address in order to spend the funds in the future, or will one transaction ID be sufficient?

Thank you.
BitBitBet (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 14, 2015, 01:19:54 PM
 #2

I fixed the issue by removing the change address.  I'm still curious about the 2nd part of my question.
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
May 14, 2015, 01:26:43 PM
 #3

You need TXID of the unspent transaction output you are using for the creating transaction. You can't use one TXID everytime, it will be a double-spend.

P.S. I misunderstood your question. A sender only needs to know your multisig address to send funds, don't need to know TXID. But you needed to know when creating a transaction.

jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 14, 2015, 02:19:21 PM
 #4

I fixed the issue by removing the change address.  I'm still curious about the 2nd part of my question.
If you're creating the raw transaction and don't provide a change address, doesn't that mean you just spent the change in miner fees?  In other words, if you have two input transactions of 1BTC each, and the amount you're spending is 1.01BTC, without a change address, 0.99BTC becomes transaction fee.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
May 14, 2015, 06:37:19 PM
 #5

I fixed the issue by removing the change address.  I'm still curious about the 2nd part of my question.
If you're creating the raw transaction and don't provide a change address, doesn't that mean you just spent the change in miner fees?  In other words, if you have two input transactions of 1BTC each, and the amount you're spending is 1.01BTC, without a change address, 0.99BTC becomes transaction fee.

That is correct.

I fixed the issue by removing the change address.  I'm still curious about the 2nd part of my question.

I hope you do this on testnet.

Im not really here, its just your imagination.
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 14, 2015, 11:28:59 PM
 #6

If you're creating the raw transaction and don't provide a change address, doesn't that mean you just spent the change in miner fees?  In other words, if you have two input transactions of 1BTC each, and the amount you're spending is 1.01BTC, without a change address, 0.99BTC becomes transaction fee.

That is correct.
Thanks for the confirmation.  When I read that OP "fixed" the problem by just removing the change address I was like, "who messes around with multi-sig stuff and raw transactions without even understanding the basics?"

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
coinableS
Legendary
*
Offline Offline

Activity: 1442
Merit: 1179



View Profile WWW
May 15, 2015, 04:41:30 AM
 #7

This is my video.
Not sure why having the change address would give you a 26 error (rejected by network rules).
I hope you didn't send too much as a mining fee.
I did explain between the 8:30 - 9 minute mark that if you don't include a change address the remainder will go to mining fees.

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!