Bitcoin Forum
June 21, 2024, 04:11:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 136 »
541  Bitcoin / Bitcoin Technical Support / Re: Raspberry Pi - corrupted blocks on: January 27, 2021, 02:23:48 PM
Probably a stupid question, but you're not copying the blockchain while the client is running?  If so, the database will be changing as it's copied, and you will always get corruption.

Of course, not. I have turned off Bitcoin Core for every single transfer. It was also not running on the Raspberry Pi.
542  Bitcoin / Bitcoin Technical Support / Re: Raspberry Pi - corrupted blocks on: January 27, 2021, 01:55:31 PM
Do you think that the SCP upload got disrupted mid-copy and abruptly left some blocks partially-copied? I don't think SCP attempts to finish copying interrupted transfers.

I don't think that SCP is the culprit. I have already tried copying all the files using Windows Explorer when the whole drive was formatted to exFat. I am also using WinSCP which I believe resumes interrupted transfers.

Given that the scp transfer took a whole night the speed probably wasn't that great. Possibly several dozen Kbytes/s?

It was about 18-20 MB/s, so the transfer took about 5-6 hours. With a samba server, I could get those speeds up to 100 MB/s.

Check your block files with md5sum and make sure they're all the same as the ones you have locally.

I could do that, but it is very likely to be a waste of time. The error indicates that there is something wrong with the latest block which I believe was not downloaded on my PC.

Other than that the only thing I can think of is there is some hardware issue that is only showing itself when the system is under load, like when it's verifying the blockchain or a block. But, that is really a stretch.

I could try running either -reindex or -reindex-chainstate as the debug.log suggests, but I guess that would take a few days. When the drive was formatted to exFat, after the corruption had occurred on the Pi, I tried connecting it to my PC and replacing the "chainstate" folder with a backup, but I couldn't modify that folder unless I ran a Windows built-in repair tool.

I have configured my samba server with the exFat partition and everything seems to be working fine. I have transferred a few large files back-and-forth and there are no corruptions so far.
543  Local / Polski / Re: Signature campaing - regularnie płatne pewniaki on: January 27, 2021, 10:26:57 AM
Manager: yahoo62278
Nazwa kampanii: WINZ.IO Casino Signature and avatar Campaign
Ile do zarobienia/tydzień / ilość postów: Member - 0.0003 BTC/tydzień, Full Member - 0.0006 BTC/tydzień, Senior Member - 0.0009 BTC/tydzień, Hero Member - 0.0012 BTC/tydzień, Legendary - 0.0015 BTC/tydzień
Jakie rangi: Łącznie 10-12 miejsc dla rang Member - Legendary
Dodatkowe informacje: Minimum 25 postów na tydzień, w tym 5 postów w sekcji Gambling. Lokale się nie liczą.
544  Bitcoin / Bitcoin Technical Support / Re: Raspberry Pi - corrupted blocks on: January 27, 2021, 10:06:53 AM
Both Bitcoin Core compilation and SCP upload finished over night, so I decided to give it another try. All the blockchain data is now stored on the ext4 partition. Unfortunately, something is still wrong. Block #667874 was the latest one at that moment.

Code:
2021-01-27T09:54:38Z init message: Verifying blocks...
2021-01-27T09:54:38Z Verifying last 6 blocks at level 3
2021-01-27T09:54:38Z [0%]...ERROR: ReadBlockFromDisk: Deserialize or I/O error - CAutoFile::read: end of file: iostream error at FlatFilePos(nFile=2425, nPos=42621844)
2021-01-27T09:54:38Z ERROR: VerifyDB(): *** ReadBlockFromDisk failed at 667874, hash=00000000000000000008e979aaca803bc56599f1bc80aa3196c1d9089958034f
2021-01-27T09:54:38Z : Corrupted block database detected.
Please restart with -reindex or -reindex-chainstate to recover.
2021-01-27T09:54:38Z Aborted block database rebuild. Exiting.

Here's my complete debug.log.
545  Bitcoin / Bitcoin Technical Support / Re: c-lightning on Raspberry Pi on: January 26, 2021, 11:35:31 PM
If it's the latter, and it probably is if other folders on that filesystem are getting corrupted too, then the ext4 filesystem was made on the wrong device. You should be making it on one like /dev/sda1 or sda2, not /dev/sda (which is reserved for the partition table on-disk).

The corruption occurred when my whole drive was formatted to exFat. Thanks for your instructions, though.

Perhaps you can create a docker container and pass the mount point of your ext4 partition as a volume and install raspiblitz inside that? Then it will only be able to see the ext4 partition.

That's a good idea. However, RaspiBlitz is only available as an OS image. I have decided to make a clean setup and install everything manually again.
546  Bitcoin / Bitcoin Technical Support / Re: c-lightning on Raspberry Pi on: January 26, 2021, 12:45:36 PM
How large is your SSD? How much space do you need for the exFat? Do you need anything that is on it now?

1 TB (931.50 GB available). I would like to keep at least 400 GB for the exFat partition. I don't have any personal files on that drive, so I can safely keep playing with it. I am currently uploading the blockchain data through SCP to the ext4 partition, though.

If it's a 1 TB and you don't need anything that's on it just let installer do its thing and then do a shutdown and re-size.

Sounds good, but I might need to modify some auto-mount setting later.

Keep in mind between the blockchain and the lightning DB and everything else I would no go below 650 or so GB otherwise you are going to be doing this again soon.

My blockchain data takes about 350 GB right now. I assume that it will grow at a rate of about 50 GB per year. How much does the lightning database weight? 450-500 GB for the ext4 partition sounds fine to me at the moment.
547  Bitcoin / Bitcoin Technical Support / Re: c-lightning on Raspberry Pi on: January 26, 2021, 11:26:04 AM
I wouldn't choose exFat, but not sure if it's actually susceptible to data corruption. It's just that you can likely get something more reliable (ZFS or btrfs), or simply with more features/security (ext4)

I ended up splitting my SSD into two separate partitions (exFat and ext4). I need to keep the exFat one because I want to be able to occasionally use that SSD with my Windows laptop on the go. Now, I am trying to figure out how to force RaspiBlitz to mount and use only the ext4 partition. The automatic installer insists on making one large partition, so I can't proceed with the installation.
548  Local / Polski / Re: System kreacji pieniądza. Czy dotyczy to również bitcoina? on: January 26, 2021, 12:10:47 AM
Oczywiście nie naciskam i jak to nie @Rath i nie masz ochoty się przedstawiać, to nie musisz.

Nie mam wystarczająco czasu, żeby aktywnie udzielać się na tym koncie, a co dopiero myśleć o drugim Wink Ciesze się, że znalazł się na naszym lokalu ktoś kto również jest zainteresowany Lightning Network.
549  Local / Polski / Re: Signature campaing - regularnie płatne pewniaki on: January 24, 2021, 10:08:45 PM
Manager: Hhampuz
Nazwa kampanii: Vertex.market Signature Campaign
Ile do zarobienia/tydzień / ilość postów: Hero Member/Legendary - $55 w BTC/tydzień
Jakie rangi: 10x Hero Member/Legendary
Dodatkowe informacje: Posty w lokalach nie liczą się.
550  Local / Polski / Re: Lightning Network - ogólna dyskusja on: January 22, 2021, 09:59:09 PM
@wezla ja jak najbardziej bym z chęcią na ten temat poczytal /poogladal

Wygląda na to, że nieprędko będę w stanie podzielić się jakimikolwiek szczegółami. Ciągle walczę z pełnym węzłem, który po raz kolejny uszkodził mi pliki znajdujące się w folderze "chainstate". Po raz kolejny muszę czekać aż zakończy się reindeksacja bloków, co trwa u mnie około 8 godzin (na głównym komputerze, a nie na "malince"). W najgorszym wypadku skuszę się na gotowca i zamiast z c-lightning będę korzystał z LND, które jest popularniejsze wśród gotowych rozwiązań.
551  Bitcoin / Bitcoin Technical Support / Re: c-lightning on Raspberry Pi on: January 22, 2021, 08:08:18 PM
I might end up going for RaspiBolt since I am having some trouble with setting up everything correctly. My chainstate folder got corrupted twice for no reason when launching bitcoind. I am not sure if it's because my external SSD was formatted to exFat or because I am also running a samba server pointing to that drive. I am running Ubuntu Server 20.04.1 and I followed this guide.

Is there any particular reason why you guys chose c-lightning over LND or vice-versa?
552  Bitcoin / Hardware wallets / Re: Ledger Nano S Questions on: January 22, 2021, 01:29:14 AM
When I set up my nano x, i turned it on without the live app and it generated a recovery phrase.  I assume once you generate a recovery phrase this way, you wont be able to "restore an existing wallet" once you are on the app cause you already generated a recovery phrase to that device?  Is that correct?

You don't need Ledger Live to restore an existing wallet. You must have selected "Set up as a new device" during the initial setup. See this YouTube video from Ledger. You can restore an existing wallet after you generate a new wallet if you wipe your device (either by doing so in the settings or by entering an incorrect PIN three times).
553  Bitcoin / Hardware wallets / Re: Ledger Nano S Questions on: January 22, 2021, 12:26:27 AM
1) If you get a new device and use your old device's recovery phrase on the new device, what do you do with your new device's recovery phrase?  Do you keep both recovery phrases? Or which one to keep?

In the beginning, you are asked if you want to create a new wallet or restore an existing one. You won't get a new recovery phrase if you choose the latter option.

2) Can't you just send the crypto to the new wallet instead?

Of course, you can. However, that could involve a couple of transactions if someone used multiple accounts or coins.

3) Someone mentioned resetting your old device back to factory defaults and selling it.  Does the resetted device generate an entirely new recovery phrase, or the same one?  I personally wouldnt buy someone's old device.

Yes, it does. Otherwise, you would have to buy a new device if you somehow exposed your seed.
554  Bitcoin / Hardware wallets / Re: Trezor stupid question. on: January 21, 2021, 04:08:15 PM
[...] when I check to total sum of all the addresses on block explorer, there are less coins that the in the trezor balance.

Do you recall having a change output in any of your transactions? That could be the cause.

Is there a way to list all the addresses accosted with the wallet and having balance in them?

Yes, the easiest way would be probably to use Electrum for that. However, using a public key for each account might be a better idea than adding every single address to a watchlist manually. As far as I remember, Sentinel supports public keys. This guide shows how to get public keys for each account on wallet.trezor.io.
555  Local / Polski / Re: Signature campaing - regularnie płatne pewniaki on: January 21, 2021, 11:33:32 AM
Manager: CryptopreneurBrainboss
Nazwa kampanii: DeFi For You Signature Campaign
Ile do zarobienia/tydzień / ilość postów: Full Member - $20 w BTC/10 dni, Senior Member - $30 w BTC/10 dni, Hero Member/Legendary - $40 w BTC/10 dni
Jakie rangi: 30x Full Member, 30x Senior Member, 35x Hero Member/Legendary
Dodatkowe informacje: Minimum 40 postów w ciągu 10 dni.
556  Bitcoin / Hardware wallets / Re: Ledger Nano S Questions on: January 20, 2021, 11:07:34 PM
Just to go on from this, can I then sell my Nano S, or does the recovery phrase stay the same so it means it's now vulnerable to a buyer? I know they aren't expensive, but a mate may well be getting into crypto so could be of use to him?

You can safely sell your device or give it to someone else. Before doing that, you need to wipe it. Either enter an incorrect PIN three times or factory reset your Nano S in the settings.
557  Bitcoin / Bitcoin Technical Support / Re: c-lightning on Raspberry Pi on: January 20, 2021, 10:24:32 PM
Any reason why you want c-lightning in a device instead of LND?

I have already played around with LND when I was getting started with the Lightning Network, so I want to try something new. Also, I heard a lot of people complaining about LND being a mess now. The only thing I don't like about c-lightning is that it lacks decent clients. The only one I can recall is Spark while LND can be connected to Zap or even BlueWallet (if configured properly), and some other clients.

-snip

Thanks for your input. The first link is not what I am looking for - that project supports only LND. As for the other link, it might actually come in useful.
558  Bitcoin / Bitcoin Technical Support / Raspberry Pi - corrupted blocks on: January 20, 2021, 04:59:05 PM
Hey,

does anyone know if there are any Raspibolt/Raspiblitz alternatives with c-lightning support instead of LND? I had no luck so far in finding any. I will end up installing everything manually if I can't find any alternatives by tomorrow.
559  Bitcoin / Wallet software / Re: BlueWallet for iOS - Unable to move LN funds (code 10) - PLEASE HELP on: January 20, 2021, 02:51:06 PM
But I like the idea that maybe the liquidity on route to the recipient was not sufficient. That is one possible explanation.

There is also one more possible explanation. If the receiver has more than one channel, your wallet might have found a path to a channel which had only outgoing capacity.

If you agree, feel free to drop me a PM with an invoice of lets say 500 sats and I will try to send it to you as a test and a gift

Thanks, but I am currently using only BlueWallet, so the payment would go through for sure. I will message you once I finish setting up my c-lightning node.
560  Bitcoin / Wallet software / Re: BlueWallet for iOS - Unable to move LN funds (code 10) - PLEASE HELP on: January 20, 2021, 11:11:08 AM
I know for sure, that the receiver has enough inbound capacity so this can be ruled out.

For how long has the receiver had that inbound capacity? A few days ago, I encountered a similar problem when I was helping out another user with their c-lightning node. He was unable to receive payments from BlueWallet and other services for a few hours since he got inbound capacity.

Maybe there is no route with enough capacity between you and the receiver.

I believe that BlueWallet has a separate error code for lack of routes.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 136 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!