New answers tagged

2 votes

On signet of bitcoin core, why didn't the average time between blocks I mined accord with the time I set?

I spent some time figuring out what's going on in the miner script, and here's what I think I have understood so far: on a signet network difficulty adjustement is similar to what it is on mainnet, ...
user avatar
  • 487
0 votes

Why is there an addrlocal field in the output of the RPC call getPeerInfo, and how SPVs handle it?

Why is this output there? It is sent to the Bitcoin node by its peers in their version P2P messages. Is it used anywhere? Does it have a use case? Yes. Foremost, it is used in Bitcoin's P2P ...
user avatar
0 votes

How do I set up credentials for bcoin's JSON RPC interface?

See the configuration guide in the bcoin repo: https://github.com/bcoin-org/bcoin/blob/master/docs/configuration.md bcoin uses an API key for authentication, without username. Bcoin always runs with ...
user avatar
  • 4,676
0 votes
Accepted

Specification of Bitcoin RPC getbalances

If I don't use the rescan option, will the balance be incorrect? Definitely. Without rescanning, the wallet won't know about any transactions that affect your balance. Why is the balance off when I ...
user avatar
3 votes
Accepted

How do I maintain a continuously updated copy of a local mempool?

There are two methods to do this: ZMQ and Tracepoints. The zmqpubsequence can be used to notifications for all mempool events. See the PR and test for more information. It was designed specifically ...
user avatar
  • 62.2k
0 votes

Bitcoin-Qt command line control on Mac

Don't forget to add rpcallowip: open Bitcoin-Qt.app --args -server=1 -rpcuser=bitcoinrpc -rpcpassword=barfoo -rpcport=8332 -rpcallowip=0.0.0.0/0
user avatar

Top 50 recent answers are included