Bitcoin Forum
May 25, 2024, 08:02:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [РЕШЕНО] bitcoind error "Method not found (disabled)"  (Read 7075 times)
LuNet (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 16, 2016, 05:28:32 AM
Last edit: July 25, 2016, 08:32:17 PM by LuNet
 #1

Запускаю демон bitcoind с параметрами в /etc/bitcoin.conf:
Code:
server=1
rpcport=31984
testnet=1
/home/user/.bitcoin/bitcoin.conf:
Code:
rpcport=31984
testnet=1
Так же в этих файлах указан rpcuser и rpcpassword
Дальше getinfo - Ok:
Code:
$ bitcoin-cli getinfo
{
    "version" : 120100,
    "protocolversion" : 70012,
    "blocks" : 582624,
    "timeoffset" : 70,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 1617453.65051951,
    "testnet" : true,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}
На любую другую команду bitcoin-cli отвечает одинаково:

Code:
$ bitcoin-cli getbalance
error: {"code":-32601,"message":"Method not found (disabled)"}


Решение:
https://bitcointalk.org/index.php?topic=1057559.0
Отредактировать /etc/conf.d/bitcoind
m33t00
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 16, 2016, 06:25:27 PM
 #2

может быть в testnet ?
LuNet (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
October 21, 2016, 03:28:15 AM
Last edit: October 21, 2016, 12:11:52 PM by LuNet
 #3

А что произойдет с выкаченным blockchain-ом, если выйти из режима regtest, изменив значение на 0?
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!