Bitcoin Forum
May 08, 2024, 06:42:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unable to sign a transaction  (Read 450 times)
bitterbit (OP)
Member
**
Offline Offline

Activity: 98
Merit: 11


View Profile
June 19, 2016, 12:50:54 PM
 #1

I'm inable to sign a transaction using Bitcoin core wallet

Code:
createrawtransaction [{\"txid\":\"38427a43ac56a660130e86a45ccba448c2030364a512fad83e9e8598dd890e1f\",\"vout\":0}] {\"1CvRg4qu35KfJy8cLEszZvrbDiRghtmvDq\":0.001793}

01000000 01 1f0e89dd98859e3ed8fa12a5640303c248a4cb5ca4860e1360a656ac437a4238 00000000 00 ffffffff 01 64bc0200 00 000000 19 76 a9 14 82c406aacfa3fc448bea007a55e7d784ba683b37 88 ac 00000000

Note that if you wanted to create such a transaction by hand, you'd need to understand how the matching colors below are related:

createrawtransaction [{"txid":"38427a43ac56a660130e86a45ccba448c2030364a512fad83e9e8598dd890e1f","vout":0}] {"1CvRg4qu35KfJy8cLEszZvrbDiRghtmvDq":0.001793}

01000000 01 1f0e89dd98859e3ed8fa12a5640303c248a4cb5ca4860e1360a656ac437a4238 00000000 00 ffffffff 01 64bc0200 00 000000 19 76 a9 14 82c406aacfa3fc448bea007a55e7d784ba683b37 88 ac 00000000



Well ok

but after this whenever I'm trying to sign the transaction I get :



signrawtransaction "0100000001bf5fb8dc3884edc6e8c4d1e028624975b5e184deda1bcd6d77b312d1547dd54800000 00000ffffffff011c170200000000001976a914857249351a591cec53e19c9bd8320370b1f4746b 88ac00000000"


{
  "hex": "0100000001bf5fb8dc3884edc6e8c4d1e028624975b5e184deda1bcd6d77b312d1547dd54800000 00000ffffffff011c170200000000001976a914857249351a591cec53e19c9bd8320370b1f4746b 88ac00000000",
  "complete": false,
  "errors": [
    {
      "txid": "48d57d54d112b3776dcd1bdade84e1b575496228e0d1c4e8c6ed8438dcb85fbf",
      "vout": 0,
      "scriptSig": "",
      "sequence": 4294967295,
      "error": "Operation not valid with the current stack size"
    }
  ]
}

Any clues?
1715150566
Hero Member
*
Offline Offline

Posts: 1715150566

View Profile Personal Message (Offline)

Ignore
1715150566
Reply with quote  #2

1715150566
Report to moderator
1715150566
Hero Member
*
Offline Offline

Posts: 1715150566

View Profile Personal Message (Offline)

Ignore
1715150566
Reply with quote  #2

1715150566
Report to moderator
1715150566
Hero Member
*
Offline Offline

Posts: 1715150566

View Profile Personal Message (Offline)

Ignore
1715150566
Reply with quote  #2

1715150566
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Shawshank
Legendary
*
Offline Offline

Activity: 1623
Merit: 1608



View Profile
June 19, 2016, 02:47:01 PM
 #2

You are trying to sign this raw transaction:
0100000001bf5fb8dc3884edc6e8c4d1e028624975b5e184deda1bcd6d77b312d1547dd54800000 00000ffffffff011c170200000000001976a914857249351a591cec53e19c9bd8320370b1f4746b 88ac00000000

So you want to spend utxo with txid: 48d57d54d112b3776dcd1bdade84e1b575496228e0d1c4e8c6ed8438dcb85fbf and vout: 0 .

Can you confirm that you own the private key of address 15PYSSX8MTrmPsxkdWSZbZfoYL3JPV1BPd on wallet.dat? Otherwise you will not be able to successfully sign that raw transaction.

Lightning Address: shawshank@getalby.com
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 19, 2016, 04:21:06 PM
 #3

This appears to be a reference to your other thread:
https://bitcointalk.org/index.php?topic=1478833.msg15185985#msg15185985

I've already answered your question over there.

Creating two threads for the same discussion is going to split the conversation and make it very difficult for you to keep track of the advice and discussion.

I'd suggest locking this thread and letting people who find it use the link to the other thread to join the conversation.

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!