From rusty at rustcorp.com.au Wed Sep 2 05:42:52 2015 From: rusty at rustcorp.com.au (Rusty Russell) Date: Wed, 02 Sep 2015 15:12:52 +0930 Subject: [Lightning-dev] Loop attack with onion routing.. In-Reply-To: <CAJS_LCWsLA-knnee2juUOMC1WCNrVGg1hNet0R1SDpqTca6ZuQ@mail.gmail.com> References: <874mjujyqe.fsf@rustcorp.com.au> <1440870652.4197.88.camel@hppg6.kloosterkade> <CAJS_LCVQ=JGNmPCHoNHR12wx+c17E1N3meuFb=3UQosjKd0PQw@mail.gmail.com> <1440955107.5747.11.camel@hppg6.kloosterkade> <CAJS_LCWsLA-knnee2juUOMC1WCNrVGg1hNet0R1SDpqTca6ZuQ@mail.gmail.com> Message-ID: <87wpw91in7.fsf@rustcorp.com.au> Anthony Towns <aj at erisian.com.au> writes: > In that case $1 uBTC is $4.80, and 1 satoshi is about 5c; so you couldn't > charge a fee less than 1% for a $5 coffee, and couldn't spend less than 5c > when doing microtransactions. I was momentarily tempted to make HTLCs in thousandths of satoshi. Obviously, you'd have some agreed rounding for the on-chain versions. This has the advantage that you can only have 0.042 BTC (~$10) per HTLC. Cheers, Rusty.