Bitcoin Forum
November 01, 2024, 11:05:10 AM *
News: Bitcoin Pumpkin Carving Contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-cli -decodescript "hex" - method not found  (Read 464 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
March 14, 2017, 05:28:00 PM
 #1

First after calling was
error code: -28
error message:
Loading block index...

next:
error code: -28
error message:
Verifying blocks...

but at last:
error code: -32601
error message:
Method not found

--------------

Ok, need be "decodescript" not "-decodescript"
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3542
Merit: 6884


Just writing some code


View Profile WWW
March 14, 2017, 05:34:40 PM
 #2

Don't have the - in front of your command. The - means that it is an option, not a parameter. The RPC call is a parameter, not an option.

Your command should be
Code:
bitcoin-cli decodescript "hex"

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!