- Toy implementation of bitcoin-like crypto-currency in Spring boot / Kotlin
- The mining is a basic leading zeros hashing proof of work
- The mining difficulty is constant and initialized at the blockchain instantiation
- The mining reward is systematic and constant. The transaction sender cannot leave transaction fee at this stage
- Generating key pairs
ssh-keygen- Convert PEM private to PKCS8 private
openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in id_rsa -out id_rsa.p8- Extract public key from the private key
openssl rsa -in id-rsa -pubout -outform DER -out id_rsa.p8.pub- What is the current bitcoin leading zeros complexity ?
- Is adding one zero of complexity really double up the time in bitcoin ? (difficulty -> avg hashes : 2 -> 7,3 -> 15, 4->32, 5->65)
- my laptop hash capacity: 127960366 hashes in 66 sec. 1_938_793 hash/sec ~ 1.9MHash/sec
- What is the timestamp protocol used in bitcoin ?
- Is the minor/contributor put in the block ? Do we keep track of the minor in the hash (and is it being hashed?)
- Should KBlock always reward with 1.0 ktoken?