Minimal implementation of the Mimblewimble protocol.
Find a file
Antioch Peverell 6faa0e8d75
thread local chain type vs global chain type (#3327)
* Introduce GLOBAL_CHAIN_TYPE and make CHAIN_TYPE thread_local.
This makes testing more explicit and significantly more robust.

* set_local_chain_type() in tests

* cleanup - weird

* get pool tests working with explicit local chain_type config

* core tests working with explicit local chain_type

* p2p tests working with explicit local chain_type

* store tests working

* cleanup, feedback
2020-05-22 12:51:58 +01:00
.cargo windows cargo settings (#2632) 2019-02-26 16:48:45 +00:00
.ci Update Cursive to 0.14 and update backend. (#3291) 2020-04-17 15:41:55 -04:00
.github Update contributing guidelines (#2563) 2019-02-19 14:29:58 +00:00
.hooks chore: pre-commit hook - format all staged files, re-add then commit (#3078) 2019-10-07 21:00:41 +01:00
api Adding kernel_mmr_size and output_mmr_size to BlockHeaderPrintable (#3329) 2020-05-22 10:10:14 +01:00
chain thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
config Less cloning and pattern simplifications (#3305) 2020-04-24 11:19:34 +02:00
core thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
doc Update link to podcast featuring tromp (#3283) 2020-03-30 11:10:42 -05:00
etc thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
keychain Pass byte slice to to_hex (#3307) 2020-04-24 11:18:26 +02:00
p2p thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
pool thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
servers Remove compiler warning (#3331) 2020-05-21 13:08:01 -04:00
src thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
store thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
util thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
.editorconfig [1.1.0] Merge master into 1.1.0 (#2720) 2019-04-01 11:47:48 +01:00
.gitignore Cleanup redundant AsFixedBytes and FixedLength traits (#3131) 2020-01-29 13:41:50 +00:00
azure-pipelines.yml Use latest hosted agent for CI (#3278) 2020-04-14 09:25:10 -04:00
Cargo.lock Update (#3324) 2020-05-12 11:48:18 -04:00
Cargo.toml Update Cursive to 0.14 and update backend. (#3291) 2020-04-17 15:41:55 -04:00
CODE_OF_CONDUCT.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md Remove old website for grin.mw (#3195) 2020-01-17 16:29:55 -05:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Replace Gitter by Keybase in README.MD (#3215) 2020-01-30 17:08:20 -05:00
rustfmt.toml Update hyper/tokio/futures dependencies (#3214) 2020-02-18 23:45:27 +01:00
SECURITY.md Remove old website for grin.mw (#3195) 2020-01-17 16:29:55 -05:00

Build Status Coverage Status Chat Support Documentation Wiki Release Version License

Grin

Grin is an in-progress implementation of the Mimblewimble protocol. Many characteristics are still undefined but the following constitutes a first set of choices:

  • Clean and minimal implementation, and aiming to stay as such.
  • Follows the Mimblewimble protocol, which provides hidden amounts and scaling advantages.
  • Cuckoo Cycle proof of work in two variants named Cuckaroo (ASIC-resistant) and Cuckatoo (ASIC-targeted).
  • Relatively fast block time: one minute.
  • Fixed block reward over time with a decreasing dilution.
  • Transaction fees are based on the number of Outputs created/destroyed and total transaction size.
  • Smooth curve for difficulty adjustments.

To learn more, read our introduction to Mimblewimble and Grin.

Status

Grin is live with mainnet. Still, much is left to be done and contributions are welcome (see below). Check our mailing list archives for the latest status.

Contributing

To get involved, read our contributing docs.

Find us:

Getting Started

To learn more about the technology, read our introduction.

To build and try out Grin, see the build docs.

Philosophy

Grin likes itself small and easy on the eyes. It wants to be inclusive and welcoming for all walks of life, without judgement. Grin is terribly ambitious, but not at the detriment of others, rather to further us all. It may have strong opinions to stay in line with its objectives, which doesn't mean disrespect of others' ideas.

We believe in pull requests, data and scientific research. We do not believe in unfounded beliefs.

Credits

Tom Elvis Jedusor for the first formulation of Mimblewimble.

Andrew Poelstra for his related work and improvements.

John Tromp for the Cuckoo Cycle proof of work.

J.K. Rowling for making it despite extraordinary adversity.

License

Apache License v2.0.