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.
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 ...
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-...
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 ...
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 ...
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 ...
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'
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 ...
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 ...
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
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 ...
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 ...
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 ...
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.
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 ...
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+...
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 ...
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
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 ...
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://...
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:...
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.
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).
...
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 ...
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 ...
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 ...
2
votes
Throttling/Adjusting Bandwidth in Conjunction with Bitmonerod
The rate is measured is kiloBytes per second.
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 ...
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 ...
2
votes
Who gets monero transaction fees?
Miners get those, together with the block reward. Just running a node is not rewarded.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
monerod-commands × 64monerod × 39
monero-wallet-cli × 12
rpc × 7
daemon × 5
synchronization × 5
monero-wallet-rpc × 5
mining × 4
blockchain × 4
full-node × 3
transaction-fees × 3
monero-wallet-gui × 2
cpu-mining × 2
linux × 2
tor × 2
ubuntu × 2
txpool × 2
blockchain-import × 2
transaction-key × 2
transaction-data × 1
mnemonic-seed × 1
mymonero × 1
viewkey × 1
hard-fork × 1
development × 1