Skip to content

Instantly share code, notes, and snippets.

@ziot
ziot / retracing.py
Created May 20, 2021 18:12
The python script we used to validate angles and retrace the whitepaper
import math
from PIL import Image, ImageDraw, ImageFont
def getText():
f = open("whitepaper.txt", "r")
return f.read()
text = getText()
height = 8192
@ziot
ziot / privatekey.py
Created May 20, 2021 18:13
Script we used to validate angles for the private key, as well extract characters out
import math
from PIL import Image, ImageDraw, ImageFont
height = 8192
width = 8192
im = Image.open('pkey2.png')
draw = ImageDraw.Draw(im)
font = ImageFont.truetype("verdana.ttf", 13)
@ziot
ziot / whitepaper.txt
Created May 20, 2021 18:14
The whitepaper format for zd3n puzzle
Bitcoin:APeer-to-PeerElectronicCashSystemSatoshiNakamotosatoshin@gmx.comwww.bitcoin.orgAbstract.Apurelypeer-to-peerversionofelectroniccashwouldallowonlinepaymentstobesentdirectlyfromonepartytoanotherwithoutgoingthroughafinancialinstitution.Digitalsignaturesprovidepartofthesolution,butthemainbenefitsarelostifatrustedthirdpartyisstillrequiredtopreventdouble-spending.Weproposeasolutiontothedouble-spendingproblemusingapeer-to-peernetwork.Thenetworktimestampstransactionsbyhashingthemintoanongoingchainofhash-basedproof-of-work,formingarecordthatcannotbechangedwithoutredoingtheproof-of-work.Thelongestchainnotonlyservesasproofofthesequenceofeventswitnessed,butproofthatitcamefromthelargestpoolofCPUpower.AslongasamajorityofCPUpoweriscontrolledbynodesthatarenotcooperatingtoattackthenetwork,they'llgeneratethelongestchainandoutpaceattackers.Thenetworkitselfrequiresminimalstructure.Messagesarebroadcastonabesteffortbasis,andnodescanleaveandrejointhenetworkatwill,acceptingthelongestproof-of-workchainasproofofwhathappenedwhil