Minimal implementation of the Mimblewimble protocol.
Find a file
Ignotus Peverell ecf736d78a
Merge pull request #2196 from mimblewimble/floonet
* Get last bitcon block hash, setup genesis header without PoW (for now)
* More a few properties to mainnet genesis. Don't get too excited, several are placeholders.
* Mine a valid Cuckaroo solution for genesis block
* Use miner as library to get a solution for genesis. Replace final values in genesis.rs before committing it.
* Complete genesis replacement
* Fixed various replacements to obtain a compilable, well-formed genesis
* Check plugin errors, uncomment PoW validation
* Fixes to nonce handling in genesis mining
* Also produce full block hashes
* Fix genesis hash test
* Switch commitments (#2157)
* [Floonet] Use switch commits for all blinding factors (#2178)
* move wallet mods back into dirs
* use switched keys for blinding factor in all cases
* re-implement flag to turn off switch commit derivation
* rename tx log entry field tx_hex -> stored_tx (#2181)
* [Floonet] add feature for height locked kernels (#2168)
* add feature for height locked kernels
* add function to compute kernel features appropriate for lock height, and use it
* only sign kernel-features relevant fields; refactor Features
* simplify invalid kernel logic
* remove unused height arg to reward::output and run some rustfmt
* replace nested if/else by match
* Floonet chain type and genesis, testnets cleanup (#2182)
* [Floonet] Encrypt private slate data upon storage in DB (#2189)
* xor encrypt stored nonce and blind sum in transaction data
* stop doc tests splatting wallet files throughout
* Remove bzip2 dependency
* Changed magic number and seeds for Floonet (#2188)
* Genesis generator now loads a local wallet seed to build coinbase.
* Floonet genesis block
* Add floonet to generated grin-server.toml comments
* Test with final Floonet genesis hashes
* Fix get_header_for_output for genesis (#2192)
* start search with min height 0 (#2195)
2018-12-20 18:12:08 -08:00
.hooks cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
api [Floonet] add feature for height locked kernels (#2168) 2018-12-18 18:26:34 +00:00
chain start search with min height 0 (#2195) 2018-12-20 22:37:13 +00:00
config Add floonet to generated grin-server.toml comments 2018-12-20 21:04:57 +00:00
core Merge pull request #2196 from mimblewimble/floonet 2018-12-20 18:12:08 -08:00
doc Remove bit about ASIC resistant mining algo 2018-12-19 14:42:54 -08:00
etc Changed magic number and seeds for Floonet (#2188) 2018-12-20 11:08:01 -08:00
keychain [Floonet] Use switch commits for all blinding factors (#2178) 2018-12-18 15:44:55 +00:00
p2p Changed magic number and seeds for Floonet (#2188) 2018-12-20 11:08:01 -08:00
pool [Floonet] add feature for height locked kernels (#2168) 2018-12-18 18:26:34 +00:00
servers Merge pull request #2196 from mimblewimble/floonet 2018-12-20 18:12:08 -08:00
src TUI mining server status: add blocks found statistics (#2151) 2018-12-15 10:10:33 +08:00
store Clean shutdown via stop_state (#2117) 2018-12-11 11:07:41 +00:00
util Remove bzip2 dependency 2018-12-20 13:15:46 +00:00
wallet [Floonet] Encrypt private slate data upon storage in DB (#2189) 2018-12-20 13:10:36 +00:00
.auto-release.sh chore: automatic binaries release (#1540) 2018-09-25 08:37:24 +08:00
.editorconfig Add a .editorconfig file 2018-05-07 10:08:55 -04:00
.gitignore Sign kernel features (#2104) 2018-12-12 09:19:36 +00:00
.gitlab-ci.yml Add gitlab ci config (#860) 2018-03-25 17:41:49 +00:00
.travis.yml fix travis-ci test suite for wallet_command_line test (#2155) 2018-12-14 22:37:45 +08:00
Cargo.lock Remove bzip2 dependency 2018-12-20 13:15:46 +00:00
Cargo.toml Merged upstream 2018-12-11 18:54:44 +00:00
CODE_OF_CONDUCT.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md docs: contributing.md twitter link for the council (#1708) 2018-10-10 09:52:06 +08:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Readme twitter link for the council 2018-10-09 18:39:34 +00:00
rustfmt.toml cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
SECURITY.md Fix domain for my email address 2018-12-19 12:11:42 -08:00

Build Status Gitter chat Codecov coverage status

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, aiming to stay as such.
  • Follows the MimbleWimble protocol, which provides great anonymity and scaling characteristics.
  • Cuckoo Cycle proof of work.
  • Relatively fast block time (a 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 still an infant, 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.