Skip to content

Commit 11d5755

Browse files
Fix stragglers
1 parent bfd9e7d commit 11d5755

14 files changed

+23
-212
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: redirected
33
sitemap: false
4-
permalink: /accepting-monero/overview
4+
permalink: /cold-storage/offline-transaction-signing/
55
redirect_to: https://docs.getmonero.org/cold-storage/offline-transaction-signing/
66
---

_redirects/cryptography/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
layout: redirected
33
sitemap: false
44
permalink: /cryptography/introduction
5-
redirect_to: https://docs.getmonero.org/cryptography/introduction/
5+
redirect_to: https://docs.getmonero.org/cryptography/
66
---

_redirects/cryptography/prng.html

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
---
2-
title: Monero Pseudorandom Number Generator
3-
parent: Cryptography in Monero
2+
layout: redirected
3+
sitemap: false
4+
permalink: /cryptography/prng
5+
redirect_to: https://docs.getmonero.org/cryptography/prng/
46
---
5-
6-
# Monero Pseudorandom Number Generator
7-
8-
Monero uses PRNG based on the Keccak hashing function.
9-
Basically, output of the previous hashing round is input for the next one.
10-
11-
The initial seed comes from entropy sources provided by operating system.
12-
On Linux and MacOS the seed comes from `/dev/urandom`.
13-
On Windows the WinAPI `CryptGenRandom` call is used for seeding.
14-
15-
There is no reseeding.
16-
17-
## Caveats
18-
19-
* This concerns the reference C++ implementation of Monero.
20-
Please note there are many alternative implementations of private key generation,
21-
including JavaScript, Python, Android/Java. These should be researched case by case for correctness.
22-
* In Monero source code you can also find libsodium based random bytes generator. It is part of the embedded library and apparently is not used in actual Monero code.
23-
24-
## Reference
25-
26-
* [Source code](https://github.com/monero-project/monero/blob/1a4298685aa9e694bc555ae69be59d14d3790465/src/crypto/random.c)
27-
* [StackExchange answer](https://monero.stackexchange.com/a/2076/3218)

_redirects/infrastructure/infrastructure.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
layout: redirected
33
sitemap: false
44
permalink: /infrastructure/infrastructure
5-
redirect_to: https://docs.getmonero.org/infrastructure/infrastructure/
5+
redirect_to: https://docs.getmonero.org
66
---
Lines changed: 4 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,6 @@
11
---
2-
title: monero-blockchain-export
3-
parent: Interacting with Monero
2+
layout: redirected
3+
sitemap: false
4+
permalink: /interacting/monero-blockchain-export
5+
redirect_to: https://docs.getmonero.org/interacting/monero-blockchain-export-reference/
46
---
5-
6-
# `monero-blockchain-export` - Reference
7-
8-
{: .note}
9-
Nowadays, there is little usage for raw blockchain export / import. In the past the p2p blockchain download was much slower. Back than blockchain.raw file was used to speed up the process of bootstrapping a node.
10-
11-
## Overview
12-
13-
The tool dumps local blockchain to raw format, known as the `blockchain.raw` file.
14-
15-
This could be useful if you want to process blockchain efficiently with your custom tools,
16-
as the raw format is probably easier to work with than Monero's custom lmdb database.
17-
18-
The tool works on your local copy of the blockchain. It does not require `monerod` running.
19-
20-
## Syntax
21-
22-
`./monero-blockchain-export [options]`
23-
24-
Example:
25-
26-
`./monero-blockchain-export --help`
27-
28-
## Running
29-
30-
Go to directory where you unpacked Monero.
31-
32-
`./monero-blockchain-export --stagenet --output-file=/tmp/blockchain.raw`
33-
34-
35-
## Options
36-
37-
### Help
38-
39-
| Option | Description
40-
|---------------------|--------------------------------------------------------------------------------------------------------------------------------------
41-
| `--help` | Enlist available options.
42-
43-
### Pick network
44-
45-
| Option | Description
46-
|---------------------|--------------------------------------------------------------------------------------------------------------------------------------
47-
| (missing) | By default `monero-blockchain-export` assumes [mainnet](/infrastructure/networks#mainnet).
48-
| `--stagenet` | Export [stagenet](/infrastructure/networks#stagenet) blockchain.
49-
| `--testnet` | Export [testnet](/infrastructure/networks#testnet) blockchain.
50-
51-
### Logging
52-
53-
Specifying the log file path is not supported.
54-
55-
| Option | Description
56-
|---------------------|--------------------------------------------------------------------------------------------------------------------------------------
57-
| `--log-level` | `0-4` with `0` being minimal logging and `4` being full tracing. Defaults to `0`. These are general presets and do not directly map to severity levels. For example, even with minimal `0`, you may see some most important `INFO` entries. Example: <br />`./monero-blockchain-export --log-level=1`
58-
59-
### Input
60-
61-
| Option | Description
62-
|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------
63-
| `--data-dir` | Full path to data directory. This is where the blockchain, log files, and p2p network memory are stored. For defaults and details see [data directory](/interacting/overview/#data-directory).
64-
| `--database`, `--db-type` | The default and only valid value is `lmdb`.
65-
66-
### Output
67-
68-
| Option | Description
69-
|---------------------|--------------------------------------------------------------------------------------------------------------------------------------
70-
| `--output-file` | Specify output file path. The default is `$DATA_DIR/export/blockchain.raw`. Example: <br />`./monero-blockchain-export --output-file=/tmp/blockchain.raw`
71-
| `--blocksdat` | Output in blocks.dat format.
72-
| `--block-stop` | Only export up to this block number. By default do the full export (value `0`).
73-
74-
## Reference
75-
76-
* [https://github.com/monero-project/monero/tree/master/src/blockchain_utilities](https://github.com/monero-project/monero/tree/master/src/blockchain_utilities)

_redirects/interacting/monero-blockchain-import.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
layout: redirected
33
sitemap: false
44
permalink: /interacting/monero-blockchain-import
5-
redirect_to: https://docs.getmonero.org/interacting/monero-blockchain-import/
5+
redirect_to: https://docs.getmonero.org/interacting/monero-blockchain-import-reference/
66
---
Lines changed: 4 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,6 @@
11
---
2-
title: Monero Configuration File
3-
parent: Interacting with Monero
2+
layout: redirected
3+
sitemap: false
4+
permalink: /interacting/monero-config-file
5+
redirect_to: https://docs.getmonero.org/interacting/monero-config-file/
46
---
5-
6-
# Monero Configuration File
7-
8-
## Applicability
9-
10-
By default Monero looks for `bitmonero.conf` in Monero [data directory](/interacting/overview#data-directory).
11-
12-
To use a specific config file add `--config-file` option:
13-
14-
`./monerod --config-file=/etc/monerod.conf`
15-
16-
The `--config-file` option is available for:
17-
18-
* `monerod`
19-
* `monero-wallet-cli`
20-
* `monero-wallet-rpc`
21-
* `monero-gen-trusted-multisig`
22-
23-
## Syntax
24-
25-
* `option-name=value`
26-
* `valueless-option-name=1` for options that don't expect value
27-
* `# comment`
28-
* whitespace is ignored
29-
30-
## Reference
31-
32-
All configuration options are the same as command line options for the binary.
33-
34-
* [monerod reference](/interacting/monerod)
35-
* [monero-wallet-cli reference](/interacting/monero-wallet-cli)
36-
* [monero-wallet-rpc reference](/interacting/monero-wallet-rpc)
37-
38-
Skip the `--` from `--option-name`.
39-
40-
Example:
41-
42-
`./monerod --log-level=4 --stagenet`
43-
44-
translates to:
45-
46-
log-level=4
47-
stagenet=1 # use value "1" to enable the value-less options like --stagenet
48-
49-
## Examples
50-
51-
### `monerod.conf`
52-
53-
This config is tailored for production server usage.
54-
55-
# /etc/monero/monerod.conf
56-
57-
# Data directory (blockchain db and indices)
58-
data-dir=/home/monero/.monero # Remember to create the monero user first
59-
60-
# Log file
61-
log-file=/var/log/monero/monerod.log
62-
max-log-file-size=0 # Prevent monerod from managing the log files; we want logrotate to take care of that
63-
64-
# P2P full node
65-
p2p-bind-ip=0.0.0.0 # Bind to all interfaces (the default)
66-
p2p-bind-port=18080 # Bind to default port
67-
68-
# RPC open node
69-
rpc-bind-ip=0.0.0.0 # Bind to all interfaces
70-
rpc-bind-port=18081 # Bind on default port
71-
confirm-external-bind=1 # Open node (confirm)
72-
restricted-rpc=1 # Prevent unsafe RPC calls
73-
no-igd=1 # Disable UPnP port mapping
74-
75-
# Slow but reliable db writes
76-
db-sync-mode=safe
77-
78-
# Emergency checkpoints set by MoneroPulse operators will be enforced to workaround potential consensus bugs
79-
# Check https://getmonero.dev/infrastructure/monero-pulse/ for explanation and trade-offs
80-
enforce-dns-checkpointing=1
81-
82-
out-peers=64 # This will enable much faster sync and tx awareness; the default 8 is suboptimal nowadays
83-
in-peers=1024 # The default is unlimited; we prefer to put a cap on this
84-
85-
limit-rate-up=1048576 # 1048576 kB/s == 1GB/s; a raise from default 2048 kB/s; contribute more to p2p network
86-
limit-rate-down=1048576 # 1048576 kB/s == 1GB/s; a raise from default 8192 kB/s; allow for faster initial sync
87-
88-
### `monero-wallet-cli.conf`
89-
90-
This config is tailored for desktop usage on [stagenet](/infrastructure/networks).
91-
92-
# $HOME/.bitmonero/stagenet/monero-wallet-cli.conf
93-
94-
# Pick network
95-
stagenet=1
96-
97-
# Connect to a remote full node
98-
daemon-address=monero-stagenet.exan.tech:38081
99-
untrusted-daemon=1
100-
101-
# Log file
102-
log-file=/tmp/monero-wallet-cli.log
103-
104-
# wallet-file=/home/YOUR-USER/.bitmonero/stagenet/wallets/MoneroExampleStagenetWallet

_redirects/interacting/monero-wallet-cli.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
layout: redirected
33
sitemap: false
44
permalink: /interacting/monero-wallet-cli
5-
redirect_to: https://docs.getmonero.org/interacting/monero-wallet-cli/
5+
redirect_to: https://docs.getmonero.org/interacting/monero-wallet-cli-reference/
66
---

_redirects/interacting/monero-wallet-gui.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
layout: redirected
33
sitemap: false
44
permalink: /interacting/monero-wallet-gui
5-
redirect_to: https://docs.getmonero.org/interacting/monero-wallet-gui/
5+
redirect_to: https://docs.getmonero.org/interacting/monero-wallet-gui-reference/
66
---

_redirects/interacting/monero-wallet-rpc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
layout: redirected
33
sitemap: false
44
permalink: /interacting/monero-wallet-rpc
5-
redirect_to: https://docs.getmonero.org/interacting/monero-wallet-rpc/
5+
redirect_to: https://docs.getmonero.org/interacting/monero-wallet-rpc-reference/
66
---

0 commit comments

Comments
 (0)