The Monero daemon (monerod)

本文介绍了Monero项目的GitHub存储库,包括核心组件如MoneroWalletCLI(C++编写)和GUI工具,以及如何在Linux(如Ubuntu22.04)上通过Git克隆、子模块初始化、编译和安装Monero守护进程(monerod),并指导如何使用WalletRPC进行钱包管理。
摘要由CSDN通过智能技术生成

许多不同的存储库都托管在门罗币Monero项目GitHub
• Monero: the core of Monero network which includes the Monero Wallet CLI, written in C++ language
• Monero-site: source code for the https://getmonero.org website
• Monero-GUI: Graphical User Interface for Monero, built with Qt library
• kastelo: the community hardware wallet
• kovri: The Kovri anonymizing router

这里使用Monero
门罗币守护进程(The Monero daemon, monerod)可以通过RPC访问的关键活动,如检查余额或发送资金。Monero钱包RPC(货币钱包RPC)允许您通过JSON呼叫管理所有钱包功能。
WalletRPC及WalletCLI使用教程可参考:【Monero】Wallet RPC | Wallet CLI | 门罗币命令行查询余额、种子、地址等命令方法教程

linux ubuntu22.04

sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make
sudo mv lib/libg* /usr/lib/
sudo apt update && sudo apt install build-essential cmake pkg-config libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libexpat1-dev libpgm-dev qttools5-dev-tools libhidapi-dev libusb-1.0-0-dev libprotobuf-dev protobuf-compiler libudev-dev libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev libboost-locale-dev libboost-program-options-dev libboost-regex-dev libboost-serialization-dev libboost-system-dev libboost-thread-dev python3 ccache doxygen graphviz
git clone --recursive https://github.com/monero-project/monero
cd monero && git submodule init && git submodule update
cd monero
git checkout release-v0.18
git submodule sync && git submodule update
make

生成的可执行文件可以在以下位置找到build/release/bin
添加PATH=" P A T H : PATH: PATH:HOME/monero/build/release/bin"​.profile

//测试请到build/release后面文件夹运行,如hash测试到…monero/build/release/tests/hash运行ctest
//并不是monero/tests/hash!

//中途可能需要install,如:

sudo apt-get install build-essential
apt-get install cmake
apt-get install git

根据提示安装即可

完成后在可执行文件夹,bin文件运行

./monerod

在这里插入图片描述

完毕
在这里插入图片描述

  • 4
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
I'm sorry to hear that you're having trouble connecting to the Docker daemon. There could be a few reasons why you're experiencing this issue. Here are a few possible solutions you can try: 1. Make sure the Docker daemon is running: Check if the Docker daemon is running on your machine. You can do this by running the following command in your terminal: ``` sudo systemctl status docker ``` If it's not running, start it using the command: `sudo systemctl start docker`. 2. Check Docker daemon permissions: Ensure that your user has the necessary permissions to access the Docker daemon. You might need to add your user to the `docker` group by running: ``` sudo usermod -aG docker your_user ``` Remember to replace `your_user` with your actual username. 3. Verify Docker installation: Double-check that Docker is installed correctly on your system. You can do this by running the following command: ``` docker version ``` If it's not installed, you may need to reinstall Docker following the official installation instructions for your operating system. 4. Check Docker configuration: Check your Docker configuration file (typically located at `/etc/docker/daemon.json`) for any incorrect settings that may be causing the issue. Make sure the file is properly formatted and that there are no syntax errors. 5. Restart Docker service: Try restarting the Docker service by running the following command: ``` sudo systemctl restart docker ``` 6. Restart your machine: Sometimes, restarting your machine can resolve issues with connecting to the Docker daemon. These are just a few potential solutions to help troubleshoot the problem. If none of these steps work, please provide more details on the specific error message or any other relevant information, and I'll do my best to assist you further.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值