mirror of
https://github.com/jwinterm/monero-site.git
synced 2026-12-03 12:24:16 +01:00
Knowledge-Base: update bitmonerod to monerod
This commit is contained in:
@@ -11,11 +11,11 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
|
||||
|
||||
## Introduction
|
||||
|
||||
This is a list of the bitmonerod daemon RPC calls, their inputs and outputs, and examples of each.
|
||||
This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each.
|
||||
|
||||
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
|
||||
|
||||
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the bitmonerod implementation. **1 XMR = 1e12 atomic units.**
|
||||
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.**
|
||||
|
||||
### [JSON RPC Methods](#json-rpc-methods):
|
||||
|
||||
@@ -47,7 +47,7 @@ Note: "atomic units" refer to the smallest fraction of 1 XMR according to the bi
|
||||
|
||||
## JSON RPC Methods
|
||||
|
||||
The majority of bitmonerod RPC calls use the daemon's `json_rpc` interface to request various bits of information. These methods all follow a similar structure, for example:
|
||||
The majority of monerod RPC calls use the daemon's `json_rpc` interface to request various bits of information. These methods all follow a similar structure, for example:
|
||||
|
||||
IP=127.0.0.1
|
||||
PORT=18081
|
||||
|
||||
@@ -24,7 +24,7 @@ All monero-wallet-cli methods use the same JSON RPC interface. For example:
|
||||
-d '{"jsonrpc":"2.0","id":"0","method":"'$METHOD'","params":'"$PARAMS"'}' \
|
||||
-H 'Content-Type: application/json'
|
||||
|
||||
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the bitmonerod implementation. **1 XMR = 1e12 atomic units.**
|
||||
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.**
|
||||
|
||||
### Index of JSON RPC Methods:
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
|
||||

|
||||

|
||||
|
||||
- Extract the files with the archive manager (same as Winzip on Windows). Note the path where the files "bitmonerod" and "monero-wallet-cli" are
|
||||
- Extract the files with the archive manager (same as Winzip on Windows). Note the path where the files "monerod" and "monero-wallet-cli" are
|
||||
|
||||

|
||||

|
||||
@@ -32,14 +32,14 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
|
||||
|
||||

|
||||
|
||||
- Load bitmonerod by typing in your terminal : "*./bitmonerod*". Wait for the synchronisation with the network (bitmonerod is updating the blockchain you have downloaded in step 4 or is downloading it from scratch). This can take a lot of time the first time, so be patient
|
||||
- Load monerod by typing in your terminal : "*./monerod*". Wait for the synchronisation with the network (monerod is updating the blockchain you have downloaded in step 4 or is downloading it from scratch). This can take a lot of time the first time, so be patient
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- Once bitmonerod is synchronised with the network, open a new terminal, change the directory (cf. step 5), and launch monero-wallet-cli by typing "*./monero-wallet-cli*"
|
||||
- Once monerod is synchronised with the network, open a new terminal, change the directory (cf. step 5), and launch monero-wallet-cli by typing "*./monero-wallet-cli*"
|
||||
|
||||

|
||||
|
||||
@@ -66,8 +66,8 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
|
||||

|
||||

|
||||
|
||||
- To exit bitmonerod or monero-wallet-cli just type "*exit*" in the associated terminal
|
||||
- To exit monerod or monero-wallet-cli just type "*exit*" in the associated terminal
|
||||
|
||||
Now to access the portfolio you have just created you will have to launch bitmonerod, wait for it to be synchronised with the network, launch monero-wallet-cli, and type the name of your portfolio and your password.
|
||||
Now to access the portfolio you have just created you will have to launch monerod, wait for it to be synchronised with the network, launch monero-wallet-cli, and type the name of your portfolio and your password.
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
|
||||
|
||||
`monero-wallet-cli` is the wallet software that ships with the Monero tree. It is a console program,
|
||||
and manages an account. While a bitcoin wallet manages both an account and the blockchain,
|
||||
Monero separates these: `bitmonerod` handles the blockchain, and `monero-wallet-cli` handles the account.
|
||||
Monero separates these: `monerod` handles the blockchain, and `monero-wallet-cli` handles the account.
|
||||
|
||||
This guide will show how to perform various operations from the `monero-wallet-cli` UI. The guide assumes you are using the most recent version of the Monero Core software *(currently 0.9.0.0 Hydrogen Helix)*, and have already created an account according to the other guides.
|
||||
|
||||
@@ -21,7 +21,7 @@ This guide will show how to perform various operations from the `monero-wallet-c
|
||||
|
||||
Since the blockchain handling and the wallet are separate programs, many uses of `monero-wallet-cli`
|
||||
need to work with the daemon. This includes looking for incoming transactions to your address.
|
||||
Once you are running both `monero-wallet-cli` and `bitmonerod`, enter `balance`.
|
||||
Once you are running both `monero-wallet-cli` and `monerod`, enter `balance`.
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Note : In order to create a viewonly wallet you need first to compile the last s
|
||||
|
||||
- Launch a new instance of monero-wallet-cli by typing "`./monero-wallet-cli --generate-from-view-key yourAddress:yourViewKey:nameOfTheViewOnlyWallet`" where *yourViewKey* is the view key you got from step 1 and *yourAddress* the associated address. The last part of the command is the name you want to give to you view only portfolio.
|
||||
|
||||
- Follow the instructions from the terminal. To see the balance of your portfolio type "*refresh*" (bitmonerod need to be synchronised with the network first).
|
||||
- Follow the instructions from the terminal. To see the balance of your portfolio type "*refresh*" (monerod need to be synchronised with the network first).
|
||||
|
||||
- You now have a view only wallet.
|
||||
|
||||
|
||||
@@ -8,16 +8,16 @@ kick-class: "purple-kicks"
|
||||
icon: "icon_userguides"
|
||||
attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->"
|
||||
---
|
||||
# bitmonerod
|
||||
# monerod
|
||||
|
||||
`bitmonerod` is the daemon software that ships with the Monero tree. It is a console program, and manages the blockchain. While a bitcoin wallet manages both an account and the blockchain, Monero separates these: `bitmonerod` handles the blockchain, and `monero-wallet-cli` handles the account.
|
||||
`monerod` is the daemon software that ships with the Monero tree. It is a console program, and manages the blockchain. While a bitcoin wallet manages both an account and the blockchain, Monero separates these: `monerod` handles the blockchain, and `monero-wallet-cli` handles the account.
|
||||
|
||||
This guide assumes you have already set up your VPS account and are using SSH to tunnel into the server console.
|
||||
|
||||
## Linux, 64-bit (Ubuntu 14.04)
|
||||
|
||||
### Make sure that port 18080 is open
|
||||
`bitmonerod` uses this port to communicate with other nodes on the Monero network.
|
||||
`monerod` uses this port to communicate with other nodes on the Monero network.
|
||||
|
||||
Example if using `ufw`: `sudo ufw allow 18080`
|
||||
Example if using `iptables`: `sudo iptables -A INPUT -p tcp --dport 18080 -j ACCEPT`
|
||||
@@ -34,19 +34,19 @@ Example if using `iptables`: `sudo iptables -A INPUT -p tcp --dport 18080 -j ACC
|
||||
### Launch the daemon
|
||||
|
||||
cd bitmonero
|
||||
./bitmonerod
|
||||
./monerod
|
||||
|
||||
### Options:
|
||||
|
||||
Show list of all options and settings:
|
||||
|
||||
./bitmonerod --help
|
||||
./monerod --help
|
||||
|
||||
Launch the daemon as a background process:
|
||||
|
||||
./bitmonerod --detach
|
||||
./monerod --detach
|
||||
|
||||
Monitor the output of `bitmonerod` if running as daemon:
|
||||
Monitor the output of `monerod` if running as daemon:
|
||||
|
||||
tail -f ~/.bitmonero/bitmonero.log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user