Skip to content

Instantly share code, notes, and snippets.

View digitsu's full-sized avatar

digitsu digitsu

View GitHub Profile
@digitsu
digitsu / gist:35eb31bd50178a2cfb4f30751e8b3186
Created April 2, 2016 06:45
problem with lightning security model
ah hello
digitsu
cool, yeah, what you described was pretty much my understanding. But I have a question.
digitsu
what if Dave discloses R, and then Carol becomes unresponsive?
digitsu
at this point, carol should be using R to pull funds from Bob, but she dies instead.
digitsu
then what incentive would Dave have to give back the money to Alice (through a return path) he is paid.
digitsu
@digitsu
digitsu / Importance of Skepticism
Last active February 1, 2016 02:02
Carl Sagan on Skepticism
Science is more than a body of knowledge, it is a way of thinking, a way of being skeptical and skeptically interrogating the universe,
with the full knowledge of human fallibility.
If we are not taught to ask skeptical questions, to interrogate those who tell us that something is true, to be skeptical of those
in authority, then we are up for grabs, to the next charlatan, political or religious person ambling along.
It is something that Jefferson laid great stress on, that it is not enough to enshrine some rights into a constitution,
and a bill of rights. The people have to be educated, and have to learn to practice their skepticism,
otherwise we don't run the government, the government runs us. --Carl Sagan
>Peter Todd: https://petertodd.org/2016/soft-forks-are-safer-than-hard-forks
>This time the blocks from miners adopting the fork are considered invalid by the those who haven’t adopted, because the blocks violate >existing rules. So the non-adopting miners build on each others blocks, creating two separate chains. There’s no limit to how long the >old chain gets;
No theoretical limit. But certainly a very large economic limit as miners not on the majority fork is losing 10k every 10minutes. To ignore this is to ignore economic realities and focus only on theoretical hypothetical situations.
>transactions on the old chain can easily get 6+ confirmations even though they’re considered invalid by the majority of hashing power.
6 confirmations on a losing minority fork of 25% (in reality it will be a lot less) will take 4hours, instead of the normal 1h. You (wallet operator) would _certainly_ notice something is wrong.
>This is a serious problem! Currently most (all?) SPV wallets don’t even check the block ve

Keybase proof

I hereby claim:

  • I am digitsu on github.
  • I am digitsu (https://keybase.io/digitsu) on keybase.
  • I have a public key whose fingerprint is A84C 5917 D258 3774 65A9 5EFC DAC7 4838 1E76 23F0

To claim this, I am signing this object:

Verifying I am +digitsu on my passcard. https://onename.com/digitsu