question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: NBXplorer depends on non-essential calls to bitcoin RPC

See original GitHub issue

Problem

I use btc-rpc-proxy to improve the security and I’ve found out that NBXplorer makes some strange calls that clearly aren’t needed for the fucntion of UTXO tracking. So far I’ve found these calls weird:

  • generatetoaddress - Is it trying to mine bitcoins?!
  • setban
  • signrawtransactionwithkey - harmless, but NBXplorer should have no keys to use for signing
  • there might be others, sadly, instead of continuing, NBXplorer fails, so I’m unable to determine other fail attempts (so far each means manual whitelisting, I ended at setban, as I really don’t want to whitelist that one)

Expected behavior

NBXplorer only accesses public calls and doesn’t attempt to mine, reconfigure bitcoind or spend bitcoins

What actually happens

NBXplorer is issuing unnecessary calls.

Version: latest

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasDoriercommented, Feb 11, 2020

I just bumped to v2.1.9

0reactions
Kixunilcommented, Feb 11, 2020

Awesome, thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

fail: Configuration: BTC:Error connecting to RPC server #77
The recommended way is to run bitcoind.exe without any parameter, and run nbxplorer without parameter. It would connect to each other correctly.
Read more >
API reference (JSON-RPC) - Bitcoin Wiki
python-jsonrpc is the official JSON-RPC implementation for Python. It automatically generates Python methods for RPC calls.
Read more >
Website connected to Bitcoin RPC Wrapper on second ...
I now use a second server for the Bitcoin Core and orders are getting the error "Trying to access array offset on valie...
Read more >
JSON-RPC call to bitcoind error, 403 failed to open stream
I just read through the code that handles rpcallowip, and I can tell you that rpcallowip=0.0.0.0 won't work. If you want to allow...
Read more >
RPC API Reference - Bitcoin.org
This site aims to provide the docs you need to understand Bitcoin and start building Bitcoin-based applications.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found