powrelay.xyz

day week month year all
5 million hashes per byte
hello world.
Created at:
Sat Mar 15 14:40:13 UTC 2025
Kind:
1 Text note
Tags:
miner notemine
client https://sandwichfarm.github.io/notemine
nonce 76082488 29
4 million hashes per byte
Created at:
Fri Jun 27 20:16:42 UTC 2025
Kind:
30009 Unknown kind
Tags:
d Letnany-Orienteering-Survivor
name Letňany Orienteering Survivor
alt Badge: Letňany Orienteering Survivor
description This badge is awarded for heroic survival of the Letňany Orienteering on the night of BTC Prague 2025. Many would have given up. Many would have fallen. But you endured and made it home safely. Let this achievement be forever remembered.
image https://otherstuff.shaving.kiwi/3900a7f397cc69ea55811b1d1e9eb0a5f07f4cae9f39159876e5fce3393b80c9.webp
thumb https://otherstuff.shaving.kiwi/243a578dca8e75ffe196579c5ad6ed2bffdae24ae8cd8b1f34c01ae6b167f909.webp
nonce 8070450532326219133 32
4 million hashes per byte
I was diving into PoW (Proof-of-Work) once again after nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq3wamnwvaz7tmjv4kxz7fwdehhxarj9e3xzmny9uqzqj8a67jths8euy33v5yu6me6ngua5v3y3qq3dswuqh2pejmtls6datagmu rekindled my interest with his PoW Draw project. It was a fun little trifle, but it shifted my focus just the right way at the right time. Because then, on Friday, came the [Oval Office Travesty](nostr:nevent1qvzqqqqqqypzpmym6ar92346qc04ml08z6j0yrelylkv9r9ysurhte0g2003r2wsqy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qghwaehxw309aex2mrp0yhxummnw3ezucnpdejz7qpqqqqqqqrg6vz7m9z8ufagn4z3ks0meqw4nyh4gfxvksfhne99egzsd3g3w9). Once I got over the initial shock, I decided I couldn't just curse and lament; I needed to do something bigger, something symbolic, something expressive. So that's exactly what I did—breaking nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcqyqewrqnkx4zsaweutf739s0cu7et29zrntqs5elw70vlm8zudr3y2t9v7jg's record which he held for almost 2 and half years. Here is a note with PoW 45, the highest PoW known to Nostr (as of now). nostr:nevent1qvzqqqqqqypzpmym6ar92346qc04ml08z6j0yrelylkv9r9ysurhte0g2003r2wsqy88wumn8ghj7mn0wvhxcmmv9uqsuamnwvaz7tmwdaejumr0dshsqgqqqqqqqqqy8t8awr5c8z4yfp4cr8v7spp8psncv8twlh083flcr582fyu9 ## How Did I Pull It Off? In theory, quite simple: Create note, run PoW mining script & wait. Thanks to PoW Draw, I already had mining software at hand: nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcqyqvqc5tlvn6etv09f0fvuauves49dvgnukjtzsndfv9y8yyrqyxmz7dty6z's [*notemine_hw*](https://github.com/plebemineira/notemine_hw), but when you know that there is a 1 in 2^45 chance that the next hash will be the correct one you want to increase the odds a bit. So on Monday evening, I started my Note Mining operation on an old 40 thread machine called Workhorse. ### Issues Along the Way I was immediately surprised that Workhorse (2× Intel Xeon Silver 4114) produced only about 3Mh/s. A laptop (Intel Core i7-1185G7) with Windows and all the bloat did 5Mh/s. That was strange. Another hurdle was that *notemine_hw* does not refresh the `created_at` field. With just a few Mh/s of power I was potentially looking at weeks of computation, by then the note would be quite stale. So I created systemd service leveraging the `RuntimeMaxSec` option to periodically restart every 3600 seconds assuring that the Note would be max 1 hour old at the time of publishing. Luckily PoW is that kind of problem where every hash attempt is an independent event, so the chance of success is the same whether you do it in small increments or one uninterrupted stretch. So by restarting the mining process I was only losing a few mere seconds every hour due to the overhead. Once the note staleness issue was resolved, I looked at the 40 workers on Workhorse vs. 7 workers on the laptop and start messing around with running one instance with 40 workers and running 40 instances with 1 worker and found out, that the workers are not bound to a CPU thread and are jumping between the CPUs like rabbits high on Colombian carrots. The solution? Running multiple instances with one worker each as a service locked to its own CPU core using systemd's `CPUAffinity` option. ``` $aida@workhorse:systemd/system $ sudo cat notemine@.service [Unit] Description=Notemine HW Publish (restarts hourly) [Service] Type=simple CPUAffinity=%i # The command to run: ExecStart=/home/aida/.cargo/bin/notemine_hw publish --n-workers 1 --difficulty 45 --event-json /home/aida/note.json --relay-url 'wss://wot.shaving.kiwi' --nsec nsec0123456789abcdef # Let the process run for 1 hour (3600 seconds), then systemd will stop it: RuntimeMaxSec=3600 TimeoutStopSec=1 # Tells systemd to restart the service automatically after it stops: Restart=always RestartSec=1 # run as a non-root user: User=aida Group=aida [Install] WantedBy=multi-user.target ``` Then I added a starting service to spawn an instance for each CPU thread. ``` $aida@workhorse:systemd/system $ sudo cat notemine_start.service [Unit] Description=Start all services in sequence with 3-second intervals [Service] Type=oneshot ExecStart=/usr/bin/zsh /home/aida/notemine_start.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target ``` Here is the startup script (I know, loops exist—but Ctrl+C/Ctrl+V is so old-school): ``` aida@workhorse:~ $ cat notemine_start.sh /usr/bin/systemctl start notemine@0.service /usr/bin/sleep 3 /usr/bin/systemctl start notemine@1.service /usr/bin/sleep 3 /usr/bin/systemctl start notemine@2.service /usr/bin/sleep 3 /usr/bin/systemctl start notemine@3.service /usr/bin/sleep 3 ... ... ... /usr/bin/systemctl start notemine@38.service ``` The sleep there is critical to make sure that the `created_at`timestamps are different, preventing redundant hashing. **This adjustment made Workhorse the strongest machine in my fleet with 10+Mh/s.** ## The Luck Aspect From Monday evening, I started adding all machines at my disposal into the fleet and by Wednesday evening I was crunching hashes on about 130 CPU threads (a lot of them were quite antique) and at the peak was just little shy of 40Mh/s. To compensate for the slow start with the few above-mentioned hiccups and the fact that I had to use my desktop to do other things from time to time, I counted with the conservative estimate of 30Mh/s when I was doing all the probability calculations. ![Probability chart](https://otherstuff.shaving.kiwi/ffc0f9502afffffe9a61fb1be2e3b671bfe3bed399324e3aab5a2f436ef389fa.webp) Based on the type of task that PoW mining is, the outcome is not predictible. You are only looking at what is the chance that the outcome of every single independent event will be consecutively non-favourable and then subtracting it from 1 to get the chance of that single favourable event you want. I really had to brush up on my combinatorics and discrete mathematics to make sure I have at least an elementary understanding of what is going on. Also, because we are not just throwing a dice 5 times, but are operating with big numbers, approximation was necessary. Luckily, the formula is available and quite simple in the end. ![PoW chance formula](https://otherstuff.shaving.kiwi/813ef1dc006ac6dfea82224ef6e6c9326c94b00393bdcfd7bbb085c0d1d50f3a.webp) Two weeks to exhauste all the possible tries still doesn't guarantee anything, actually there is a slighlty less than 2 in 3 chance that you will have a result after all that time. So the fact that I was able to hit the right hash in less than 3 days was good luck. Not insane lottery winning luck, but good luck; slighlty lower than 1 in 5. ## Do you want to beat me? Go ahead! All the pitfalls are described above and until there is a GPU-based PoW Mining available, we are all on pretty even ground. ## Do you hate the note? In that case, feel free to enjoy this accompanying image: ![іди нахуй](https://otherstuff.shaving.kiwi/5d2e5c611a5158fcfca0692a0f4f712125f66478036490c27908697a5be90d4c.webp)
Created at:
Fri Mar 7 20:13:38 UTC 2025
Kind:
30023 Unknown kind
Tags:
d pow-45-note-standwithukraine
title I Achieved the Highest PoW Note on Nostr in Under Three Days
summary I broke Nostr's longstanding PoW record by mining this Expressive and Symbolic Note in under three days.
published_at 1741373813
t StandWithUkraine
t PoW
t notemine
image https://otherstuff.shaving.kiwi/25a21e239c0aed0a4af56bae67814d32d2bb3aa24409b2984408dafa97a83086.webp
p 48fdd7a4bbc0f9e12316509cd6f3a9a39da3224880116c1dc05d41ccb6bfc34d
e 0000000068d305ed9447e27a89d451b41fbc81d5992f5424ccb41379e4a5ca05 wss://wot.shaving.kiwi/ mention
p ec9bd7465546ba061f5dfde716a4f20f3f27ecc28ca4870775e5e853df11a9d0
p 32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245
e 0000000000043acfd70e9838aa4486b819d9e804270c27861d6efdde78a7f81d wss://wot.shaving.kiwi/ mention
p 180c517f64f595b1e54bd2ce778ccc2a56b113e5a4b1426d4b0a439083010db1
nonce 26060301 32
4 million hashes per byte
Created at:
Wed Dec 18 12:29:43 UTC 2024
Kind:
30009 Unknown kind
Tags:
d Geyser-Guardian:-King
name Geyser Guardian: King
alt Badge: Geyser Guardian: King
description The King understands the long road to hyper-bitcoinization. Drinking from his enchanted chalice grants him foresight, allowing him to plan flawless strategies to advance Bitcoin adoption. With his golden crown and wise leadership, he inspires unity among Bitcoiners, guiding them toward a prosperous future.
image https://storage.googleapis.com/geyser-images-distribution-prod-us/c7350545-09b1-4bfc-a77c-3ad35989d8d3_guardian_king/image_large.webp
thumb https://storage.googleapis.com/geyser-images-distribution-prod-us/c7350545-09b1-4bfc-a77c-3ad35989d8d3_guardian_king/image_large.webp
nonce 10225 32
3 million hashes per byte
Earlier today, I was part of a conversation with nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qg3waehxw309ahx7um5wgh8w6twv5hsqgqmcu9qzj9n7vtd5vl78jyly037wxkyl7vcqflvwy4eqhxjfa4yzys9v0q7 & nostr:nprofile1qythwumn8ghj7un9d3shjtnwdaehgu3wvfskuep0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qpqehkvx8rdjsrwnf7kkqr8gy42vcwe6vwgqdwrl4juqccp689v8wfqar3ydl in which the word "funny" played a significant role, followed later by some memes—all related to serious stuff. It got me thinking: I genuinely do believe comedy shouldn't have restrictions and that no topic should be considered taboo. So why did it bother me so much this time? Then I realized it's all about the right time and place. You wouldn't tell an autism joke to parents desperately trying to calm their child during a meltdown, and you shouldn't laugh in the face of someone who's just been betrayed and is experiencing deep disillusionment. I'm not anti-humor; I'm pro-compassion. I can live with that. :-)
Created at:
Mon Mar 3 12:30:51 UTC 2025
Kind:
1 Text note
Tags:
p 1bc70a0148b3f316da33fe3c89f23e3e71ac4ff998027ec712b905cd24f6a411 wss://relay.damus.io/
p cdecc31c6d9406e9a7d6b0067412aa661d9d31c8035c3fd65c06301d1cac3b92 wss://relay.nostr.band/
nonce 337042143 32
2 million hashes per byte
meat good.
Created at:
Sat Mar 15 14:39:52 UTC 2025
Kind:
1 Text note
Tags:
miner notemine
client https://sandwichfarm.github.io/notemine
nonce 7628790 29
2 million hashes per byte
meat good.
Created at:
Fri Mar 21 09:59:50 UTC 2025
Kind:
1 Text note
Tags:
miner notemine
client https://sandwichfarm.github.io/notemine
nonce 33825073 30
2 million hashes per byte
meat good.
Created at:
Tue Feb 11 14:28:15 UTC 2025
Kind:
1 Text note
Tags:
miner notemine
client https://sandwichfarm.github.io/notemine
nonce 42335128 29
2 million hashes per byte
meat good.
Created at:
Thu Feb 20 13:56:15 UTC 2025
Kind:
1 Text note
Tags:
miner notemine
client https://sandwichfarm.github.io/notemine
nonce 1163247108 30
2 million hashes per byte
Merry Solstice nostr
Created at:
Sat Dec 21 21:01:48 UTC 2024
Kind:
1 Text note
Tags:
l notemine miner
l https://sandwichfarm.github.io/notemine client
nonce 335134373 30
< prev 4 next >