dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

getrawmempool always returns empty array #1866

Closed Vasiliy-Bondarenko closed 6 years ago

Vasiliy-Bondarenko commented 6 years ago

dash-cli getrawmempool as well as RPC call getrawmempool always return empty array. node is running and synced to the network. am i missing something or it's a node software issue?

config:

rpcuser=cantsay
rpcpassword=cantsay
litemode=1
onlynet=ipv4
bind=127.0.0.1:8887
rpcport=8888
nmarley commented 6 years ago

I'm getting transactions:

dash-cli getrawmempool
[
  "d0e799ac6960b0a9b9b6d40e0b559cf762fa5c8289ffc480c0efd64f53e5c809",
  "a793b9b1bea7c9e5bec0b0fa16500aebbf74c1cc847daac568270fffb047f31a",
  "d321aa1a311e9a66b229663f9273177357f8c4bb6f9e959a0089db7ec8dc9c1c",
  "5787d2039e05e19265e4a864571d3211f45e77faf3b074f5fb96bc86f8c04330",
  "22d66a8eab3d3409b9355fa41e75bdff7d168faa3d5b69764e9ca24cf8e7d23a",
  "7404be76360b0ce41657e4f47ca3766c5d6de27d785dfd8a0ecdcef02a38d83a",
  "dee995ddd332f423e38e7cfd3a44e396da3b29f076b979df2d2997046747343e",
  "915cd068c737ee7c30a840a96978f298009fc6d8c710f480d64e63da81d2db49",
  "9880f6fdf18f0c1324cb1fb87eba8c68ff434d147696eccb2e77fe0d2aa29b4d",
  "cc0f433a2021772138ec6da554e48d2e620337451cf3a42de1df260bee14984f",
  "6bc57638454c4d52fdba3f970b3df94d0047c50efdc13a7f6d3f3965bf53a160",
  "28a85cabeda8f0587c36bb24030fc9e9ce13587105933252bd3cc726d27dbd73",
  "de394610f0a31fa250e915e25d1789c406ddae26d1867dfda838d1f310b83374",
  "9da8deded2b65382394bb6e8c7b1f80a57a6a0da654da06b0670dc31a76bde7c",
  "8800fdbf39ce1899bf5d04a2adb48220dd63ad7fbe6e19a3dbeb9249c3c3a487",
  "98595213975d3fdc06f60d7e8b0e82b388ec255b60b6658d19fc91f5f617f299",
  "ef0866986c941bdd1ddb44258611e97dd234f8940789c71af2f8070997d8aaa1",
  "e27a69049e94f4e4e25f1a116d1ad98cc4dfcf8c86ad27221f5baa81c72fb8a1",
  "b06ea81885d4791d901905533a52b90797572ce3120a9a22663bfcec0b94f7c5",
  "3d38e36f68d81ee698f2c5be205fbae7a34b86b76e5f17d3864f842d8c5936f2"
]

Blocks are created on average every 2.5 minutes, so you should be able to see some eventually that haven't been added to a block yet.

But I am curious that you're binding to port 8887 when the dashd port is 9999.

Is this still an issue for you?

nmarley commented 6 years ago

This behaviour is expected and working as I described above.

Vasiliy-Bondarenko commented 6 years ago

Sorry. I forgot to reply here. I switched some config parameter and transactions appeared. I don't remeber which parameter.