8 Commits

Author SHA1 Message Date
Quake Wang ea53d5cd45 Merge pull request #44 from eval-exec/exec/bump-0.6.1
bump version to 0.6.1
2025-03-11 12:02:53 +09:00
Eval EXEC dcf3ff85db bump version to 0.6.1 2025-03-11 10:48:30 +08:00
Quake Wang e049986f9c Merge pull request #43 from eval-exec/exec/msrv
cargo: set MSRV to 1.60.0
2025-03-11 11:41:26 +09:00
Eval EXEC 29afe7ad15 cargo: set MSRV to 1.60.0 2025-03-10 16:29:41 +08:00
Quake Wang 5c33c7af57 Merge pull request #41 from dlachaume/fix-typo
fix: typo in error message for invalid leaves
2025-03-04 11:26:47 +09:00
Damien Lachaume becf6e3430 fix: typo in error message for invalid leaves 2025-03-03 15:11:25 +01:00
Quake Wang 20c1987d8d Merge pull request #40 from Lederstrumpf/Lederstrumpf-add-license
Add explicit MIT license
2024-12-11 18:29:13 +09:00
Robert Hambrock 246da2661d Create LICENSE 2024-09-11 11:23:07 +02:00
3 changed files with 24 additions and 2 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
[package]
name = "ckb-merkle-mountain-range"
version = "0.6.0"
version = "0.6.1"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"
rust-version = "1.60.0"
license = "MIT"
description = "A generalized merkle mountain range implementation"
repository = "https://github.com/nervosnetwork/merkle-mountain-range"
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 nervosnetwork
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+1 -1
View File
@@ -25,7 +25,7 @@ impl core::fmt::Display for Error {
StoreError(msg) => write!(f, "Store error {}", msg)?,
CorruptedProof => write!(f, "Corrupted proof")?,
NodeProofsNotSupported => write!(f, "Tried to verify membership of a non-leaf")?,
GenProofForInvalidLeaves => write!(f, "Generate proof ofr invalid leaves")?,
GenProofForInvalidLeaves => write!(f, "Generate proof for invalid leaves")?,
MergeError(msg) => write!(f, "Merge error {}", msg)?,
}
Ok(())