Skip to content

Instantly share code, notes, and snippets.

View BawdyAnarchist's full-sized avatar

BawdyAnarchist BawdyAnarchist

View GitHub Profile
@Rucknium
Rucknium / qubic-monero-hashpower-share.md
Last active August 3, 2025 14:13
Qubic Monero Hashpower Share

Qubic Monero Hashpower Share

UPDATE 31 JULY 2025: Qubic has changed the view key of its mining wallet. This Gist can no longer use the previous methodology to estimate Qubic's hashpower share. I am working on a realtime web app to display Qubic-related information.


Qubic claims to be mining a large number of Monero blocks. This note plots apparent Qubic mining data.

Qubic's purported Monero wallet view key is here: https://github.com/qubic/outsourced-computing/blob/score-tracker/monero-poc/README.md#qubics-monero-wallet-address

SAS: Succinct Atomic Swap

Works today with [single signer ECDSA adaptor signatures][0], or with Schnorr + MuSig.
Other than the explanation below, there's also a diagram and a video.

 
Advantages:

  • Requires merely two on-chain transactions for successful completion, as opposed to four
  • Scriptless, and one of the chains doesn't need to support timelocks
  • Can be used for efficient privacy swaps, e.g. [Payswap][1]
@taterbase
taterbase / upload.php
Created May 13, 2012 15:03
Simple file upload in php
<!DOCTYPE html>
<html>
<head>
<title>Upload your files</title>
</head>
<body>
<form enctype="multipart/form-data" action="upload.php" method="POST">
<p>Upload your file</p>
<input type="file" name="uploaded_file"></input><br />
<input type="submit" value="Upload"></input>