Hot answers tagged

19 votes
Accepted

My blockchain is stuck, how do I "unstuck" it?

Note that, if you are stuck on block 1288639 (or block 1400001) or a few blocks later, you are using a wrong, outdated, version and you should upgrade to the latest version, which can be found here. ...
user avatar
  • 14.8k
9 votes
Accepted

How do I figure out what nodes I'm connected to and who is sending what to who?

It's a two way connection, the IN refers to connections initiated by the peer, and OUT refers to connections initiated by your node, but communication is duplex. In that status command, the X+Y part ...
user avatar
  • 34.6k
8 votes
Accepted

Windows or Linux for Monero

As someone who runs both Windows and Linux, I'd say that there is no bad choice but there certainly are better ones for specific use cases. Casual use: Windows - no need to dual boot or learn a new ...
user avatar
7 votes
Accepted

Does having a separated daemon add security risks to Monero?

The disconnected architecture that Monero employs allows you to host the daemon and wallet separately. My own opinion is that this is an improvement over the bundled design of Bitcoin-QT. If you ...
user avatar
  • 2,471
7 votes

Daemon shuts down on startup ("MDB_BAD_TXN: Transaction must abort, has a child, or is invalid" error)

2017-11-27 21:26:00.492 3056 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:72 Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid This ...
user avatar
  • 14.8k
6 votes
Accepted

How can I enable smart mining in my daemon?

There are two new optional parameters for the start_mining command. Before: start_mining [address] [threads] Now: start_mining [address] [threads] [do_smart_mining] [ignore_battery] If you pass ...
user avatar
  • 2,471
6 votes
Accepted

Difference between --rpc-bind-ip 0.0.0.0, or loopback, or actual IP

This is a basic networking question, not specific to Monero. 0.0.0.0 means "any address" - it will bind to every network interface on the machine. So it will listen to requests from anywhere. Using ...
user avatar
  • 4,203
6 votes

Is it normal that the daemon log in the GUI shows 290 days AHEAD?

Yes. That is normal. Some of the nodes you connect to will be running old versions of Monero with outdated blokchains. Your daemon should eventually block some of these automatically. As long as it ...
user avatar
  • 8,704
6 votes

Windows or Linux for Monero

That's a pretty broad question... If you just want to run a full node, I would recommend some (small) VPS on Linux, since even 20GB of storage space will be enough and you will be able to run it with ...
user avatar
  • 2,552
6 votes

How To Restart New Blockchain Sync?

Unfortunately, this looks like a corrupt blockchain database. With 0.11.0.0, monerod has a --db-salvage option which might be able to recover your database. Exit monerod, and run it again with that ...
user avatar
  • 34.6k
6 votes
Accepted

How to get the entire block blob for submission after mining nonce

The getbklocktemplate RPC returns a blockhashing_blob and a blocktemplate_blob. You can either try to find a nonce (4 bytes) by mining using the blockhashing_blob, or you can try to find two nonces (...
user avatar
  • 3,304
6 votes
Accepted

How to get network hashrate from monero daemon via RPC?

You can call the getinfo RPC, which contains the two values you want: difficulty (the threshold a hash must meet to be a valid block) and target (the number of seconds the monero network attempts to ...
user avatar
  • 34.6k
6 votes
Accepted

How do I properly subscribe to ZMQ events?

ZeroMQ uses different types of sockets for request/response messages and publisher/subscriber messages. The one you are trying to use, enabled by default on port 18082, is of type RESP, and can only ...
user avatar
5 votes
Accepted

How/when does the --db-salvage flag get used? What's it do?

If your daemon was interrupted by a power failure or OS crash, and it was still trying to catch up to the network (as opposed to already being synchronized), there's a chance the DB got corrupted. If ...
user avatar
  • 4,203
5 votes
Accepted

How can I permanently ban a peer?

There is no command to permanently ban, but you can set a lengthy ban time using the daemon command ban <IP> [<seconds>], or using the RPC method set_bans. So if you set the seconds ...
user avatar
  • 17.3k
4 votes

How do I figure out what nodes I'm connected to and who is sending what to who?

Pretty sure that's how it works. You can also use the command "status" and you'll see at the end of the line a number like "8+1" this shows the number of nodes you are connected to, and after the + ...
user avatar
4 votes
Accepted

Is it normal for the disk activity to be so high while running monerod?

If the blockchain is behind and synchronizing, then definitely. When it is fully synchronized, the usage should drop to 0-10%, even on a HDD.
user avatar
  • 8,704
4 votes
Accepted

Peers often report unknown top blocks. How can I find more reliable peers?

Having a partially synced chain does not mean unreliability. It might be that these nodes are syncing the chain, as you presumably did at some point too. Banning these nodes would mean noone can start ...
user avatar
  • 34.6k
4 votes

Is there an example in another language or even curl on the binary daemon calls?

The difference between JSON RPCs and binary RPCs is the format of the data in the HTTP POST request and in the server's answer. JSON RPCs use strings representing JSON objects. Binary RPCs use a "...
user avatar
  • 3,304
4 votes
Accepted

Problems with daemon syncing past block 1341326

Sounds like you're on an old release. The current version (v0.10.3.1) doesn't bounce around like that on reporting sync state any more.
user avatar
  • 4,203
4 votes
Accepted

Monerujo deamon adress

I just downloaded the Monerujo wallet and trying to figure it out. Is there an instructions page? Yes. Read the README, FAQ. As this app is still in APK form and not released to the app store, use ...
user avatar
  • 4,546
4 votes
Accepted

Are reserve_size bytes really related to mining the final nonce?

The extra reserved bytes are taken into consideration to compute the block hash. There are 4 bytes reserved for a nonce in the block header (the nonce that appears in the hashing blob). In addition, ...
user avatar
  • 3,304
4 votes
Accepted

Can't create transaction: failed to get random outputs to mix: failed to get random outs

First, you're using too old a version, and won't be able to sync past where you are now. Next, the reason for this message is that you're sending a lot of outputs, and nodes exposed to the public ...
user avatar
  • 34.6k
4 votes
Accepted

Can you input the blockchain through remote web server?

You can use monero-blockchain-import to import a raw blockchain file, wherever it comes from, including from your own web server. However, monero-blockchain-import does not support reading from the ...
user avatar
  • 34.6k
4 votes
Accepted

What are the differences between incoming/outgoing connections?

Your understanding is correct: outgoing connections are initiated by you, incoming connections are initiated by the peer. You can certainly have a peer syncing from you via an outgoing connection ...
user avatar
  • 34.6k
4 votes
Accepted

Is there a way to know how many people are using my public remote node?

The only metric that the daemon is giving me is the number of incoming/outgoing connections, without differentiating between wallet connections and P2P connections. That's not correct, the daemon ...
user avatar
  • 34.6k
4 votes
Accepted

Which is the more reliable coin after April 2018 network upgrade?

An oversimplified explanation is as follows: Bitmain, an ASIC manufacturer, created a Cryptonight ASIC. This enabled the company to "control" a large portion of the Monero hash rate and consequently ...
user avatar
4 votes
Accepted

What is the difference between monerod --detach and monerod --non-interactive?

Only --detach will run the daemon in the background. --non-interactive will run in the foreground but the daemon will not require a Terminal for input. Quoting from monerodocs monerod reference: --...
user avatar
  • 151
4 votes
Accepted

can a transaction never enter txpool but be included in blockchain

Yes, you can include a tx in a block without it being in the txpool. If you mine the block and send it to other peers, they will request the transaction since they don't have it in their txpool and ...
user avatar
  • 34.6k

Only top scored, non community-wiki answers of a minimum length are eligible