Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # _ _ ______ _ __ ____ _____ _ __ _____ _ _ _ _
- # | | | ||___ / | | / / / ___|_ _| | / /| _ || \ | (_) |
- # | | | | / / _ __ _ __ | |/ / / /___ | | | |/ / \ V / | \| |_| |_
- # | | | | / / | '__| '_ \| \ | ___ \ | | | \ / _ \ | . ` | | __|
- # |_| |_|./ /__| | | | | | |\ \| \_/ |_| |_| |\ \| |_| || |\ | | |_
- # (_) (_)\_____/_| |_| |_\_| \_/\_____/\___/\_| \_/\_____/\_| \_/_|\__|
- #########################################################################################################################
- "What are nodes? What do they do?"
- #########################################################################################################################
- A node is any device hosting a full or pruned copy of the blockchain
- There are many configurations, but they are all running the program "monerod"
- It can be found in any of the binary releases on getmonero.org/downloads
- and the source code can be found at https://github.com/monero-project/monero.git
- "What kind of configurations, though? I'm not sure what you mean."
- monerod by itself does 2 things, Talks to other nodes on the network (p2p) and talks to wallet clients (rpc).
- When it talks to the other nodes it uploads, downloads and validates new blocks of transactions,
- when it talks to wallet clients it shows them where funds have moved since the wallet last checked in, so the wallet knows how much it has to work with. It also handles new transactions from those connected wallets.
- Out of the box, it is already an incredibly secure and private system, but that privacy and security can be even further augmented based on how you run your node.
- A few examples
- >RPC over tor or i2p, to further obfuscate sender and recipient.
- >p2p forwarded, RPC not forwarded (contribute to network but can only spend at home)
- >p2p and RPC forwarded, with a login necessary for RPC (can easily allow only select individuals to use RPC)
- >p2p and RPC forwarded, with a low bandwidth cap and a low cap on in/out peers (for a node with older or weaker hardware)
- etcetera, etcetera.
- READ THESE GUIDES, SAVE THE PAGES LOCALLY.
- https://monerodocs.org/interacting/monero-config-file/
- https://monerodocs.org/interacting/monerod-reference/
- https://www.getmonero.org/resources/user-guides/node-i2p-zero.html
- https://monerodocs.org/running-node/open-node-tor-onion/
- "How large is the blockchain?"
- Last check at block height 2796018 (Jan 9, 2023), 147.2GB
- #############################################################################################################################################################
- "Okay so I figured out the wallet and the node, my node is fully synced, how can I connect to my node with other devices, let other people use my node or support the network by allowing other nodes to talk to mine?"
- ##############################################################################################################################################################
- To do this you'll need to know the IP of your node on your local network, it will be 192.168.something.something. To find it, open a terminal and run
- >linux
- ip a
- >windows
- ipconfig
- and look for the one starting with 192.168
- (you can also enter 192.186.1.1 into your URL bar on any browser and *should* end up at your routers dashboard, where you *should* be able to check this as well)
- then you can take that IP and run monerod like this
- monerod --rpc-bind-ip 192.168.1.xxx --rpc-bind-port (port number) --confirm-external-bind
- If you don't specify an IP it will assume 127.0.0.1 (localhost).
- If you don't specify or don't bind a port it will assume port 18081 for RPC and 18080 for p2p, you can use different ports if you prefer.
- Also, you can use "--p2p-bind-ip" and "--p2p-bind-port" using the same IP and port 18080 (or whichever port outside of the range of "known" ports) to allow your node to speak to other nodes.
- Then you can connect to it while on your home network. How EXACTLY you connect to it will vary depending on what you are connecting with, for monero-wallet-cli, you need to add "--daemon-address (IP YOU BOUND THE NODE TO):(PORT YOU BOUND THE NODE TO)"
- To use it outside of your home network you will need to set up port forwarding rules.
- How you do that varies depending on your ISP and is mostly in your hands, but it's still quite simple, go to your routers dashboard (192.168.1.1) and poke around.
- You are simply forwarding all requests made from the outside internet to your routers IP on ports 18081 and 18080 (or whichever ports you specified to monerod) to your nodes local IP on the same ports
- When that is set up you simply specify your routers IP and the correct port to whatever wallet client you are connecting from, wherever you are connecting from in the world.
- ##############################################################################################################################################################
Add Comment
Please, Sign In to add comment