Minimal implementation of the Mimblewimble protocol.
Find a file
Simon B 8b2f9503c9 Make total_difficulty the sum of network difficulty [testnet2] (#523)
* Make total_difficulty the sum of network difficulty, not whatever the miner happened to mine.
  - Only for Testnet2 / Mainnet (hardforks Testnet1)
  - update chain::pipe validate_header to validate according to Testnet2 rules for cumulative difference

Fixes #280

* tests that should ignore (network) difficulty

* fn new_block is explained as "utility to create a block without worrying about the key or previous header" so it gets network difficulty := 0 too

* update tx pool tests (going with "minimum" for network difficulty for now)

* add ERR outputs about bannable offences
(#406 should know about these)

* whitespace fix

* mine_simple_chain: Probably DON'T overwrite difficulty (?)

* core/mod tests "reward_empty_block" and "reward_with_tx_block" tests set to use lowest network difficulty possible
2018-01-12 18:35:37 +00:00
.hooks fix the bash array loop 2017-12-20 15:37:23 -05:00
api Update ``grin client status`` (#599) 2018-01-11 05:25:48 +00:00
chain Make total_difficulty the sum of network difficulty [testnet2] (#523) 2018-01-12 18:35:37 +00:00
config Forgotten testnet1 cherries (#475) 2017-12-13 21:52:21 +00:00
core Make total_difficulty the sum of network difficulty [testnet2] (#523) 2018-01-12 18:35:37 +00:00
doc Minor edits to FAQ (#602) 2018-01-12 09:43:31 +00:00
grin Make total_difficulty the sum of network difficulty [testnet2] (#523) 2018-01-12 18:35:37 +00:00
keychain [WIP] Aggsig Transactions (#530) 2018-01-10 19:36:27 +00:00
p2p Add POST peers/a.b.c.d/unban in REST API (#571) 2018-01-04 03:25:14 +00:00
pool Make total_difficulty the sum of network difficulty [testnet2] (#523) 2018-01-12 18:35:37 +00:00
pow miner timing resolution (#351) 2017-11-20 22:57:36 +00:00
src/bin [wallet] panic: 'attempt to subtract with overflow' when sending small quantities #396 (#603) 2018-01-12 12:44:15 +00:00
store pmmr should not depend on switch_commit_hash to identify utxo (#576) 2018-01-04 13:38:46 -05:00
util [WIP] Aggsig Transactions (#530) 2018-01-10 19:36:27 +00:00
wallet [wallet] panic: 'attempt to subtract with overflow' when sending small quantities #396 (#603) 2018-01-12 12:44:15 +00:00
.gitignore Markdown fixes + gitignore addition (#334) 2017-11-20 14:33:35 +00:00
.travis.yml Adding kcov code coverage to chain and core modules (#547) 2018-01-06 20:54:46 +00:00
Cargo.toml Update ``grin client status`` (#599) 2018-01-11 05:25:48 +00:00
CODE_OF_CONDUCT.md Update moderation team email 2017-09-29 20:50:49 +00:00
CONTRIBUTING.md updating contribution guidelines with info on how to submit documentation changes 2017-11-07 21:45:52 +00:00
grin.toml better error messages + some cleanup (#497) 2017-12-18 08:17:11 -05:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Add kcov support (#545) 2017-12-27 02:09:10 +00:00
rustfmt.toml Start of a binary file for the grin node 2017-04-24 18:55:01 -07: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 (at least to start with).
  • Relatively fast block time (a minute or less, possibly decreasing as networks improve).
  • Fixed block reward, both over time and in blocks (fees are not additive).
  • Transaction fees are based on the number of UTXO 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 disrepect 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.