Tomasz Drwięga
|
6c2dd28dfb
|
Merkle Mountain Range pallet improvements (#7891)
* Add stateless verification helper function.
* Split MMR primitives.
* Add RuntimeAPI
* RuntimeAPI with OpaqueLeaves
* Bump spec_version,.
* Move primitives back to frame.
* Fix OpaqueLeaf encoding.
* Add block number to frame_system implementation of LeafDataProvider.
* Relax leaf codec requirements and fix OpaqueLeaf
* Add root to debug line.
* Apply suggestions from code review
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Typo.
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
|
2021-01-28 10:58:52 +00:00 |
|
Bastian Köcher
|
e3e651f72c
|
Happy new year (#7814)
* Happy new year
Updates the copyright years and fixes wrong license headers.
* Fix the template
* Split HEADER into HEADER-APACHE & HEADER-GPL
|
2021-01-04 09:03:13 +00:00 |
|
Guillaume Thiolliere
|
8814d793c7
|
Fix docs (#7710)
* fix docs
* Update frame/merkle-mountain-range/src/lib.rs
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
|
2020-12-10 14:38:56 +01:00 |
|
Tomasz Drwięga
|
02f66e8823
|
Merkle Mountain Range pallet (#7312)
* Add MMR pallet.
* WiP
* Working on testing.
* WiP - test
* Tests passing.
* Add proof generation.
* Generate and verify proofs.
* Allow verification of older proofs.
* Move stuff to a module.
* Split MMR stuff to it's own module.
* Add docs.
* Make parent hash optional.
* LeafData failed approach.
* Finally implement Compact stuff.
* Compact encoding WiP
* Implement remaining pieces.
* Fix tests
* Add docs to compact.
* Implement for tuples.
* Fix documentation.
* Fix warnings and address review suggestion.
* Update frame/merkle-mountain-range/src/primitives.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com>
* Address review grumbles.
* Removing missing crate.
* Fix test.
* Add some docs and test.
* Add multiple instances.
* Cargo.toml sync.
* Fix no_std compilation.
* More no_std stuff.
* Rename MMR struct.
* Addressing other grumbles.
* Fix test.
* Remove format for no_std compat.
* Add test for MMR pallet.
* Fix std feature.
* Update versions.
* Add to node/runtime.
* Add hook to insert digest.
* Make primitives public.
* Update lib.rs
tech spec/typos etc
* Use WeightInfo and benchmarks.
* Fix test.
* Fix benchmarks.
* Trait -> Config.
* Fix typo.
* Fix tests.
Co-authored-by: cheme <emericchevalier.pro@gmail.com>
Co-authored-by: Addie Wagenknecht <addie@nortd.com>
|
2020-12-09 16:35:13 +01:00 |
|