2016-10-28 12 views
2

나는 vultr에 새로운 VPS, 다음과 같은 나는 설정 bitcoind를 만듭니다 내가 사용bitcoind 거래를하지

rpcuser=bitcoinrpc 
rpcpassword=<snip> 
daemon=1 
rpctimeout=30 
rpcport=8332 
rpcallowip=my_vps_ip 
gen=0 
keypool=100 

bitcoin.conf에서 https://www.ringingliberty.com/bitcoin/

https://github.com/aceat64/EasyBitcoin-PHP

내 코드 PHP

$account = 'string_random'; 
$bitcoin = new Bitcoin(); 
$sign_1 = $bitcoin->getnewaddress($account); 
$sign_2 = $bitcoin->getnewaddress($account); 
$multisig = $bitcoin->createmultisig(1, [$sign_1, $sign_2]); 

나는 주소를 얻습니다 : $multisig['address'] 그리고 나서 지갑에 blockchain.info를 보내면 bitcoin이 전송됩니다.

하지만, 내가 SSH에 로그인하여 확인 : []

bitcoin-cli getbalance은 내가 잘못 0.000

입니다

bitcoin-cli listtransactions 결과는?

+0

http://blockchain.info에서 거래가 보이십니까? – default

답변

0

주먹 당신이 당신의 지갑 암호화한다 : 당신의 bitcoind이 네트워크와 동기화해야

bitcoin-cli encryptwallet 'yourpassphrasehere' 

후 있음을

실행 명령 (모든 블록을 얻을) :

bitcoin-cli getinfo 

얼마나 많은 블록을 참조 동기화 됨 :

{ 
    "version": 130200, 
    "protocolversion": 70015, 
    "walletversion": 60000, 
    "balance": 0.00455069, 
    "blocks": 451571, < ------------------ 
    "timeoffset": 0, 
    "connections": 1, 
    "proxy": "127.0.0.1:9050", 
    "difficulty": 392963262344.3704, 
    "testnet": false, 
    "keypoololdest": 1485982350, 
    "keypoolsize": 87610, 
    "unlocked_until": 0, 
    "paytxfee": 0.00000000, 
    "relayfee": 0.00001000, 
    "errors": "" 
} 

블록 수가이 값과 동일한 경우 : https://blockexplorer.com/api/status?q=getBlockCount

이제 새로운 지불을받을 준비가되었습니다.

금액이 같지 않으면 'reindex'옵션을 사용하여 비트 인덱스를 시작하여 색인 블록을 처음부터 강제로 시작할 수 있습니다.

비트 코스트가 작동하려면 디스크 공간이 많이 필요하므로 디스크 리소스를 모니터링하십시오. 비트 코 린 구성 파일의 prune 매개 변수를 사용하여 디스크 공간을 절약 할 수 있습니다 (자세한 내용은 prune 모드에 대한 Google 도움말 참조).

청취 노드 제한을 늘려야합니다 (제한 값을 30으로 늘립니다). 이 작업은 동기화 프로세스 속도를 높여야합니다.

listen=30 

행운을 빕니다.