Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2df66bf
Add split_notes HashMap into Builder
ConstanceBeguier Oct 1, 2024
78d4e46
Add timelimit into Builder and Bundle
ConstanceBeguier Oct 3, 2024
8771671
Timelimit is u32 and not u64
ConstanceBeguier Oct 3, 2024
95930db
Add sighash evaluation for action groups
ConstanceBeguier Oct 3, 2024
15f56f3
Add ActionGroup tests
ConstanceBeguier Oct 10, 2024
5965687
Add matcher action group for fees in tests
ConstanceBeguier Oct 10, 2024
69556e7
Add SwapBundle struct
ConstanceBeguier Oct 11, 2024
e92b556
Add SwapBundle functionalities
ConstanceBeguier Oct 14, 2024
2403397
Fix errors
ConstanceBeguier Oct 15, 2024
c8763a3
Fix fees
ConstanceBeguier Oct 15, 2024
5d6c2c4
Fix errors from zsa1 rebasing
ConstanceBeguier Oct 15, 2024
44beb0f
Move new functionalities and structs into swap_bundle.rs file
ConstanceBeguier Oct 15, 2024
7a0e9f7
Create Actiongroup structure
ConstanceBeguier Oct 15, 2024
45a142a
Remove timelimit from Builder and Bundle
ConstanceBeguier Oct 15, 2024
dc72696
Move ActionGroupAuthorized into swap_bundle.rs file
ConstanceBeguier Oct 17, 2024
c7a9631
When building a SwapBundle, remove bsk for each action group
ConstanceBeguier Oct 17, 2024
1c654c6
Add and update comments
ConstanceBeguier Oct 18, 2024
e63c96b
Update hash_action_group and hash_swap_bundle
ConstanceBeguier Oct 18, 2024
831cd50
Replace split_notes by reference_notes
ConstanceBeguier Oct 29, 2024
affdb39
Create SpecificBuilderParams
ConstanceBeguier Oct 29, 2024
8e7d804
Update SwapBundle creation
ConstanceBeguier Oct 29, 2024
5b1feb6
Add miner fees in swap tests
ConstanceBeguier Oct 29, 2024
7a91e37
Create reference keys in swap tests
ConstanceBeguier Oct 29, 2024
c4f01ad
Add some swap tests
ConstanceBeguier Oct 29, 2024
a4ef3a3
Rename sighsh by action_group_digest
ConstanceBeguier Oct 31, 2024
1ec3914
Add ReferenceNotesAndKeys structure
ConstanceBeguier Oct 31, 2024
b603651
Remove allow clippy too_many_arguments on build_and_verify_action_group
ConstanceBeguier Oct 31, 2024
da62fd7
Add reference notes into issuance.rs
ConstanceBeguier Nov 5, 2024
1acef4f
Fix zsa tests due to new IssueBundle format
ConstanceBeguier Nov 5, 2024
bda8121
Add recipient at TestOutputInfo
ConstanceBeguier Nov 7, 2024
5308cad
[WIP] Update comments
ConstanceBeguier Nov 12, 2024
9552ad1
When creating an action group from a builder, return metadata
ConstanceBeguier Nov 14, 2024
8238744
Zsa Swap Utils (#141)
alexeykoren Mar 9, 2025
4eea984
Add swaps flag serialization
alexeykoren Apr 22, 2025
8ac892d
Remove BurnNotEmptyInActionGroup error
alexeykoren Apr 23, 2025
216a507
Add burn to action group bundle
alexeykoren May 6, 2025
a0b3443
Post-merge fixes
alexeykoren Aug 12, 2025
8ba53e2
Set split_flag to true for reference notes
alexeykoren Sep 30, 2025
56e2094
Use correct split note in test
alexeykoren Oct 13, 2025
8bd82e7
After-merge fixes
alexeykoren Oct 22, 2025
f6d8792
Use versioned sig in swap bundle
alexeykoren Oct 23, 2025
cca959a
Add burn to bvk
Nov 1, 2025
615f39f
Merge branch 'zsa1' into zsa_swap_abd6ecc
alexeykoren Dec 9, 2025
874f255
Merge zsa1
alexeykoren Dec 9, 2025
77befb0
Fmt
Dec 24, 2025
975eb25
Clippy
Dec 24, 2025
0a61285
Merge branch 'zsa1' into zsa_swap
alexeykoren Jan 20, 2026
a4ea850
Add circuit cfg guards
alexeykoren Jan 20, 2026
3256516
Add circuit cfg guards
alexeykoren Jan 20, 2026
d91aaf1
Update blake
alexeykoren Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]
[dependencies]
aes = "0.8"
bitvec = { version = "1", default-features = false }
blake2b_simd = { version = "=1.0.1", default-features = false }
blake2b_simd = { version = "=1.0.2", default-features = false }
ff = { version = "0.13", default-features = false }
fpe = { version = "0.6", default-features = false, features = ["alloc"] }
group = "0.13"
Expand Down
9 changes: 8 additions & 1 deletion benches/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use pprof::criterion::{Output, PProfProfiler};

use orchard::{
builder::{Builder, BundleType},
bundle::Authorization,
circuit::{ProvingKey, VerifyingKey},
keys::{FullViewingKey, Scope, SpendingKey},
note::AssetBase,
Expand Down Expand Up @@ -86,7 +87,13 @@ fn criterion_benchmark<FL: OrchardFlavorBench>(c: &mut Criterion) {
.unwrap();
assert!(bundle.verify_proof(&vk).is_ok());
group.bench_function(BenchmarkId::new("bundle", num_recipients), |b| {
b.iter(|| bundle.authorization().proof().verify(&vk, &instances));
b.iter(|| {
bundle
.authorization()
.proof()
.unwrap()
.verify(&vk, &instances)
});
});
}
}
Expand Down
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
reorder_imports = false
Loading
Loading