Bitcoin Forum
July 24, 2024, 11:21:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 »
2121  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 13, 2018, 07:11:23 PM
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.

Code:
sudo chown bitcoin /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
Code:
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).

Code:
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.
2122  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 13, 2018, 04:58:23 PM
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.

Code:
sudo rm /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/wallet.db
Code:
sudo chown -hR bitcoin /home/bitcoin/.lnd/data/chain/bitcoin/mainnet
Code:
sudo chmod 700 /home/bitcoin/.lnd/data/chain/bitcoin/mainnet

Now you can try creating a new wallet again.
2123  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 13, 2018, 04:09:01 PM
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.

Code:
sudo chown bitcoin /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/wallet.db
Code:
sudo chmod 700 /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/wallet.db

The documentation seems to be a bit outdated.
2124  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 13, 2018, 09:51:24 AM
Any ideas?

You wallet might have been created in the testnet directory. Try copying wallet.db using the following command

Code:
sudo cp /home/bitcoin/.lnd/data/chain/bitcoin/testnet/wallet.db /home/bitcoin/.lnd/data/chain/bitcoin/mainnet

2125  Economy / Economics / Re: Smart people support Socialism. on: October 11, 2018, 08:03:17 PM
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.
2126  Bitcoin / Hardware wallets / Re: [ESHOP launched] Trezor: Bitcoin hardware wallet on: October 11, 2018, 07:24:03 PM
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.
2127  Bitcoin / Development & Technical Discussion / Re: Lightning Network Discussion Thread on: October 11, 2018, 04:45:24 PM
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.
2128  Bitcoin / Hardware wallets / Re: [ESHOP launched] Trezor: Bitcoin hardware wallet on: October 11, 2018, 03:49:09 PM
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.
2129  Bitcoin / Hardware wallets / Re: [ESHOP launched] Trezor: Bitcoin hardware wallet on: October 09, 2018, 02:22:04 PM
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.
2130  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 09, 2018, 01:46:27 PM
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.

Code:
sudo nano /home/bitcoin/.lnd/lnd.conf
Code:
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".
2131  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 07, 2018, 10:02:58 PM
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

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.

Code:
lncli listchannels
2132  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 07, 2018, 08:22:33 PM
Looks like there is still an issue with the macaroon files/path  Huh

Use the following commands to create missing mainnet directory and copy files over there.

Code:
sudo mkdir /home/bitcoin/.lnd/data/chain/bitcoin/mainnet
Code:
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.
2133  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 07, 2018, 06:30:21 PM
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.

Code:
lncli connect 0269a94e8b32c005e4336bfb743c08a6e9beb13d940d57c479d95c8e687ccbdb9f@197.155.6.38:9735
Code:
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.
2134  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 07, 2018, 05:01:54 PM
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.

Code:
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.

2135  Bitcoin / Bitcoin Technical Support / Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide on: October 07, 2018, 04:43:53 PM
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.

Code:
cat /run/publicip

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.
2136  Bitcoin / Hardware wallets / Re: [PSA] - Price drop on Trezor One (+ developments) 2018-09-21 on: October 07, 2018, 10:34:22 AM
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.
2137  Economy / Services / Re: [1 OPEN SLOT] ChipMixer Signature Campaign | 0.00075 BTC/post on: October 07, 2018, 07:51:46 AM
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.
2138  Economy / Economics / Re: Malta is playing strong game on: October 06, 2018, 11:15:37 PM
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.
2139  Bitcoin / Bitcoin Discussion / Re: First come the store of value then comes the digital currency on: October 06, 2018, 09:49:04 PM
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.
2140  Other / Beginners & Help / Re: Reminder for new members NOT to keep money on a Exchange. on: October 06, 2018, 08:58:01 PM
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.
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!