Hi Frank,
Thanks for reply ...
when you say
/*my name is bob
00000*/
can I ask why you need a 5 bit space ?
ok, I will try to explain my spot ..
00000000 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
the first column is a 8 satoshi bit long ( base 2 )
ps-> ed; I know it sounds kind silly ... but for engineering field they will show on their oscilloscope screen how my code can be awful..
![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
8 "satoshi" bit long...
im not sure what satoshi's has to do with my nonce example. im just taking it as you being humourous to just add the word satoshi into the conversation..
but lets address the nonce example then ill talk about satoshis, the block reward and the end of bitcoin fresh coin production
....
i prefer to dumb things down into laymans ELI-5 speak whenever possible. so that anyone/everyone can understand the basics without having to test peoples knowledge/skill level before giving them advice.
so my example of
my name is bob
00000
that is just me deciding out of the randomness of human decision to press the return key on my keyboard after bob, to put a integer nonce on the second line, yes that nonce is integer (normal human numerics, not binary) just for the sake of human readible demo. so in my demo the nonce would be 5 bytes (40bits)
but like i said i try not to over complicate things
but as my whole post was expressing, that if you are creating your own blocckhain from scratch. you have the freedom to make your own rules and set things up however you like.
if you are interested more in bitcoins function rather than setting up your own blockchain. the white paper and the very first bitcoin client (satoshi-qt0.1 would help you understand the original basics. then once you get the original basics. you can skip passed a few later releases and then look at the latest version to see all the new rules that were added over the years and the new methods of data store and calculating things
...
one thing i will say about binary vs long vs double
although the front end GUI of a program displays funds of peoples public keys as bitcoin
EG
1.05btc
at code level and data storage level. it is all measured in satoshi's
EG
105,000,000 sats
for instance. front end(gui) level says there will be 21m btc eventually.
but at coding level its
5,000,000,000 sats every block(50btc) for 210,000 blocks then it halves(to 2,500,000,000 sats)(25btc).. then every 210,000 blocks it halves again and again until it cant halv any more (in about the year 2140~)
so that eventually there will be around(but not specifically) 2,100,000,000,000,000 satoshis
GUI: 21mill btc
code: 2.1quadrillion sats