Al-Kindi-0
92aee341cc
chore: update changelog
4 months ago
Philipp Gackstatter
a27f9ad828
refactor: use `thiserror` to derive errors and update error messages ( #344 )
4 months ago
Al-Kindi-0
50dd6bda19
fix: skip using the field element containing the proof-of-work ( #343 )
5 months ago
Bobbin Threadbare
ee20a49953
chore: increment crate version to v0.12.0 and update changelog
5 months ago
Al-Kindi-0
0d75e3593b
chore: migrate to Winterfell v0.10.0 release ( #338 )
5 months ago
Bobbin Threadbare
689cc93ed1
chore: update crate version to v0.11.0 and set MSRV to 1.82
6 months ago
Al-Kindi-0
a734dace1e
feat: update RPO's padding rule to use that in the xHash paper ( #318 )
6 months ago
Andrey Khmuro
940cc04670
feat: add `Smt::is_empty` ( #337 )
6 months ago
Andrey Khmuro
e82baa35bb
feat: return error instead of panic during MMR verification ( #335 )
6 months ago
Bobbin Threadbare
876d1bf97a
chore: update crate version v0.10.3
6 months ago
Bobbin Threadbare
c2eb38c236
chore: increment crate version to v0.10.2
6 months ago
Philipp Gackstatter
a924ac6b81
feat: Add size hint for digests ( #330 )
6 months ago
Bobbin Threadbare
e214608c85
fix: bug introduced due to merging
7 months ago
Bobbin Threadbare
e34900c7d8
chore: update version to v0.10.1
7 months ago
Santiago Pittella
2b184cd4ca
feat: add de/serialization to `InOrderIndex` and `PartialMmr` ( #329 )
7 months ago
Qyriad
ae807a47ae
feat: implement transactional Smt insertion ( #327 )
* feat(smt): impl constructing leaves that don't yet exist
This commit implements 'prospective leaf construction' -- computing
sparse Merkle tree leaves for a key-value insertion without actually
performing that insertion.
For SimpleSmt, this is trivial, since the leaf type is simply the value
being inserted.
For the full Smt, the new leaf payload depends on the existing payload
in that leaf. Since almost all leaves are very small, we can just clone
the leaf and modify a copy.
This will allow us to perform more general prospective changes on Merkle
trees.
* feat(smt): export get_value() in the trait
* feat(smt): implement generic prospective insertions
This commit adds two methods to SparseMerkleTree: compute_mutations()
and apply_mutations(), which respectively create and consume a new
MutationSet type. This type represents as set of changes to a
SparseMerkleTree that haven't happened yet, and can be queried on to
ensure a set of insertions result in the correct tree root before
finalizing and committing the mutation.
This is a direct step towards issue 222, and will directly enable
removing Merkle tree clones in miden-node InnerState::apply_block().
As part of this change, SparseMerkleTree now requires its Key to be Ord
and its Leaf to be Clone (both bounds which were already met by existing
implementations). The Ord bound could instead be changed to Eq + Hash,
if MutationSet were changed to use a HashMap instead of a BTreeMap.
* chore(smt): refactor empty node construction to helper function
7 months ago
Paul-Henry Kajfasz
4cb6bed428
Updated changelog + added release to no-std
8 months ago
Bobbin Threadbare
a12e62ff22
feat: improve MMR api ( #324 )
8 months ago
Paul-Henry Kajfasz
ac3c6976bd
Updated Changelog + pre commit
8 months ago
Bobbin Threadbare
9f63b50510
chore: increment crate version to v0.10.0 and update changelog
8 months ago
Bobbin Threadbare
ccde10af13
chore: update changelog
11 months ago
Bobbin Threadbare
f72add58cd
chore: increment crate version to v0.9.3 and update changelog
1 year ago
Bobbin Threadbare
43fe7a1072
chore: increment crate version to 0.9.2 and update changelog
1 year ago
Bobbin Threadbare
4bf087daf8
fix: decrement leaf count in simple SMT when inserting empty value ( #303 )
1 year ago
Bobbin Threadbare
4885f885a4
chore: update changelog
1 year ago
Bobbin Threadbare
5a2e917dd5
Tracking PR for v0.9.0 release ( #278 )
* chore: update crate version to v0.9.0
* chore: remove deprecated re-exports
* chore: remove Box re-export
* feat: implement pure-Rust keygen and signing for RpoFalcon512 (#285 )
* feat: add reproducible builds (#296 )
* fix: address a few issues for migrating Miden VM (#298 )
* feat: add RngCore supertrait for FeltRng (#299 )
---------
Co-authored-by: Al-Kindi-0 <82364884+Al-Kindi-0@users.noreply.github.com>
Co-authored-by: Paul-Henry Kajfasz <42912740+phklive@users.noreply.github.com>
1 year ago
Bobbin Threadbare
2be17b74fb
fix: add re-exports of vec and format macros
1 year ago
Bobbin Threadbare
b35e99c390
chore: increment crate version to v0.8.3 and update changelog
1 year ago
Bobbin Threadbare
8e81ccdb68
chore: increment version to v0.8.2 and update changelog
1 year ago
Bobbin Threadbare
4bc4bea0db
chore: update changelog
1 year ago
Augusto Hack
dbab0e9aa9
fix: clippy warnings ( #280 )
1 year ago
Bobbin Threadbare
24f72c986b
chore: update changelog
1 year ago
Bobbin Threadbare
004a3bc7a8
docs: update changelog and readme
1 year ago
Bobbin Threadbare
9baddfd138
feat: implement inner_nodes() iterator for PartialMmr
1 year ago
Al-Kindi-0
36d3b8dc46
feat: move RpoRandomCoin and define Rng trait
nits: minor
chore: update log and readme
1 year ago
Bobbin Threadbare
938250453a
chore: update changelog
1 year ago
Bobbin Threadbare
9d52958f64
docs: update changelog
1 year ago
Bobbin Threadbare
41f03fbe91
chore: update main readme
1 year ago
Augusto F. Hack
bde20f9752
mmr: added partial mmr
1 year ago
Bobbin Threadbare
7f3d4b8966
fix: RPO Falcon build on Windows
1 year ago
Bobbin Threadbare
9235a78afd
chore: add date for v0.7 release
1 year ago
Bobbin Threadbare
cf91c89845
refactor: clean up features
1 year ago
Bobbin Threadbare
9f54c82d62
feat: implement additional leaf traversal methods on MerkleStore
1 year ago
Andrey Khmuro
71b04d0734
refactor: replace MerklePathSet with PartialMerkleTree
1 year ago
Bobbin Threadbare
813fe24b88
chore: update crate version to v0.7.0
1 year ago
Bobbin Threadbare
858f95d4a1
chore: update changelog
1 year ago
Bobbin Threadbare
59f7723221
chore: update crete version to v0.6.0
1 year ago
Bobbin Threadbare
2ed880d976
chore: add TieredSmt to readme
1 year ago
Bobbin Threadbare
dcda57f71a
chore: update changelog
1 year ago
Bobbin Threadbare
52db23cd42
chore: update crate version to v0.5.0
2 years ago