Bitcoin mining mit dem Raspberry Pi - Teil 1 - Developer-Blog

Let's Talk About Litecoin Nodes

I decided to write this up because there's a lot of confusion about what a "Node" is. I personally had to do a lot of research to figured this out myself. If anyone would like to suggest edits, I welcome them.
Due to the decentralized nature of Litecoin, sometimes key terms or definitions don’t get standardized. This is particularly problematic for newcomers who want to learn about Litecoin but get confused by variant vocabulary. For example, a Full Litecoin Node to one person may mean something slightly different to another. In light of this, below I suggest a list of terms to help the community use the same definitions and language in regards to Litecoin Nodes.

A Node

Before we talk about Litecoin Nodes, let’s talk about nodes in a broad sense. In a distributed network, the simplest way to define a node would be to say it is a point of intersection or connection with the network. It can act as both a redistribution point or a communication endpoint. This loose definition helps us better understand the different ways a Litecoin Node functions within the Litecoin Network. The following definitions should collectively be considered Litecoin Nodes.

A Full Node

A Full Litecoin Node is an integral component of the Litecoin Network because it validates the blockchain. It does this by downloading a copy of it. It is also capable of relaying transactions and recent blocks, but this isn’t required to be considered a Full Node. Now when you first open up a Full Node client like Litecoin Core, most people are sitting behind a firewall. In this case, your Full Node is limited in the number of connections it can connect to (around 8) and only looks for Super Nodes a.k.a. Listening Nodes. The reason for this is because your Full Node isn’t publicly connectable yet.

A Super Node a.k.a. Listening Node

In a distributed network, a Super Node functions as a highly connected redistribution point as well as a relay station. Therefore this would be an appropriate term to describe a publicly connectable Full Litecoin Node. This means many nodes can connect to it to obtain relayed transactional data and blockchain history. This may require more bandwidth and CPU than a Full Node because of all the extra work it’s doing. These Super Nodes are normally on 24/7 and are reliable focal points for other nodes to connect to. In order to activate this within a Litecoin client functioning as a node, you must make it publicly connectable. One way to do this is to bypass any potential firewalls and/or setup port forwarding. Some manuals suggest running litecoind(litecoin daemon) in the background instead of Litecoin-Qt, but this isn’t necessary.
u/aaron0791 Raspberry Pi guide can either be a super node or a full node depending on whether it is publicly connectable. You can run it with the litecoind as well in order to avoid setting up a GUI with the Raspberry Pi.

A Miner’s Node

Today, miners utilize mining programs separate from Litecoin Core to mine Litecoin blocks. Some miners choose to solo mine and therefore use their own Full Node to maintain a full copy of the blockchain via litecoind. Others choose to pool mine and work together to solve blocks. In this case, the admin of the pool maintains a Full Node while pool miners contribute their hashpower. A third method, though highly discouraged and harmful to the network, is to SPV mine by mining on top of blocks before fully validating them. These SPV pool miners typically trust another mining pool’s Full Node as a reference to build on top of. In light of this, a Miner’s Node can be further subcategorized as either a Solo Miner’s Full Node or a Pool Miner’s Full Node.

A Simplified Payment Verification(SPV) Client a.k.a. Thin Client a.k.a. Light Wallets

SPV clients like Loafwallet (the Litecoin App for smartphones) are not Full Nodes because they don’t download the blockchain. SPV clients do this by ensuring your transactions are put in a block and then confirm that other blocks are being added to it. Therefore in the loosest sense, an SPV Client may fit the criteria of a node. However, they don’t do much to support and validate the distributed trustless ledger of Litecoin. Instead, they store just copies of all the headers of all the blocks in the blockchain that are taken from other Super Nodes. Therefore, SPV clients are unable to verify any transactions in the chain because they don’t have access to it. In this way, they function as communication endpoints as they are are unable to relay transactions or blockchain data. Additionally, it is important to put your own full nodes behind them to securely use SPV clients as wallets.

Specialized “Edge Routing” Nodes

Other types of nodes exist where Full Nodes are stripped of its wallet and mining capabilities. Entities such exchanges and merchant payment processors then build on top of these specialized “edge routing” nodes.

Conclusion

Above, I’ve briefly described the various roles a Litecoin Node can have. I’ve also included a broad overview of the necessary steps a user would need to take to use Litecoin Core in these roles. Hopefully by providing this list of terminology, it will empower users to understand what exact role they are playing in the network and to inform them of the steps they can take if they want to play a different one.
edit: clarified my language after consulting bitcoin dev's.
edit2: source if you want visuals-> https://medium.com/the-litecoin-school-of-crypto/lets-talk-about-litecoin-nodes-77383339cdf7
edit3: tips appreciate
LbpHUTE3LSYMu25FumQZeKv2z8BrYUQP8x
submitted by ecurrencyhodler to litecoin [link] [comments]

Why you should be running a mining node.

Because it helps to decentralize centralization. It does not matter if you are not making a profit because the success of bitcoin is the profit. Go buy a raspberry pi and setup a cheap ass miner. The more decentralized nodes, the better.
I bet there will even be a real market for cheap solo miners that people just plug and play. Great way to vote. This shit needs to be more accessible to those who don't fully understand the back-end side of bitcoin, but understand it's importance.
Edit: In fact, someone who wants to see bitcoin succeed should only be investing in this. We have to spread out the mining pool. If I had money to invest I would.
submitted by free-agent to btc [link] [comments]

On saving and restoring the blockchain

I've had the blockchain on my computer for a while (Bitcoin core) and I'm in the process of transfering the blockchain from a Windows box to a Raspberry pi running Linux (in order to solo mine with my usb lottery stick).
My question is, can I save my blockchain on Windows and restore it on Linux? It might seem like a weird question but I don't want to download it again...
submitted by UsualAwkward to Bitcoin [link] [comments]

RPi3 Mining [UPDATE]

I made a post yesterday about mining with the RPI3 [Here], I stated that it was getting 20 H/s. While at the time this was true. It must have been because it was new. I plugged it in for 5 minutes to get the numbers again just now and it's around 6 H/s.
Here is the proof: https://imgur.com/a/zRhDp
I used raspbian stretch for the OS and xmrig to mine monero. After a little bit, the RPi3 got very hot, you can see that in the image in the grey square where it says 100%. It's the CPU usage monitor, which I usually see mine running at around 1%-10% between idle and normal usage.
It's a simple install to get it up and running. The only problem I found was remembering to sudo -i and cd into the proper folder (build) and then I could run xmrig without getting an error. I still don't know how to change the config folder so I can just have 1 rather than 4 threads running.
Based on this and plugging this into Cryptocompare , (I have free electricity) I would be making 0.001560 XMR a day, roughly 50 cents a month, and 5.70 USD a year. Not much.
I next want to take on making a raspberry pi mircocluster. With my RPi3 as the controller and 4 RPi0's as the nodes. I am currently downloading the software to make it and flashing the sd cards, just waiting for the RPi0's to come in the mail, along with the cluster hat.
I was also thinking of making a RPi3 miner that can mine in a pool and if your feeling lucky, you flip a switch and the RPi3 solo mines for that current block.
A short bit about me, I know nothing about computers, I know nothing about cryptocurrency(and I still understand that I'm not going to make a profit!). If you ran into me on the street, this stuff would be the last thing I would talk about, I'm more into the gym/fitness. I figured I would expand my mind into something I probably wouldn't like. But I am enjoying all of this! I have bought into XMR,BTC, and Raiblocks.
What got me into this was reading about bitcoin a few years ago, I messed around with faucets and got 30$, I heard about bitcoin on the news again and I was able to get back into my wallet which was then 200$. I used that money to buy into XMR,BTC, and Raiblocks.
Ill keep posting my findings and projects I'm looking into next! I would like to see more people posting projects, I enjoy seeing people helping each other on here and what others are doing.
Thanks!
submitted by Boatsmhoes to CryptoCurrency [link] [comments]

How long does it take grcpool to update magnitude?

I'm a newbie so please be gentle with me, and I apologise for any irrelevant information.
I've ran SETI on and off since 2006, and since my son has been going on about Bitcoins, we both decided to mine Gridcoins just for the sake of it as we'd be running SETI anyway.
After setting up the wallet, signing up to grcpool and figuring out how to get rid of the warnings that the project wasn't attached properly I left it running on two standard desktop PCs (AMD A4 APU with a Nvidia 650 GT, and an Intel G3258 with a Nvidia 1050 Ti) and a Raspberry Pi 3 (just because I could).
Anyway, after running it for 16 hours the grcpool still says the magnitude is 0. The RAC for AMD is at 10.526872 and the Intel is 3.910567 (although it did spend half the time solo mining), but the magnitude and daily GRC is still zero.
Could someone please tell me if this is normal or have I missed something?
Thanks in advance for any replies :)
submitted by AntonMuerte to gridcoin [link] [comments]

Where can I buy old ASICs? Currently looking for a Rockminer R-Box or similar

I'm building a bitcoin miner on a raspberry pi as a project with my son (yes - I understand fully I'll never earn a cent... er, satoshi).
My previous experience with mining was using a Rockminer R Box, and I was wondering if anyone has an old one or something similar they wouldn't mind parting with. I'm happy to buy it, if needed.
Basically, all the sellers I'm seeing on Craigslist and Ebay and so forth are advertising even the old USB 333 MH drives at over $50 - ridiculous markups that I suspect are preying on people who don't know any better and are trying to get in the mining game. Since none of these miners will ever earn money, its pretty ridiculous to sell them at those rates...
I like the R box as they were pretty silent and didn't make the house too hot (like my old antminers) and I want something a little more complex than a simple USB drive to put together with him.
Basically, we are going to put it together, learn about mining, then leave it on solo mining to try it as a bitcoin lottery.
Anyone know a good market for old miners - or have an old one they'd sell at a reasonable price?
Note to mods: not a "for sale" post - Its a want ad if anything :)
submitted by EarlofBitcoin to BitcoinMining [link] [comments]

Help with getting things to start mining scrypt currencies (using raspberry pi 2 , gridseed asic miner , & cgminer) . . .

Here's what I have & will be using (I already have the cables & power) :
raspberry pi 2 Gridseed ASIC Miner for Litecoin and Bitcoin Mining --- 4 of these cgminer
[ I followed this example for setting things up : https://www.reddit.com/defcoin/comments/23nvs1/raspberry_pi_asic_defcoin_mining_guide/ it is my understanding that any altcoin you wish to setup mining for , is done in this similar fashion ]
I want to do scrypt cryptocurrency mining , I just want to understand how this is done ....
( I know there's a lot of tutorials out there & great vids , and I've done a lot of reading on all this matter , but I can't seem to get things working right , please help / advise )
Questions:
  1. if I solo mine , what is the correct port # to use here (and is the below command formatted correctly more-or-less) :
sudo ./cgminer -o stratum+tcp:localhost:#### -u Username.Workername -p yourworkerpassword --gridseed-options freq=850
( I understand I need to create my own pool , a pool of 1 , is considered to be solo-mining , correct ? How do I do this ? )
  1. also , before I can solo-mine , I need to have downloaded & install the wallet for the cryptocurrency I am going to mine , correct ? And I understand there is some kind of Config files relevant that I should modify accordingly to set things up with my mining solo , right ? How is it done & where do I find this config files ??
  2. I tried connecting my 4 gridseed(s) to my raspberry pi 2 , via the 4 usb ports it has , but it seems like it can't handle the 4 of them , so I have to deal with only using 2 of the gridseed(s) connected to my raspberry pi 2 at a time .... does this seem right to you ? And so , what work around do I have for this poroblem , I want to use all 4 of these gridseeds connected to my raspberry pi 2 ,,, I'm guess a usb hub is needed for this right ?
THANKS IN ADVANCE FOR YOUR HELP AND GUIDANCE !!!
submitted by justahotmininggirl to scryptmining [link] [comments]

Raspberry Pi 4 Bitcoin Mining For 24 Hours! - YouTube How to Mine for Bitcoin with a Raspberry Pi - Part 1 of 2 Raspberry Pi: Bitcoin mining - YouTube How to image a Raspberry Pi with Minera for USB Bitcoin Mining Bitcoin Miner Setup : Raspberry Pi - YouTube

Finally, launch Bitcoin Miner software with localhost (127.0.0.1), the rpcport (Y=8332), the username (X), and password (Q) you set in bitcoin.conf. These are the values you chose as the credentials to connect to Bitcoin Core to start solo mining Bitcoin. I am setting up a Raspberry Pi 3 to be a full node and miner. I know I will probably never win a mining block. I am doing this for fun and learning. I do not want to do a pool. I want to just do solo mining to learn how it works. I set up bitcoind from the official bitcoin 0.13.2 git repo. I found a cpuminer (minerd) and am setting that up. Now in my 3 Pi’s I’m crunching in pool mode woth TN-Grid, SETI and Asteroids. My priority now is mining in the pool and I think there’s no more project or combination better that this three projects. In solo mode [email protected] is a good project for the Pi’s. In the future I want to crunch in solo mode, and DrugDiscovery will be a ... My question is, for this sort of setup that I have with 1 - 4 2GH USB sticks, if I do solo mining, do I have much chance of getting a bitcoin now and then? solo-mining raspberry-pi. share improve this question follow edited Mar 5 '16 at 14:59. Murch ♦ 46.2k 30 30 gold badges 136 136 silver badges 407 407 bronze badges. asked Jul 4 '14 at 14:31. Lindy Lindy. 1 1 1 bronze badge. 1. This ... Although cryptocurrency mining on the Raspberry Pi might not be hugely profitable, it’s not an entirely expensive endeavor. Thus, it’s the perfect project to learn more about cryptocurrencies, from how they are mined to which coins exist. Notably, it’s a great means to explore alt-coins like Bytecoin and Magi. Plus, mining crypto coins on a Pi is another opportunity to probe Raspberry Pi ...

[index] [3943] [36412] [44605] [15054] [49020] [14980] [18016] [9035] [40447] [19617]

Raspberry Pi 4 Bitcoin Mining For 24 Hours! - YouTube

How to Setup a Raspberry Pi 2 Bitcoin Mining Rig w/ Bitmain AntMiner U3: https://youtu.be/dPWTSytzN7g Code to copy URL: https://www.raspberrypi.org/forums/vi... post with commands in written form: https://3dpeg.net/archives/69 Timestamps: 00:00 - Intro 01:00 - Setting up a wallet 05:15 - Joining a mining-pool 08:03 -... Here are the links for the programs- Zipeg- http://www.zipeg.com/ Win32 Disk Imager- https://sourceforge.net/projects/win32diskimager/ Advanced IP Scanner- h... How to make a Raspberry Pi Bitcoin Mining Rig - Duration: 9:43. Tinkernut Labs 309,090 views. 9:43. How Bitcoin Works Under the Hood - Duration: 22:25. CuriousInventor 2,762,040 views. 22:25 . How ... In diesem Video wird gezeigt, wie Sie mit Ihrem Raspberry Pi nach Bitcoins "schürfen" können. Auf vielfachen Wunsch verlinken wir nun auf die von uns in dem ...

#