-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Transaction definition. #105
Commits on Nov 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0281de0 - Browse repository at this point
Copy the full SHA 0281de0View commit details -
Add a placeholder Script type.
This could alternately use bytes::Bytes to save some allocations but I don't think this is important to get perfectly now. In the future, we will want to have all of the script handling code in the zebra-script crate, but we will need to have a container type for an encoded script in zebra-chain, because otherwise zebra-chain would depend on zebra-script and not the other way around.
Configuration menu - View commit details
-
Copy full SHA for f8ba3de - Browse repository at this point
Copy the full SHA f8ba3deView commit details -
Rename Transaction{Input,Output} -> Transparent{Input,Output}.
These are only *transparent* inputs and outputs, so by putting Transparent in the name (instead of Transaction) it's more clear that a transaction's inputs or outputs can also be shielded.
Configuration menu - View commit details
-
Copy full SHA for c0fbbfc - Browse repository at this point
Copy the full SHA c0fbbfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8092bf - Browse repository at this point
Copy the full SHA a8092bfView commit details -
First attempt at a Transaction enum.
This attempts to map the versioning and field presence rules into an ADT, so that structurally invalid transactions (e.g., a BCTV14 proof in a Sapling transaction) are unrepresentable.
Configuration menu - View commit details
-
Copy full SHA for 56b061a - Browse repository at this point
Copy the full SHA 56b061aView commit details -
Update zebra-chain/src/transaction.rs
Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
Configuration menu - View commit details
-
Copy full SHA for 69e86d6 - Browse repository at this point
Copy the full SHA 69e86d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8155de9 - Browse repository at this point
Copy the full SHA 8155de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f01b75d - Browse repository at this point
Copy the full SHA f01b75dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 159d17d - Browse repository at this point
Copy the full SHA 159d17dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd7b718 - Browse repository at this point
Copy the full SHA bd7b718View commit details
Commits on Nov 28, 2019
-
Progress on JoinSplit data structures.
This has a lot of duplication and should really use generics to abstract over Sprout-on-BCTV14 or Sprout-on-Groth16.
Configuration menu - View commit details
-
Copy full SHA for a712806 - Browse repository at this point
Copy the full SHA a712806View commit details -
Add data types for Bctv14 and Groth16 proofs.
This also adds a trait to abstract over them.
Configuration menu - View commit details
-
Copy full SHA for 2f3a7a0 - Browse repository at this point
Copy the full SHA 2f3a7a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6950237 - Browse repository at this point
Copy the full SHA 6950237View commit details
Commits on Dec 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 76c6466 - Browse repository at this point
Copy the full SHA 76c6466View commit details -
This moves the TransactionHash changes along with the moved TransactionHash code.
Configuration menu - View commit details
-
Copy full SHA for d34f8a5 - Browse repository at this point
Copy the full SHA d34f8a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for abce604 - Browse repository at this point
Copy the full SHA abce604View commit details