Bitcoin Forum

Local => Кодеры => Topic started by: LuNet on July 16, 2016, 05:28:32 AM



Title: [РЕШЕНО] bitcoind error "Method not found (disabled)"
Post by: LuNet on July 16, 2016, 05:28:32 AM
Запускаю демон 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


Title: Re: bitcoind error "Method not found (disabled)"
Post by: m33t00 on July 16, 2016, 06:25:27 PM
может быть в testnet ?


Title: Re: [РЕШЕНО] bitcoind error "Method not found (disabled)"
Post by: LuNet on October 21, 2016, 03:28:15 AM
А что произойдет с выкаченным blockchain-ом, если выйти из режима regtest, изменив значение на 0?