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:
This article explains some common techniques used to test Bitcoin apps. The testnet. The Bitcoin community runs a separate, parallel instance of the Bitcoin network that features a slightly different and more relaxed ruleset, called the testnet. Most usefully, coins on the testnet have no value and can be obtained for free from testnet faucet sites like https://testnet-faucet.mempool.co/ or ... Running a Bitcoin full node comes with certain costs and can expose you to certain risks. This section will explain those costs and risks so you can decide whether you’re able to help the network. Special Cases. Miners, businesses, and privacy-conscious users rely on particular behavior from the full nodes they use, so they will often run their own full nodes and take special safety ... 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. Run bitcoin-qt or bitcoind with the -testnet flag to use the ... Be part of the Bitcoin network by running a Bitcoin full node, e.g. Bitcoin Core. CHECK NODE. Use this tool to check if your Bitcoin client is currently accepting incoming connections from other nodes. Port must be between 1024 and 65535. Start a Bitcoin full node on your Linux, Mac, BSD or Windows system to help validate and relay transactions across the Bitcoin network by running this ... 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
bitcoin testnet full node 2019 11 11 13 54 39 via mining test [most nosound]
bitcoin testnet full node 2019 11 11 13 54 39 via mining test [most nosound] Hddminer God. Loading... Unsubscribe from Hddminer God? Cancel Unsubscribe. Working... Subscribe Subscribed Unsubscribe ... UPDATE: a few specifics have changed, see below for up-to-date commands In this video we create a local bitcoin testnet within a docker container. Then we'll... How to run a Bitcoin Full Node(Linux + Build from Source) - Duration: 14:13. ... Creating a Local Bitcoin Testnet / Regtest - Programming Bitcoin - Duration: 23:19. Programming Bitcoin 19,646 ... Full Tutorial On For Profit Node! Crypto Talk. Loading... Unsubscribe from Crypto Talk? ... How To Use Bitcoin Testnet - Getting Free Testcoins - Duration: 3:09. Bitcoin Tutorials 11,937 views. 3 ... We’ll stop supporting this browser soon. For the best experience please update your browser.