Edit: I spoke too soon, my LND is caught up but I can't generate a new wallet address. When I do "lncli newaddress np2wkh" I get the following error message
[lncli] rpc error: code = Unknown desc = cannot retrieve macaroon: cannot get macaroon: root key with id 0 doesn't exist
It still looks like a permission problem to me. Let's try two different things and see which one will work. sudo chown bitcoin /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon sudo chmod 700 /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon Check if this has fixed your problem. LND restart might (but should not) be needed. If it doesn't work, try deleting admin.macaroon (it will probably result in another error which you faced earlier). sudo rm /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon EDIT: The second solution (deleting admin.macaroon) might work since you have switched from the testnet to the mainnet. LND should generate a new permission file compatible with the mainnet. Also, we assigned the "-hR" parameter to the chown earlier so it should have affected admin.macaroon as well.
|
|
|
Oh. I forgot that I asked you to create mainnet folder using sudo. User bitcoin probably did not have permission to create wallet.db file. The testnet one is obviously incompatible. sudo rm /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/wallet.db sudo chown -hR bitcoin /home/bitcoin/.lnd/data/chain/bitcoin/mainnet sudo chmod 700 /home/bitcoin/.lnd/data/chain/bitcoin/mainnet Now you can try creating a new wallet again.
|
|
|
Gave that a try and got the following error message when I tried to unlock afterwards
It seems to be a small permission problem. These two commands should fix it. sudo chown bitcoin /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/wallet.db sudo chmod 700 /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/wallet.db The documentation seems to be a bit outdated.
|
|
|
Any ideas?
You wallet might have been created in the testnet directory. Try copying wallet.db using the following command sudo cp /home/bitcoin/.lnd/data/chain/bitcoin/testnet/wallet.db /home/bitcoin/.lnd/data/chain/bitcoin/mainnet
|
|
|
I am surprised that many people still support socialism. Is it because they are undereducated or believe that having more money makes them richer? Let me use Poland as an example. Our "right-wing" ruling party gives 500 PLN (about 125 EUR) per month for the second and any consecutive children until they reach the age of 18. The aim of this programme is too boost child birth rate and guess what is happening. It barely affects it. Now we have to enjoy having 38 new taxes and higher VAT which won't decrease to 22% as it was planned.
I understand that some people might face financial problems not because of their own fault. However, giving away money to almost everyone is definitely not a solution.
|
|
|
No need to worry Carlton Banks. I have just asked TREZOR team on their Telegram channel if they are going to discontinue trezor-mcu once they port trezor-core to the TREZOR One and the answer is... no! It looks like you won't be forced to upgrade your firmware in order to receive security updates.
|
|
|
I do know that for lightening network, some transactions are taken off chain!
Every single transaction made on the Lightning Network is an off-chain one. In order to start using the Lightning Network you have to open a channel with someone else using specialised software. Opening and closing channel requires broadcasting on-chain transactions. how do the transactions get reconciled/synced with on-chain to avoid double spending issues??
The Lightning Network works thanks to Hashed TimeLock Contracts. The current penalty system requires both nodes to be online once every day (144 blocks) by default (it can be negotiated) to check whether or not the other party attempted to cheat. If so, a penalty transaction is being broadcast. Off-chain funds can't be spend on-chain since they are locked up in a multi-signature address. Everything is settled down after the channel closure.
|
|
|
I hope SatoshiLabs aren't planning on discontinuing development of the basic firmware, some people want a hw wallet that concentrates on security. "Feature expansion" is the road to increased attack vectors, a security compromise
The biggest problem for them is developing two separate firmwares at the same time. They released their own blockexplorer - Blockbook which they are constantly updating with new features and it definitely takes a lot of their precious time. Actually, many people expect them to support as many coins as possible rather than worry about security. I really doubt that they won't discontinue trezor-mcu. They have a limited number of developers. However, since the code is open-source, someone might continue to update the older software.
|
|
|
I have got new information which might be interesting for some of you. 1) Monero won't be available in the TREZOR web interface due to security measurements. You will have to download Monero wallet and sync it with the network. Currently, its blockchain weights about 45 GB which is still less than Bitcoin's. Monero support will come in the TREZOR model T 2.0.8 update which surely won't be released this month. 2) TREZOR has launched their own wiki where you can find the most important information about your device. 3) TREZOR One got a security update on 30th August. This update should not wipe your device but don't proceed unless you have your seed nearby. TREZOR Core is currently being ported to this model.
|
|
|
Also, how do I assign an alias to my node? That might make it easier to find.
You have to edit the configuration file using nano and restart your node to apply changes. "Alias" setting should be somewhere in the middle of the file and as far as I remember, it should not exceed 32 characters. sudo nano /home/bitcoin/.lnd/lnd.conf sudo systemctl restart lnd ACINQ explorer is a bit outdated so I wouldn't be surprised if it was their fault. 1ML.com is often used by us, especially on the mainnet. If I were you, I would ignore that issue. Please note that 1ML.com might not update your node information instantly. On the left side of the page there should be "Last updated".
|
|
|
Thank you! Weird thing is my wallet balance hasn't changed after purchasing 3 Starblock coffees. Also there is a bit of a delay when making the payment, thought it was supposed to be lightning fast ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Bitcoin Lightning Network transaction speed depends on the number of nodes that take part in the payment routing. LND might prefer to take a cheaper route over a shorter one. If you open a channel directly to Starblock then your payment will be confirmed instantly without any fees. Wallet balance is not the same as channel balance. You have to use the following command to check the state of your channels.
|
|
|
Looks like there is still an issue with the macaroon files/path ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Use the following commands to create missing mainnet directory and copy files over there. sudo mkdir /home/bitcoin/.lnd/data/chain/bitcoin/mainnet sudo cp /home/bitcoin/.lnd/data/chain/bitcoin/testnet/admin.macaroon /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/ Are you sure that your LND instance runs on the testnet? @Down: Fixed the command. Now it should work.
|
|
|
I got some testnet BTC from a faucet and successfully deposited into my LND wallet, but for some reason unable to make a payment to Starblocks. See image below... LND is supposedly on "Autopilot" by default so it should be opening channels on its own, yet I don't see any channels open when I enter "lncli --network=testnet listchannels"
You have to fund a channel first. Below you will find an example how to do it. Here you can browse testnet nodes. lncli connect 0269a94e8b32c005e4336bfb743c08a6e9beb13d940d57c479d95c8e687ccbdb9f@197.155.6.38:9735 lncli openchannel 0269a94e8b32c005e4336bfb743c08a6e9beb13d940d57c479d95c8e687ccbdb9f 20000 20000 is number of satoshis. One satoshi equals 0.00000001 BTC. As far as I remember, six confirmations are needed for channels to work. I might be wrong.
|
|
|
What would the command be to check that directory?
It's very similar to the command you have used previously. The following one will tell you whether or not folders mainnet and testnet exist. ls -la /home/bitcoin/.lnd/data/chain/bitcoin/ If these folders exist you can check what's inside them by adding either testnet or mainnet after /bitcoin/. By the way, you were not able to use the touch command earlier because you forgot to add sudo before it.
|
|
|
Actually have a question about the "Public IP script" portion of the guide. When I run the command "sudo systemctl status getpublicip" I get the following screen. Not sure what I'm supposed to do here, I just Ctrl +C'd out and continued with the rest of the steps.
Everything is fine. You can use the following command to check whether or not your public IP is detected correctly. As for the permission files problem, you should have mainnet and testnet folders in the .lnd/data/chain/bitcoin directory. You should find admin.macaroon and other needed files in them.
|
|
|
I'll definitely be having questions with the T - I'm reading in some (partial) reviews that it doesn't need a connection to device but am seeing conflicting that of course the USB-C cable is still needed. Will find out myself when it arrives of course, but do you have a thread just for T?
TREZOR web interface allows you to remember the wallet so that you can easily see your accounts even if your device is not connected. However, sending transactions obviously requires you to connect your device using the included USB-C cable. TREZOR does not support any kind of wireless communication for safety reasons. You can ask me your questions either in the official TREZOR thread or here. Both of these threads are on my watchlist so I will be able to reply to you as soon as I am online.
|
|
|
Username: BitCryptex Post Count: 570 BTC Address (must be SegWit): 3Fq9zESjZphw52qvHjGDhS7LpFJLzJNhWz
Since changing signature is not required, I will do that in case I am accepted. I have received 273 merit so far.
|
|
|
Malta is becoming extremely friendly for cryptocurrency businesses. The biggest cryptocurrency exchange in Poland - BitBay decided to move to Malta because of more clear regulations. I would not be surprised if it became the place where major national cryptocurrencies would have most of their hashrate. Won't other countries start to threaten Malta to stop encouraging crypto usage?
Malta is definitely going to earn a lot of money on these actions despite their tax reliefs. Mining farms need enormous amount of electricity to run = huge profit from the electricity tax.
|
|
|
The Lightning Network is already here and it works quite well. Its number of users and nodes is constantly growing which makes it more and more usable. Once more merchants or payment gateways implement it, Bitcoin payments will become incredibly easy, fast and cheap, especially if you compare it to wire transfers or ordinary on-chain payments. I treat Bitcoin as a store of value and a currency - I don't see any reason why would it be something extraordinary. SegWit was needed for the Lightning Network to work without many changes and its adoption is more than 50% now.
|
|
|
i think you forget that people also use exchanges for trading, as a mean of income.I myself do lot's of trading, but i try to keep as little coins as possible in the exchange whenever i'm done.
Well, I didn't forget about such people. Changelly, for example, supports Tether which is also used by every single popular exchange. You might find it less convenient but it's definitely more secure especially if you trade occasionally. I am glad to hear that you have good habits but don't forget that there are many people out there unaware of potential risk. People haven't learned much after Mt. Gox incident from a few years ago.
|
|
|
|