Skip to content

Instantly share code, notes, and snippets.

@phyro
Last active March 21, 2023 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phyro/7e49cbd9ea07d6d4f7b82ab28f5254ca to your computer and use it in GitHub Desktop.
Save phyro/7e49cbd9ea07d6d4f7b82ab28f5254ca to your computer and use it in GitHub Desktop.

a

Consensus:                 Cuckoo cycle PoW (spec[2], code[3])
Chain validity:            Σkernels + offset*G = Σoutputs - height*60e9*H
Tx validity:               Σkernels + offset*G = Σoutputs - Σinputs
Monetary policy:           1 coin per second forever
Supply:                    height*60
DAA:                       last_diff * W / (W - BLOCK_TIME_SEC + last_block_time) (code[1])
Scripting:                 Scriptless scripts
Output:                    commitment + rangeproof (33 + 670 bytes)
Spent output:              /

[1] https://github.com/mimblewimble/grin/blob/master/core/src/consensus.rs#L376-L377
[2] https://github.com/tromp/cuckoo/blob/master/doc/mathspec
[3] https://github.com/tromp/cuckoo/blob/master/doc/spec                        
@Anynomouss
Copy link

Cool material, I will upload it in https://github.com/grincc/hub/tree/main/marketing
Do you also have the 'Smile to your past, Grin to your future' gif somewhere on git? Downloading it from Twitter is surprisingly difficult.

@phyro
Copy link
Author

phyro commented Aug 26, 2022

@Anynomouss I hope downloading it from here works https://ibb.co/vhd4mzc. The credit goes to MWgrin_fr on twitter. Btw, I've edited some entries in the above list after tromp correct me in some parts, so if you already uploaded it, you should probably do it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment