Bitcoin Forum
May 02, 2024, 02:14:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-cli -decodescript "hex" - method not found  (Read 439 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"
1714616081
Hero Member
*
Offline Offline

Posts: 1714616081

View Profile Personal Message (Offline)

Ignore
1714616081
Reply with quote  #2

1714616081
Report to moderator
1714616081
Hero Member
*
Offline Offline

Posts: 1714616081

View Profile Personal Message (Offline)

Ignore
1714616081
Reply with quote  #2

1714616081
Report to moderator
1714616081
Hero Member
*
Offline Offline

Posts: 1714616081

View Profile Personal Message (Offline)

Ignore
1714616081
Reply with quote  #2

1714616081
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714616081
Hero Member
*
Offline Offline

Posts: 1714616081

View Profile Personal Message (Offline)

Ignore
1714616081
Reply with quote  #2

1714616081
Report to moderator
1714616081
Hero Member
*
Offline Offline

Posts: 1714616081

View Profile Personal Message (Offline)

Ignore
1714616081
Reply with quote  #2

1714616081
Report to moderator
1714616081
Hero Member
*
Offline Offline

Posts: 1714616081

View Profile Personal Message (Offline)

Ignore
1714616081
Reply with quote  #2

1714616081
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6571


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!