GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rsnano-node/rsnano-node: RsNano is a Rust port of nano-node

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

15,798 Commits
15,798 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cli
cli
 
 
daemon
daemon
 
 
doc
doc
 
 
ledger
ledger
 
 
messages
messages
 
 
network
network
 
 
network_protocol
network_protocol
 
 
node
node
 
 
nullables
nullables
 
 
rpc
rpc
 
 
store_lmdb
store_lmdb
 
 
tools
tools
 
 
types
types
 
 
utils
utils
 
 
wallet
wallet
 
 
websocket
websocket
 
 
work
work
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 

Repository files navigation

Logo

GitHub Release GitHub last commit GitHub commit activity Unit Tests codecov Discord

What is RsNano?

RsNano is a full Nano/Banano node written in Rust.

What is Nano?

Nano is a digital payment protocol designed to be accessible and lightweight, with a focus on removing inefficiencies present in other cryptocurrencies. With ultrafast transactions and zero fees on a secure, green and decentralized network, this makes Nano ideal for everyday transactions.

Links & Resources

  • RsNano Website
  • Discord Chat
  • Twitter

Installation

Option 1: Run the official docker image

docker run -p 7075:7075 -v ~/Nano:/home/nanocurrency/Nano rsnano/rsnano:latest node run

Option 2: Build your own docker image

docker build -f tools/scripts/docker/nano/Dockerfile -t rsnano https://github.com/simpago/rsnano-node.git#develop
docker run -p 7075:7075 -v ~/Nano:/home/nanocurrency/Nano rsnano:latest node run

Option 3: Build from source

Currently you can only build RsNano on Linux and on Mac.

To just build and run the rsnano_node:

git clone https://github.com/simpago/rsnano-node.git
cd rsnano-node
cargo run --release --bin rsnano -- node run

To install and run the rsnano_node executable:

git clone https://github.com/simpago/rsnano-node.git
cd rsnano-node
cargo install --path cli
rsnano node run

Running it with a GUI

You can even run an RsNano node with a GUI that looks like this: RsNano Insight App

Run this command:

cargo run --release --bin rsnano-insight

Running a Banano node

RsNano can be compiled to be a Banano node too! Use the feature "banano" like this:

cargo run --release --features banano --bin rsban -- node run

Or run it with the graphical interface:

cargo run --release --features banano --bin rsban-insight

Or run it with the official docker image:

docker run -p 7071:7071 -v ~/Banano:/home/bananocurrency/Banano rsnano/rsban:latest node run

Or create a docker image:

docker build -f tools/scripts/docker/banano/Dockerfile -t rsban https://github.com/simpago/rsnano-node.git#develop
docker run -p 7071:7071 -v ~/Banano:/home/bananocurrency/Banano rsban:latest node run

Contact us

We want to hear about any trouble, success, delight, or pain you experience when using RsNano. Let us know by filing an issue, or joining us on Discord.

The codebase

Have a look at the AI generated documentation of the codebase.

The Rust code is structured according to A-frame architecture and is built with nullable infrastructure. This design and testing approach is extensively documented on James Shore's website

Watch James Shore's presentation of nullables on YouTube: Testing Without Mocks - James Shore | Craft Conference 2024

The following diagram shows how the crates are organized. The crates will be split up more when the codebase grows.

flowchart TD
    main --> daemon
    daemon --> node
    daemon --> rpc_server
    daemon --> websocket_server
    rpc_server --> node
    rpc_server --> rpc_messages
    rpc_client --> rpc_messages
    rpc_messages --> types
    node --> ledger
    node --> network_protocol
    node --> wallet
    network_protocol --> messages
    network_protocol --> network
    websocket_server --> websocket_messages
    websocket_server --> node
    websocket_messages --> types
    websocket_client --> websocket_messages
    messages --> work
    messages --> utils
    network --> utils
    ledger --> store_lmdb
    ledger --> work
    ledger --> utils
    store_lmdb --> types
    work --> types
    work --> utils
    wallet --> ledger

    subgraph rpc
        rpc_messages
        rpc_server
        rpc_client
    end

    subgraph websocket
        websocket_messages
        websocket_server
        websocket_client
    end
Loading
  • main: The node executable.
  • daemon: Starts the node and optionally the RPC server.
  • node:The node implementation.
  • rpc_server: Implemenation of the RPC server.
  • websocket_server: Implemenation of the websocket server.
  • wallet: Wallet implementation. It manages multiple wallets which can each have multiple accounts.
  • ledger: Ledger implementation. It is responsible for the consinstency of the data stores.
  • store_lmdb: LMDB implementation of the data stores.
  • messages: Message types that nodes use for communication.
  • network: Manage outbound/inbound TCP channels to/from other nodes.
  • work: Proof of work generation via CPU or GPU
  • types: Contains the basic types like BlockHash, Account, KeyPair,...
  • utils: Contains utilities like stats
  • nullables: Nullable wrappers for infrastructure libraries.

About

RsNano is a Rust port of nano-node

rsnano.com

Topics

nano-cryptocurrencynano-currencynanocurrency

Resources

Readme
BSD-3-Clause license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

109 stars

Watchers

7 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.