Avatar
Oren ☂️
3316e2d88ff91e1089c75feedcd8baa2258b45455a3b156af617d7ec79b45fe5
Software Developleb https://github.com/oren-z0 CTO at RITREK.com Check out: https://niot.space https://ln2.email

I’m also accepting lightning payments, and I promise to never run for president and never force you to obey my rules. Zap me now!

Are you tired of your #[0]​ Bitcoin node being stuck in a restart loop if your peers.dat file gets corrupted? Instead of deleting it manually when you find out that this happened, do this:

1. Ssh into your node

2. Type “sudo su” to become root

3. Type “nano /etc/cron.hourly/corrupt-peers-delete”

4. Type the following script:

#!/bin/sh

CURRENT_DATE=$(date +%Y-%m-%d_%H-%M-%S)

echo "Running $CURRENT_DATE" > /home/umbrel/corrupt-peers-delete-cron.log

if (docker logs $(docker ps -aqf "name=bitcoin_bitcoind_1") -n 10 | grep "Invalid or corrupt peers.dat" >/dev/null 2>&1)

then

echo "Moving peers.dat" >> /home/umbrel/corrupt-peers-delete-cron.log

mv /home/umbrel/umbrel/app-data/bitcoin/data/bitcoin/peers.dat /home/umbrel/peers-corrupt-$CURRENT_DATE.dat

else

echo "Keeping peers.dat" >> /home/umbrel/corrupt-peers-delete-cron.log

fi

5. Type ctrl-x to exit nano, and choose Yes to save.

6. Make the script executable by typing: chmod +x /etc/cron.hourly/corrupt-peers-delete

7. exit the ssh

The cron job will run every hour and if the last logs of the Bitcoin docker cried about peers.dat being corrupt, the file will be moved to the home folder, so the Bitcoin node will construct a new peers.dat in the following restart (which happens automatically).

Good luck!

The default one is based on LND, a more popular implementation in the Go programming language. Core-Lightning is less popular but implemented in C, which should be more efficient on weak computers like Raspberry Pis.

Bitcoin: A Peer-to-Peer Base Layer for The Lightning Network. ⚡️

#[0]​ How do I “Quote Tweet”?

😞

nostr://note1g5vhpwmy48axd3ccmdklsu8wxw4qjk02y7gyy4xp6yc7046632xqmudgng

😞

note1g5vhpwmy48axd3ccmdklsu8wxw4qjk02y7gyy4xp6yc7046632xqmudgng

יום עצמאות שמח 🇮🇱

Happy Independence Day 🇮🇱

https://youtu.be/8tIdCsMufIY

We’re fighting monetary humans that follow their incentives, even when it means lying and deceiving. Dehumanizing them is just too easy. It’s not about taking the power from the demons and giving it to right leaders. It’s about taking the power and giving it to no one.

…because soon we will all end like this:

Only in modern times the meaning of religion became equivalent to faith. The Hebrew word for religion דת Dat originally meant “law”, i.e. the set of laws and commitments that someone takes upon himself.

Fun fact: the word originated from Persian, same as the word Data.

#[0]​ Write a rap song with ideas from the books like The Sovereign Individual, The Bitcoin Standard, The Fourth Turning and The Price Of Tomorrow. Don’t mention that they are books, just use their content for inspiration. Also, don’t mention “cryptocurrency” or “blockchain technology” - this should be a song for Bitcoin maximalists.

Is there a browser extension that does the same for webpages that don’t have a comments section? I know of news & finance websites that typically allow comments but censor then on specific pages…

It will also be useful for youtube videos that block comments.

I think there is a bug - I can hear the voice (in my head).

You can use your email address as your NIP-05 verification address by registering to https://ln2.email and adding the suffix “.ln2.email” to your email address.