Bitcoin Forum
February 28, 2024, 08:32:02 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Установка bitcoind для приема BTC на сайте  (Read 1117 times)
TELMEXXX (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 20, 2014, 11:18:10 AM
 #1

Подскажите как установить bitcoind на пк в качестве локального сервера для приема бтс на сайте, читал этот гайд https://bitcointalk.org/index.php?topic=62498.0 но хочеться для начала у себя на пк захостить
1709152322
Hero Member
*
Offline Offline

Posts: 1709152322

View Profile Personal Message (Offline)

Ignore
1709152322
Reply with quote  #2

1709152322
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1709152322
Hero Member
*
Offline Offline

Posts: 1709152322

View Profile Personal Message (Offline)

Ignore
1709152322
Reply with quote  #2

1709152322
Report to moderator
1709152322
Hero Member
*
Offline Offline

Posts: 1709152322

View Profile Personal Message (Offline)

Ignore
1709152322
Reply with quote  #2

1709152322
Report to moderator
1709152322
Hero Member
*
Offline Offline

Posts: 1709152322

View Profile Personal Message (Offline)

Ignore
1709152322
Reply with quote  #2

1709152322
Report to moderator
kolja153
Jr. Member
*
Offline Offline

Activity: 59
Merit: 16



View Profile
December 22, 2014, 11:13:35 PM
Merited by xandry (6)
 #2

В bitcoin.conf
server=1
daemon=1
rpcuser=username
rpcpassword=password
rpcallowip=*
rpcport=8332

Запускаеш демон, и посылаеш запросы получаеш отвееты. Вот пример на PHP
Quote
<?php
 
 require_once 'jsonRPCClient.php';
 
  $bitcoin = new jsonRPCClient('http://m153:123@127.0.0.1:8332/');
 
  echo "<pre>\n";
  print_r($bitcoin->getinfo()); echo "\n";
 
  print_r($bitcoin->getaccount()); echo "\n";
 
  echo "</pre>";
 
  ?>

в ответ поучиш
Quote
Array
(
    [version] => 80500
    [protocolversion] => 70001
    [walletversion] => 60000
    [balance] => 0.01952129
    [blocks] => 334540
    [timeoffset] => 0
    [connections] => 4
    [proxy] =>
    [difficulty] => 40007470271.271
    [testnet] =>
    [keypoololdest] => 1379700218
    [keypoolsize] => 95
    [paytxfee] => 0
    [unlocked_until] => 0
    [errors] =>
)



If this post was helpful, please donate:
BTC = 1PjjTnMivEdcF8LZp8d7XXPvrMvMutkwvV
NVC = 4TsdVv8baEypdGXmtTGvbiYCM7DXSza2Cg
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!