diff --git a/images/mbc2_abin08.png b/images/mbc2_abin08.png deleted file mode 100755 index 9ea86e7d..00000000 Binary files a/images/mbc2_abin08.png and /dev/null differ diff --git a/images/mbc2_abin09.png b/images/mbc2_abin09.png deleted file mode 100755 index 51c5e5e9..00000000 Binary files a/images/mbc2_abin09.png and /dev/null differ diff --git a/images/mbc2_abin10.png b/images/mbc2_abin10.png deleted file mode 100755 index 2a0f027e..00000000 Binary files a/images/mbc2_abin10.png and /dev/null differ diff --git a/images/mbc2_abin11.png b/images/mbc2_abin11.png deleted file mode 100755 index e94ac0dd..00000000 Binary files a/images/mbc2_abin11.png and /dev/null differ diff --git a/whitepaper.adoc b/whitepaper.adoc index bf8df23e..c70f6284 100644 --- a/whitepaper.adoc +++ b/whitepaper.adoc @@ -113,7 +113,62 @@ q = probability the attacker finds the next block q~z~ = probability the attacker will ever catch up from z blocks behind -image::images/mbc2_abin08.png["eq1"] +++++ +
+ + + + q + z + + = + + { + + + + 1 + + + + 𝑖𝑓 + + p + + q + + + + + + + ( + q + + p + + ) + z + + + + + + 𝑖𝑓 + + p + > + q + + + + + } + + + +
+++++ Given our assumption that p > q, the probability drops exponentially as the number of blocks the attacker has to catch up with increases. With the odds against him, if he doesn't make a lucky lunge forward early on, his chances become vanishingly small as he falls further behind. @@ -123,15 +178,175 @@ The receiver generates a new key pair and gives the public key to the sender sho The recipient waits until the transaction has been added to a block and z blocks have been linked after it. He doesn't know the exact amount of progress the attacker has made, but assuming the honest blocks took the average expected time per block, the attacker's potential progress will be a Poisson distribution with expected value: -image::images/mbc2_abin09.png["eq2"] +++++ +
+ + + λ + = + z + + q + p + + + +
+++++ To get the probability the attacker could still catch up now, we multiply the Poisson density for each amount of progress he could have made by the probability he could catch up from that point: -image::images/mbc2_abin10.png["eq3"] +++++ +
+ + + + + + + k + = + 0 + + + + + + + + λ + k + + + e + + + λ + + + + + k + ! + + + + + { + + + + + ( + q + + p + + ) + + ( + z + + k + ) + + + + + + + 𝑖𝑓 + + k + + z + + + + + + 1 + + + + 𝑖𝑓 + + k + > + z + + + + + } + + + +
+++++ Rearranging to avoid summing the infinite tail of the distribution... -image::images/mbc2_abin11.png["eq4"] +++++ +
+ + + 1 + + + + + + k + = + 0 + + z + + + + + + λ + k + + + e + + + λ + + + + + k + ! + + + + ( + 1 + + ( + q + + p + + ) + + ( + z + + k + ) + + + ) + + + +
+++++ Converting to C code...