Minimal implementation of the Mimblewimble protocol.
Find a file
Antioch Peverell ebd801f14e
Transaction contain kernels. Transactions and blocks maintain a kernel offset (split key). (#681)
* WIP - split the key in final tx step
store "offset" on transaction itself

* rebase

* commit

* tx with offset

* got a test tx validating successfully using a sig from a split key and the appropriate offset

* sum up the offset for the block_header

* fix size tests for blocks and compact blocks (header now includes offset)

* use txs with offsets in most of the core tests
some tests now failing

* build kernel from k1G (k2 stored on tx, sum stored on header)

* commit

* tx now has vec of kernels
rework tx and kernel validation

* add test for tx cut_through

* wip - working on splitting in aggsig

* split the key when creating the initial sender aggsig context

* cleanup

* cleanup

* code needs claning up but split keys working for sender/receiver aggsig flow

* cleanup debug logging

* fix tests

* fix merge and basic cleanup

* fix keychain tests to use new tx_id
2018-02-13 10:35:30 -05:00
.hooks fix the bash array loop 2017-12-20 15:37:23 -05:00
api Clean server shutdown, generalizes usage of Weak (#700) 2018-02-13 00:38:52 +00:00
chain Transaction contain kernels. Transactions and blocks maintain a kernel offset (split key). (#681) 2018-02-13 10:35:30 -05:00
config [WIP] Abridged sync (#440) 2018-02-09 22:32:16 +00:00
core Transaction contain kernels. Transactions and blocks maintain a kernel offset (split key). (#681) 2018-02-13 10:35:30 -05:00
doc clarify transaction weight on diagram 2018-02-12 13:22:59 +00:00
grin Transaction contain kernels. Transactions and blocks maintain a kernel offset (split key). (#681) 2018-02-13 10:35:30 -05:00
keychain Transaction contain kernels. Transactions and blocks maintain a kernel offset (split key). (#681) 2018-02-13 10:35:30 -05:00
p2p Clean server shutdown, generalizes usage of Weak (#700) 2018-02-13 00:38:52 +00:00
pool Transaction contain kernels. Transactions and blocks maintain a kernel offset (split key). (#681) 2018-02-13 10:35:30 -05:00
pow attempt to make CUDA gcc detection a bit more robust and handle more cases 2018-02-09 11:18:14 +00:00
src/bin List connected peers (#680) 2018-02-03 00:37:35 +00:00
store [WIP] Abridged sync (#440) 2018-02-09 22:32:16 +00:00
util [WIP] Abridged sync (#440) 2018-02-09 22:32:16 +00:00
wallet Transaction contain kernels. Transactions and blocks maintain a kernel offset (split key). (#681) 2018-02-13 10:35:30 -05: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 List connected peers (#680) 2018-02-03 00:37:35 +00:00
CODE_OF_CONDUCT.md fix grammar issue (go the extra step --> go the extra mile) (#688) 2018-02-07 10:00:42 +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 update cuda mining defaults and trompcode 2018-02-07 21:00:58 +00: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.