Skip to main content
16 votes
Accepted

How do I gracefully stop the monerod daemon process?

Run monerod exit. You can also just kill the process but you might lose the last batch of blocks that way.
hyc's user avatar
  • 4,233
9 votes
Accepted

How to autosave blockchain?

Run bitmonerod with the option "--db-sync-mode safe" and it will persist every change immediately. Then if your system crashes or restarts suddenly, there will be no data lost and bitmonerod will pick ...
hyc's user avatar
  • 4,233
9 votes
Accepted

How to enable pruning in the command line of the monero blockchain in version v0.14.1?

Quoting relevant part of the commit message: There are three ways to prune a blockchain: run monerod with --prune-blockchain run "prune_blockchain" in the monerod console run the monero-...
jtgrassie's user avatar
  • 19.2k
8 votes
Accepted

Saving the blockchain with monerod

Saving isn't really needed now. All it does is call mdb_env_sync, which will flush the filesystem, so the OS really writes things on the disk. Exiting bitmonerod normally will also call this, so using ...
user36303's user avatar
  • 34.9k
8 votes

How do I start using Monero with the command line tools?

When you’re on Linux or macOS, I usually put the Monero software in the /opt directory. That’s where “optional” software typically goes outside of the OS packaging system. I also try to plan ahead and ...
dpzz's user avatar
  • 4,539
6 votes

How do I start using Monero with the command line tools?

For Linux and Mac OS X, browse to the folder you extracted the Monero binaries to. Subsequently, open the terminal and type ./monero-wallet-cli to start the wallet or ./monerod to start the daemon. If ...
dEBRUYNE's user avatar
  • 15.2k
6 votes

For the CLI wallet, how can I teach myself all that it can do?

Utilise the "flag" --help to see additional options regarding the software. i.e './monerod --help'
Lurker's user avatar
  • 473
5 votes

How can I see my hash rate?

The log file is ~/.bitmonero/bitmonero.log. On Windows, it is somewhere else which someone who knows will edit here soon. The status command reports your hash rate. If you're running a detached ...
user36303's user avatar
  • 34.9k
5 votes
Accepted

Throttling/Adjusting Bandwidth in Conjunction with Bitmonerod

All of these are measured in kB (1024 bytes). See src/p2p/net_node.inl, in set_rate_up_limit. The defaults are 2048 kB/s upload, and 8192 kB/s download. If those are near or above your connection's ...
user36303's user avatar
  • 34.9k
5 votes
Accepted

For the CLI wallet, how can I teach myself all that it can do?

You just have to type help BEFORE running the software, like ./monerod --help
Moroccan Engineer's user avatar
5 votes
Accepted

As of 0.10.1.0, how do you use monero-wallet-rpc?

If you previously ran simplewallet in CLI mode (or 0.10's monero-wallet-cli in RPC mode) then you would simply transition to using monero-wallet-rpc with the same flags. As always, running the binary ...
fluffyponyza's user avatar
  • 5,089
4 votes
Accepted

If I wanted to run a Monero node would I be able to limit the number of inbound connections?

monerod currently can only be set to limit outgoing connections with the parameter --out-peers where the default is 8. So if you setup your node to be reachable for the public, you can't limit ...
janowitz's user avatar
  • 2,681
4 votes

How do I gracefully stop the monerod daemon process?

When you've started monerod with the --rpc-bind-ip option (and --confirm-external-bind), you should also reference that when sending commands, such as exit (or status). For example, the following ...
dpzz's user avatar
  • 4,539
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.
hyc's user avatar
  • 4,233
4 votes
Accepted

Purpose of rescan_spent command

Sometimes, the wallet's idea of what outputs are spent and what outputs are not get out of sync with the blockchain. This can happen if you exit the wallet without saving after sending a tx, or if it ...
user36303's user avatar
  • 34.9k
4 votes

How can I check if my node allows incoming connections?

You can type the command status in monerod. This will show something like the following, in green: Height: 1226605/1226605 (100.0%) on mainnet, not mining, net hash 51.39 MH/s, v4, up to date, 8+...
sgp's user avatar
  • 8,806
4 votes

Who gets monero transaction fees?

Transaction fees are paid to the particular miner who includes the transaction in a block. The more transaction you fit in a block, the more fees you get. However, once you pass the median of the last ...
user36303's user avatar
  • 34.9k
3 votes
Accepted

How can I check if my node allows incoming connections?

you can check with command print_cn in monero daemon. If it shows connections with prefix IN (for Incoming), you are running succesfully a node which handles incomming conections
medusa's user avatar
  • 1,486
3 votes

Running monero service on WIN10 with custom --data-dir

You can do this on Windows using NTSF symlinks: Open an elevated CMD window. Then: mklink /D "C:\ProgramData\bitmonero" "x:\mydir\monerodir" Then you don't need to specify any other command line ...
QuickBASIC's user avatar
3 votes
Accepted

Why isn't safe sync mode enabled by default?

Mostly because it's a lot slower, which could cause users to abandon Monero out of frustration if they can't sync in a few days. There are recent improvements to a "sweet spot", however. See https://...
user36303's user avatar
  • 34.9k
3 votes
Accepted

What is the best way to pop the top block from the monero blockchain and fix a bad "unknown top block" error in the sync data process?

While getting a bad block on top should not be possible in the first place, it could happen in case of crashes, etc, on some systems. Popping one or more blocks can be done with blockchain_import, eg:...
user36303's user avatar
  • 34.9k
3 votes

How do I gracefully stop the monerod daemon process?

As for Unix signals: kill -TERM Seems to also send the correct shutdown for a clean exit. Tested on monerod 0.10.3.1 on macOS.
Jeffrey Lebowski's user avatar
3 votes
Accepted

Monero v0.11.1.0 CLI Permission denied

Permission denied is typically due to... bad permissions, unsurprisingly. You need at least execute permission (for owner if you own the file, for group if you're on its group, others otherwise). ...
user36303's user avatar
  • 34.9k
3 votes
Accepted

Setting up monero blockchain explorer on unbuntu 16.04

The error "/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libgtest.a(gtest-all.cc.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with ...
glv's user avatar
  • 3,334
3 votes

Suggestions on how to consistently get more outputs?

Take a look at a response to issue #2351: You can send 50 monero 20 times in one tx to yourself (make sure you have set merge-destinations to 0 first). This will break up the 1000 output. Also ...
Mogens TrasherDK's user avatar
3 votes

Why is the content of tx different between monero-utils-deserialize and print_block?

A block is not a transaction. Obviously, if you print different things, you will get different results. This should not come as a surprise. A block may contain more than one transaction (in addition ...
user36303's user avatar
  • 34.9k
2 votes

Throttling/Adjusting Bandwidth in Conjunction with Bitmonerod

The rate is measured is kiloBytes per second.
dEBRUYNE's user avatar
  • 15.2k
2 votes

For the CLI wallet, how can I teach myself all that it can do?

Using monero is teaching me....find a use case for it or some reason to justify spending the fee, and do a little experimenting with it. Having used monero a handful of times, i've learned a bit about ...
gdoober's user avatar
  • 685
2 votes
Accepted

Question on understanding monerod command Flush_txpool and the bug that resulted

The flush_txpool command can be used to flush an individual transaction, list of transactions (by RPC command) or the entire transaction pool. A use-case like you describe (flushing a transaction ...
254123179's user avatar
  • 4,566
2 votes

Who gets monero transaction fees?

Miners get those, together with the block reward. Just running a node is not rewarded.
JollyMort's user avatar
  • 19.9k

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