Minimal implementation of the Mimblewimble protocol.
Find a file
Antioch Peverell 988a05f023
Enable NRD kernel support (noop) feature flagged ()
* wip

* commit

* add block level validation rule around NRD kernels and HF3 block height

* wip

* test coverage for kernel ser/deser for NRD kernels

* add some type safety around ser/deser of nrd relative height

* cleanup

* cleanup tx sig handling and add tests around NRD kernel sig

* test coverage for chain apply block containing NRD kernel

* verify kernel variants when adding tx to pool
NRD kernels will not be accepted until HF3

* add txpool test for NRD kernel handling

* fix merge

* fix api for NRD kernels

* commit

* wip - feature flag for NRD kernel support

* wip

* global config and thread local feature flag for NRD kernel support

* add feature flag support for NRD kernels
default to false when starting up node
allow it to be set to true in context of individual tests

* feature flag

* explicit testing of NRD kernel via feature flag

* add chain_type and feature flag logging on startup

* PR feedback and cleanup

* PR feedback
2020-05-29 09:56:24 +01:00
.cargo windows cargo settings () 2019-02-26 16:48:45 +00:00
.ci Update Cursive to 0.14 and update backend. () 2020-04-17 15:41:55 -04:00
.github Update contributing guidelines () 2019-02-19 14:29:58 +00:00
.hooks chore: pre-commit hook - format all staged files, re-add then commit () 2019-10-07 21:00:41 +01:00
api Enable NRD kernel support (noop) feature flagged () 2020-05-29 09:56:24 +01:00
chain Enable NRD kernel support (noop) feature flagged () 2020-05-29 09:56:24 +01:00
config Less cloning and pattern simplifications () 2020-04-24 11:19:34 +02:00
core Enable NRD kernel support (noop) feature flagged () 2020-05-29 09:56:24 +01:00
doc Update link to podcast featuring tromp () 2020-03-30 11:10:42 -05:00
etc thread local chain type vs global chain type () 2020-05-22 12:51:58 +01:00
keychain add test to demonstrate pair of "half" kernels sharing same public excess () 2020-05-28 15:26:18 +01:00
p2p thread local chain type vs global chain type () 2020-05-22 12:51:58 +01:00
pool Enable NRD kernel support (noop) feature flagged () 2020-05-29 09:56:24 +01:00
servers Remove compiler warning () 2020-05-21 13:08:01 -04:00
src Enable NRD kernel support (noop) feature flagged () 2020-05-29 09:56:24 +01:00
store Reduce memory allocations in PMMR () 2020-05-24 16:50:27 +01:00
util thread local chain type vs global chain type () 2020-05-22 12:51:58 +01:00
.editorconfig [1.1.0] Merge master into 1.1.0 () 2019-04-01 11:47:48 +01:00
.gitignore ignore .vscode () 2020-05-24 23:34:33 +02:00
azure-pipelines.yml Use latest hosted agent for CI () 2020-04-14 09:25:10 -04:00
Cargo.lock Update () 2020-05-12 11:48:18 -04:00
Cargo.toml Update Cursive to 0.14 and update backend. () 2020-04-17 15:41:55 -04:00
CODE_OF_CONDUCT.md Many typo fixes () 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md Remove old website for grin.mw () 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 () 2020-01-30 17:08:20 -05:00
rustfmt.toml Update hyper/tokio/futures dependencies () 2020-02-18 23:45:27 +01:00
SECURITY.md Remove old website for grin.mw () 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.