Docker-compose bitcoind looses 8% of progress on a restart.
Howdy folks, So I'm prototyping a new lightning centric social media concept. For dev work I'm leveraging docker-compose to handle the stack infrastructure, but whenever I kill or restart the bitcoin (testnet) node it looses 8% of progress and has to resync. It's not a huge pain/will go away in the production environment, but I thought I'd ask if anybody has seen similar / knows how to get bitcoind to (more) gracefully exit.
So there's a coin that has more solo miners than all the Bitcoins, Litecoin and Ethereum put together? And it scales to MILLIONS of mining modes using Wolfram research? #3 total node count behind BTC and ETH and in testnet? Stephen Wolfram and DIffie are advisers... You're joking right?
Got my Bitcoin/LN Node up and running on testnet. Have a few questions.
Bare with with me as I'm still new to fully understanding how Bitcoin and the LN work. And I'm an even bigger newbie when it comes to Linux, which is why I installed 'Raspberry PI Desktop'. I wanted to closely follow the guide mentioned below (with a few changes as to accommodate the i686 processor). I had some old hardware laying around and decided to attempt a Bitcoin/LN Node setup using the following guide: https://github.com/Stadicus/guides/blob/masteraspibolt/README.md My Hardware Specs:
Asus Eee PC Atom Netbook - Processor: Intel Atom N270 (i686) 1.6 GHz / RAM: 2 GB / Hard Drive: SSD 4GB (lol...) / Supports SD Memory Card and SDHC Memory Card.
500 GB Portable 2.5" WD Hard Drive
32GB SD Memory Card
I downloaded the "Debian Stretch with Raspberry PI Desktop" disk image on the 32GB SD Memory Card. I then tried to do an install to the 4GB SSD, but I don't think the 4GB was enough disk space because the system install would stop/error at around 32%. After several failed attempts I decided to just "Run with persistence" from the SD card, which worked. After about a day and a half (breaks in between), I finally got testnet up and running. I'll be staying on testnet for a while until I familiarize myself with everything, with that said, I'm hoping some of you Linux and Bitcoin savvy people can answer a few questions/concerns. TL;DR: I setup a Bitcoin/LN Node on testnet, and have a few questions below. Linux Related:
On boot/reboot I get this message below, should I be concerned? I'm not sure what it means, how can I stop this message? I'm able to just hit Ctrl+D, which the system continues booting normally afterwards.
"No Caching mode page found" and "Assuming drive cache: write through" "After logging in type 'journalctl -xb' to view system logs, 'systemctl reboot' to reboot or ^D to try again to boot into default mode." Bitcoin/LN Related:
Is the LN wallet the same as my Bitcoin Node wallet? (I don't see the step where I created a wallet on the "Bitcoin" section using the guide I mentioned at the top of this post. But I do see the step of creating the LN wallet in the "Lightning" section by using the following command - "lncli --network=testnet create".)
Do I need to unlock my wallet every time I restart? Is this required to use the LN? (I noticed when I restart my system and do a "sudo journalctl -f -u lnd", It prompts me for my wallet password, or create a new one.)
What are the characters at the end of the command below(np2wkh) when creating a new address? Do I generate a new address every time I want to receive a payment? ("lncli --network=testnet newaddress np2wkh")
Why does my LN wallet balance display differently than what I requested from a faucet? (The testnet faucet says 0.01 max, which I sent to my wallet address. But my LN wallet displays as "total_balance 199637".)
If I need to restart my node, is there a correct way of doing so? How do I make sure i don't affect open channels?
I know I have other questions, but I can't remember them off the top of my head right now. Thanks
[uncensored-r/Bitcoin] Lightning (testnet) has more nodes than Bcash
The following post by alistairmilne is being replicated because some comments within the post(but not the post itself) have been silently removed. The original post can be found(in censored form) at this link: np.reddit.com/ Bitcoin/comments/7tv2at The original post's content was as follows:
For someone learning to program Bitcoin, should I run a testnet Bitcoin full node, or mainnet?
I mostly just want to get my hands dirty with the code. Experiment a little. I just don't know if there's a difference in terms of learning in regards to testnet vs mainnet. Also, I'm assuming Linux is better vs Windows for this sort of thing? Thoughts?
[uncensored-r/Bitcoin] The testnet lightning network. ~478 nodes. ~1366 channels.
The following post by supermari0 is being replicated because some comments within the post(but not the post itself) have been silently removed. The original post can be found(in censored form) at this link: np.reddit.com/ Bitcoin/comments/7ji4xw The original post's content was as follows:
BTC Address. Send coins back, when you don't need them anymore: 2NGZrVvZG92qGYqzTLjCAewvPZ7JE8S8VxE The hardfork of the testnet is predicted to occur on or around June 29th, 2020. Why Offline Staking on QTUM? The feature of offline staking on Qtum was as a result of community members and QTUM holders requesting a way to stake without being online and without running a full node. Below is a brief explanation of the request for offline staking. My bitcoin.conf looks like # testnet-box functionality testnet=1 dnsseed=0 upnp=0 rpcallowip=192.168.59.103 rpcallowip=192.168.1.4 rpcallowip=0.0.0.0 # listen on different ports than default testnet port=19000 rpcport=19001 # always run a server, even with bitcoin-qt server=1 # enable SSL for RPC server #rpcssl=1 rpcuser=admin1 rpcpassword=123 To sync faster I have updated my bitcoin.conf file by adding the node addresses. My latest config file is similar to this: testnet=1 regtest=0 dnsseed=0 upnp=0 setgenerate=1 blocksonly=1 server=1 addnode=22.214.171.124 addnode=126.96.36.199 addnode=188.8.131.52 addnode=184.108.40.206 addnode=220.127.116.11 maxconnections=15 minrelaytxfee=0.0001 maxmempool=200 maxreceiverbuffer=2500 The testnet is an alternative Bitcoin block chain, to be used for testing.Testnet coins are separate and distinct from actual bitcoins, and are never supposed to have any value. This allows application developers or bitcoin testers to experiment, without having to use real bitcoins or worrying about breaking the main bitcoin chain.
Our goal is to create a community of Chainlink node Operators. To Complete this video you'll need to download the following PDF: https://bit.ly/30jCsLt Please join our Discord https://discord.gg ... Creating a Local Bitcoin Testnet / Regtest - Programming Bitcoin - Duration: ... What is a Bitcoin Full Node? Why would I want one? - Duration: 11:06. Off Chain with Jimmy Song 17,452 views. 11:06. PI App Link - https://minepi.com/cryptotelugu Code - cryptotelugu My Telegram channel - https://t.me/HarshaCryptoTelugu Wazirx Registration Link - https://wa... 1-Complete walkthrough on how to setup a block generating node on the testnet. This example should be similar to future main net setup. ... How To Use Bitcoin Testnet - Getting Free Testcoins ... Phase 2: Testnet, the Node software is installed over the testnet to run before the mainnet launch Phase 3: Mainnet ... For instance, you can no longer mine Bitcoin using your home computer. You ...