Deirdre Connolly
7a92496244
Make RANDOMNESS_BEACON_URS pub(super)
2020-08-28 04:46:31 -04:00
Deirdre Connolly
c027cfc0d2
Rename SaplingShieldedAddress to Address, make address & commitment private, export their structs
2020-08-28 04:46:31 -04:00
Deirdre Connolly
df89a049cb
Rename EncryptedCiphertext to EncryptedNote
2020-08-28 04:46:31 -04:00
dependabot[bot]
005ec6c57c
build(deps): bump structopt from 0.3.16 to 0.3.17 ( #953 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.16...v0.3.17 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 11:59:04 -07:00
dependabot[bot]
8e9019a847
build(deps): bump jubjub from 0.3.0 to 0.4.0
...
Bumps [jubjub](https://github.com/zkcrypto/jubjub ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/zkcrypto/jubjub/releases )
- [Changelog](https://github.com/zkcrypto/jubjub/blob/master/RELEASES.md )
- [Commits](https://github.com/zkcrypto/jubjub/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 17:35:54 -04:00
Alfredo Garcia
780e675517
change env syntax
2020-08-24 14:57:01 -04:00
Alfredo Garcia
6dd859e0cf
add RUST_BACKTRACE to CI tests
2020-08-24 14:57:01 -04:00
teor
fa04072298
Make the checkpoint limit test more readable ( #941 )
...
* fix: Pass zebra_consensus::Config in a test
* fix: Remove a redundant import
2020-08-24 11:34:10 -07:00
dependabot[bot]
619c499ba6
build(deps): bump sled from 0.34.2 to 0.34.3
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.34.2 to 0.34.3.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 12:49:10 -04:00
teor
78201b456d
feature: Implement checkpoint_sync for checkpoint verification
...
* add CheckpointList::new_up_to(limit: NetworkUpgrade)
* if checkpoint_sync is false, limit checkpoints to Sapling
* update tests for CheckpointList and chain::init
2020-08-24 15:34:46 +10:00
teor
06f4a59664
feature: Add a checkpoint_sync config option
...
(The option doesn't do anything yet.)
2020-08-24 15:34:46 +10:00
teor
f88d324911
fix: Use defaults for missing state config fields
...
Closes #890 .
2020-08-24 15:34:46 +10:00
Ramana Venkata
991c70723a
zebrad: Create zebrad.toml in acceptance tests from ZebradConfig
...
Fixes #929
2020-08-23 21:24:19 -04:00
Ramana Venkata
e90137e79b
Update sha2@0.9.1 ( #938 )
...
* Update sha2@0.9.1
Fixes #915
* Update zebra-chain/src/sprout/keys.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
* Update zebra-chain/src/sprout/note/nullifiers.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-08-21 16:26:14 -07:00
Henry de Valence
dda0d2dd41
Remove check_block
...
Per discussion where @yaahc suggested that it would be simpler to delete this function entirely and treat it as an implementation detail.
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-08-21 16:38:33 -04:00
Jane Lusby
7dcac97d0b
Update book/src/dev/rfcs/XXXX-asynchronous-script-verification.md
...
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-08-21 16:38:33 -04:00
Henry de Valence
a3a4ba858a
Add async script RFC
2020-08-21 16:38:33 -04:00
teor
6a3615e039
fix: Commit sled state in a transaction ( #933 )
...
Fixes a race condition between the height and hash tree updates, when
they are executed simultaneously with GetDepth. `get_tip` uses the height
tree, but `get` uses the hash tree.
2020-08-21 12:36:00 -07:00
teor
3400b72699
fix: Make the start acceptance tests stricter
2020-08-21 07:22:53 +10:00
teor
02e6027c57
refactor: Remove duplicate acceptance test code
2020-08-21 07:22:53 +10:00
teor
1e0e4914a0
fix: Improve an acceptance test failure message
...
If the tests conflict with a local zebrad, zcashd, or other tests, they
need to be run with a custom config, or in an isolated environment.
2020-08-21 07:22:53 +10:00
teor
b8e8d4f548
fix: Remove some deeply-nested instrument spans
...
Closes #923 .
2020-08-20 14:52:39 -04:00
teor
9a8af731b1
fix: Remove redundant ConsensusBranchId constants
2020-08-20 14:52:09 -04:00
teor
5afa24588a
fix: Remove unused dependencies
2020-08-20 14:49:17 -04:00
Alfredo Garcia
d349f2bbc2
Refactor acceptance serialized_tests ( #920 )
...
* add network listening address to default config
2020-08-20 07:48:22 +10:00
Jane Lusby
1d6183ef84
Make zebra-script wrap the C++ script implementation in zcashconsensus ( #708 )
...
* attempt to use zcashconsensus crate in zebra-script
* boop
* update verify fn to use zebra types
* a bit more cleanup
* cleanup
* more
* beep boop
* fix renamed member
* cleaning
* get a real branch id
* remove as of yet unneeded api
* Update zebra-chain/src/transaction.rs
* Update zebra-chain/src/transaction.rs
* more cleanup
* oops wrong dep section
* use a tuple to communicate arg association
* update to use published version of zcash_script
* fix new compiler error
* install llvm on windows
* fix bindgen bug????
* try to get docker file to win
* okay try everything
* fix windows build maybe
* always download choco
* fix paths for moved types
* try a different error message
* try convenience script
* try installing just llvm
* add back one more
* try installing some headers
* try a diff package
* try everything
* remove the minimum
* try newer docker builder image
* cleanup docker image
* cleanup extra ci step
2020-08-18 11:08:53 -07:00
Alfredo Garcia
8539302ad8
rename checks to check
2020-08-18 11:03:40 -07:00
Alfredo Garcia
4dac4d4df7
move `is_coinbase_first` from chain to consensus
2020-08-18 11:03:40 -07:00
dependabot[bot]
e67d3fc5e3
build(deps): bump codecov/codecov-action from v1.0.12 to v1.0.13
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.0.12 to v1.0.13.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.12...6004246f47ab62d32be025ce173b241cd84ac58e )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-18 06:43:03 -04:00
Henry de Valence
d63562994d
deps: Update x25519-dalek, ed25519-zebra
2020-08-17 20:47:48 -07:00
dependabot[bot]
982f59b30d
build(deps): bump proptest from 0.10.0 to 0.10.1 ( #913 )
...
Bumps [proptest](https://github.com/altsysrq/proptest ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/compare/0.10.0...v0.10.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 14:19:34 -07:00
Henry de Valence
177d38e176
utils: prevent accidental publication.
2020-08-17 12:47:32 -07:00
Henry de Valence
455f91501d
doc: exclude zebra-utils, zebra-checkpoint.
...
These are internal-only crates for development.
2020-08-17 12:47:32 -07:00
Henry de Valence
8e15c16b42
chain: TransparentAddress -> transparent::Address
2020-08-17 11:46:34 -07:00
Henry de Valence
ebdceb5197
chain: rename TransactionHash to transaction::Hash
2020-08-17 11:46:34 -07:00
Henry de Valence
d49d3d2b30
chain: tweak docs for JoinSplitData, ShieldedData
2020-08-17 11:46:34 -07:00
Henry de Valence
5c176d2f96
chain: move JoinSplit to sprout
2020-08-17 11:46:34 -07:00
Henry de Valence
1fc859d0c5
chain: move Spend, Output into sapling
...
The ShieldedData container for the spend and output descriptions of a
transaction does *not* move, because it's encoding transaction
structure. A good sign that this is the right factoring is that the
transaction module now only needs to pull in sapling::{Spend, Output}
and not all the internals.
2020-08-17 11:46:34 -07:00
Henry de Valence
d945cd28e8
chain: move Transparent{Input,Output} to transparent
...
Also bring the `Script` type there too.
2020-08-17 11:46:34 -07:00
Deirdre Connolly
25f63518f4
Allow clippy::unit_arg because of derive(Arbitrary)
2020-08-17 11:46:34 -07:00
Henry de Valence
d57390d265
chain: doc tweaks (mostly block::)
2020-08-17 11:46:34 -07:00
Henry de Valence
94d6d448bb
chain: rename to block::merkle::{Root, Tree}.
2020-08-17 11:46:34 -07:00
Henry de Valence
2712c4b72a
chain: rename BlockHeader to block::Header
2020-08-17 11:46:34 -07:00
Henry de Valence
103b663c40
chain: rename BlockHeight to block::Height
2020-08-17 11:46:34 -07:00
Henry de Valence
61dea90e2f
chain: rename BlockHeaderHash to block::Hash
...
This is the first in a sequence of changes that change the block:: items
to not include Block as a prefix in their name, in accordance with the
Rust API guidelines.
2020-08-17 11:46:34 -07:00
Henry de Valence
04ba696515
chain: remove block::block
2020-08-17 11:46:34 -07:00
Henry de Valence
9766d32fa6
chain: touch up amount docs
2020-08-17 11:46:34 -07:00
Henry de Valence
d0ee7a9961
chain: amount::AmountConstraint -> amount::Constraint
2020-08-17 11:46:34 -07:00
Henry de Valence
fd548592bf
chain: remove clippy::try_error annotation
2020-08-17 11:46:34 -07:00
Henry de Valence
dcc1e19129
chain: touch up docs
2020-08-17 11:46:34 -07:00