Replies: 8 comments 47 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Interesting idea, very simple. I'm curious what the calculation would be considering the parameters you mentioned:
|
Beta Was this translation helpful? Give feedback.
-
I think directing the entire coinbase output into an ecash mint peg-in transaction sacrifices an opportunity to provide increased profit and privacy to users of the mining pool's services. I have two proposals to drive increased profits to the miners: 1) a rare sat ordinal auction and 2) an ecash-powered market for coinbase outputs. Proposal 2 also creates substantial privacy benefits for all users.
In the coinbase output of each new block the 'first' satoshi as defined by the ordinal protocol can be sent to an intermediate output, the connector output. This output can then be included in a PSBT signed with an ALL|ANYONECANPAY sighash flag and shared on ordinal trading marketplaces. This allows any interested party to 'bid' on the rare sat by adding additional inputs to the transaction. Thanks to the semantics of SIGHASH ALL|ANYONECANPAY the value of all added inputs must flow into the miner fee. This transparently and verifiably rewards the pool with all proceeds of the ordinal auction. Block template producers are incentivized to include the transaction paying the highest fee for the rare satoshi.
If the pool uses a PPLNS payout scheme, newly earned bitcoin can be monetized via a privacy preserving auction using ecash tokens as a coinbase futures instrument. It works like this: the pool issues an ecash token for each hashrate share contributed by a miner. If latency is too high, the share difficulty threshold can be increased to give the mint enough time to generate each ecash token. All tokens are equal in value within the same ecash epoch, but their bitcoin value is not determined until the pool mines a new block. Tokens can be freely traded among market participants, but they must be returned to the mining pool before the next block in order to secure a coinbase output. Users can buy a coinbase output by providing a payout address and redeeming enough hashrate share tokens to exceed the payout threshold established by the mining pool. Leftover value from the coinbase should be sent to the pool's custodial wallet, to the ecash mint, or to a lightning node. This is a design decision left to pool operators, and is outside of the scope of this technical proposal. This scheme will create a new private (as in privacy-preserving) free market for UTXOs. Hashrate producers can sell the share-backed ecash tokens they produce, likely for a premium. Purchasers of these tokens will recieve a KYC-free coinbase UTXO with no transaction history. This allows miners to profit from the pristine privacy properties of newly mined bitcoin and creates a free (as in speech) and fair market for privacy-minded bitcoiners to build wealth in secrecy. An ecash mint must periodically rotate the private keys used to sign blinded ecash tokens in order to prevent the database of spent tokens from growing in an unbounded fashion. The period of time during which a private key is used by the mint to sign ecash tokens is known as an epoch. Backing ecash tokens with hashrate shares creates a natural boundary for ecash epochs. The mint simply needs to rotate the private key used to sign ecash tokens with each new block mined by the pool. This enables the mint to publish a proof of liabilities for each block, creating a fully transparent and verifiable record of all the work that went into producing the block. Users can use this report to verify that every ecash token that passed through their possession is accounted for and that the mint did not cheat. In order to control the size of the coinbase transaction, the pool must set a payout threshold below which a coinbase output will not be created. All users who redeem more tokens than the threshold will recieve a coinbase output sent to the address they provided. All other users who redeemed less ecash tokens than required to qualify for a UTXO or who redeem their tokens after the block is mined can choose to maintain a custodial account with the pool or to receive payment via lightning or bitcoin-backed ecash tokens. Off-chain payment will require authentication with the pool. This is a design decision left to each pool operator and, as such, is outside of the scope of this technical proposal. |
Beta Was this translation helpful? Give feedback.
-
Hey there! I'm by no means an expert on mining and mining pools so excuse me if my assumptions are naive. As far as I can tell though, I would implement an ecash-based reward system like this:
What do you gain?
If I'm missing something substantial here, please let me know. Cheers! |
Beta Was this translation helpful? Give feedback.
-
I think a MVP could be: side thought: Can a coinbase splice into a LN channel? isn't a splice a predetermined delay anyway? so that delay could just be 100 blocks? |
Beta Was this translation helpful? Give feedback.
-
btw, I'm drafting a NUT to formalize all these ideas: https://github.com/plebemineira/nuts/blob/nut-pool/X.md cc @callebtc @storopoli @lorenzolfm @a-moreira @jaonoctus @oleonardolima |
Beta Was this translation helpful? Give feedback.
-
https://delvingbitcoin.org/t/ecash-tides-using-cashu-and-stratum-v2/870 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
plebpool
finds a block withThe entire reward of$X_B$ on-chain sats is used to mint an equivalent $X_C$ e-cash sats on
plebpool
mint.Everytime new e-cash is minted, a LN invoice fee ($F_{M}$ ) is paid by the $X_C = X_B - F_M$ sats.
plebpool
mint. So the e-cash block reward hasLet's imagine 3 miners contributed to finding this block.
Therefore, a fair distribution would be:
Everytime the miner withdrawls their reward, an invoice fee$F_W$ is paid on LN. As a result, each miner will get the following rewards on LN:
Let's imagine Carol's hashrate is really small, such that$\frac{h_C}{h_A+h_B+h_C} * X_C - F_W < 0$ . Carol will need to continue contributing hashrate and wait until $F_W$ .
plebpool
finds new blocks, such that the total sum of her e-cash is enough to cover forrefs:
Beta Was this translation helpful? Give feedback.
All reactions