• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Why address is not in blockchain

S

Skrutch

Guest
Hello all, please help me 1 month more can't correctly up Dash node.

OS: Debian 9.3 (x86_64)
Install step-by-step https://dashpay.atlassian.net/wiki/spaces/DOC/pages/86278560/Installation+Configuration

I gen. address with RPC:
Code:
require_once('easybitcoin.php');
$dash = new Bitcoin('dash','local321','127.0.0.1','9998');
$new_address = $dash->getnewaddress();
echo $new_address;
Exp.is: XoAgi2UZbDamXQNYdvJiRuaaByzW9gfNs4

But why I can't see it in blockchain
https://explorer.dash.org/search?q=XoAgi2UZbDamXQNYdvJiRuaaByzW9gfNs4

Network is: livenet
Sync Status: 100%

dashd.conf
Code:
listen=1
server=1
whitelist=127.0.0.1
txindex=1
addressindex=1
timestampindex=1
spentindex=1
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubrawtxlock=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
rpcallowip=127.0.0.1
rpcport=9998
rpcuser=dash
rpcpassword=local321
uacomment=bitcore
debug=1

bitcore-node-dash.json
Code:
{
  "network": "livenet",
  "port": 3001,
  "services": [
    "bitcoind",
    "dash-payment-processor",
    "insight-api-dash",
    "insight-ui-dash",
    "web"
  ],
  "servicesConfig": {
    "bitcoind": {
      "spawn": {
        "datadir": "/root/.bitcore/data",
        "exec": "/root/.bitcore/data/dashd"
      }
    }
  }
}

Thanks.

P.S. Also in AppConfig.js where I can change NODE_ENV (development/production)?
 
Last edited:
But how I can give user see this address? How I can send or when it show on blockchain?

Also I can't send any Dash to this address.
I try send with Elctrium-dash.
 
require_once('easybitcoin.php');
$dash = new Bitcoin('dash','local321','127.0.0.1','9998');
$dash->getinfo()

Is output:
Array ( [version] => 120201 [protocolversion] => 70208 [walletversion] => 61000 [balance] => 0.001 [privatesend_balance] => 0 [blocks] => 804119 [timeoffset] => 0 [connections] => 20 [proxy] => [difficulty] => 89689273.716317 [testnet] => [keypoololdest] => 1515887791 [keypoolsize] => 999 [paytxfee] => 0 [relayfee] => 1.0E-5 [errors] => Warning: unknown new rules activated (versionbit 1) )

Dashnode start log is livenet:
Code:
...[2018-01-14T15:55:53.353Z] info: Dash Height: 804106 Percentage: 100.00
[2018-01-14T16:09:03.439Z] info: Using config: /root/dashnode/bitcore-node-dash.json
[2018-01-14T16:09:03.440Z] info: Using network: livenet
[2018-01-14T16:09:03.440Z] info: Starting bitcoind
[2018-01-14T16:09:03.441Z] info: Using bitcoin config file: /root/.bitcore/data/dash.conf
[2018-01-14T16:09:13.450Z] info: Starting dash process
[2018-01-14T16:09:23.485Z] info: Dash Height: 804114 Percentage: 100.00
[2018-01-14T16:09:23.488Z] info: Dash Daemon Ready
[2018-01-14T16:09:23.489Z] info: Starting web
[2018-01-14T16:09:23.503Z] info: Starting dash-payment-processor
[2018-01-14T16:09:23.505Z] info: Starting insight-api-dash
[2018-01-14T16:09:23.506Z] info: Starting insight-ui-dash
[2018-01-14T16:09:23.509Z] info: Bitcore Node ready
 
So I see interesting moments... My server is run with livenet mode, and when I try call
http://localhost:3002/api/payments/dash?action=PaymentCallback
I get address with start "y......", I thinks is testnet mode, and if I call with
require_once('easybitcoin.php');
$dash = new Bitcoin('dash','local321','127.0.0.1','9998');
$dash->getinfo()
I get address with start "X....", I thinks is livenet mode.

Update: In AppConfig.js I change
var env = process.env.NODE_ENV || 'development';
with
var env = process.env.NODE_ENV || 'production';

It's right way?
 
Last edited:
Back
Top