Bitcoin Forum
November 01, 2024, 08:35:18 PM *
News: Bitcoin Pumpkin Carving Contest
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Sustainable nanopayment idea: Probabilistic Payments  (Read 6485 times)
casascius (OP)
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1140


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
April 06, 2012, 07:40:08 PM
 #21

Just realized the setup would have to be performed for each nanopayment. Your 1 in 10000 chance becomes a 1 in 9999 chance after one choice is eliminated. Repeat that 5000 times and you're paying twice what you should be. Not necessarily a big deal if the setup is embedded into the communication about the service bought with the payment to avoid extra round trips.

Repeat it 5000 times to the same merchant in a short period of time and you're probably consuming enough that a nanopayment no longer makes sense.  Just pay 0.5 BTC to the intended recipient the normal way.  This is intended as a way for moneybees to casually and anonymously pay for bits of pollen from lots of payflowers without burdening the block chain with dust spam - not so much for people to buy a jar of honey.


Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
DeepBit
Donator
Hero Member
*
Offline Offline

Activity: 532
Merit: 501


We have cookies


View Profile WWW
April 07, 2012, 01:55:44 AM
 #22

When Alice sends a share to Bob, she signs a transaction that looks like this:  OP_DUP OP_HASH160 <bobs-address> OP_EQUALVERIFY OP_2DUP OP_CHECKSIGVERIFY OP_HASH160 OP_SWAP OP_HASH160 OP_XOR <constant:10000> OP_MOD OP_0 OP_EQUAL

NOW, HOW ON EARTH DOES THAT SCRIPT SOUP WORK?
At least not as intended :)

Sadly most opcodes are crippled, disabled or useless. For example, math opcodes can only work on 4-byte numbers, so 160-bit hashes won't give the result you are expecting.

Welcome to my bitcoin mining pool: https://deepbit.net ~ 3600 GH/s, Both payment schemes, instant payout, no invalid blocks !
Coming soon: ICBIT Trading platform
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
October 30, 2013, 01:19:15 PM
 #23

I think there's a simpler way that only needs standard transactions and works with the network as-is. I wrote it up in a wiki article:
https://en.bitcoin.it/wiki/Nanopayments

In a nutshell... Bob makes a secret transaction. He tells Alice the hash is in a certain range and Alice tries to guess its hash. Her transaction depends on Bob's, so if she guesses wrong, her transaction is invalid for spending a nonexistent transaction.


This sounds really good. Would any of the suggested methods actually work?

hi-entropy
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 31, 2013, 12:56:55 PM
 #24

phelix, I'm pretty sure that jevon's idea works as-is. I wrote a sample implementation in Node: https://github.com/hi-entropy/bitcoin-nanopayment
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
October 31, 2013, 03:19:40 PM
 #25

phelix, I'm pretty sure that jevon's idea works as-is. I wrote a sample implementation in Node: https://github.com/hi-entropy/bitcoin-nanopayment
Nice!

Each payment requires two transactions (hence double the transaction fee)
I assume you mean "each actual payment"?
hi-entropy
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
November 02, 2013, 10:42:35 PM
 #26

Each payment requires two transactions (hence double the transaction fee)
I assume you mean "each actual payment"?

Right, I meant that each interaction that results in a payment going through actually consists of two transactions. I'll try to figure out a better way to word that.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!