Commit Graph

148 Commits

Author SHA1 Message Date
Conrado Gouvea 73f28bed34 msvc fixes 2024-05-27 20:42:21 -03:00
Conrado Gouvea ceba7ea26c remove unneeded code 2024-05-27 19:35:21 -03:00
Conrado Gouvea 9d2da3703b remove unneded params; add sighashLen to callback 2024-05-27 19:32:44 -03:00
Conrado Gouvea fa2cb992c7 add new tests and remove old ones 2024-05-27 13:59:56 -03:00
Conrado Gouvea c9e201a559 remove more unneeded files 2024-05-24 22:09:03 -03:00
Conrado Gouvea 153eb35d1a remove unneeded dependencies 2024-05-24 18:24:25 -03:00
Conrado Gouvea 8676b2a9ff deleted unneeded rust files 2024-05-24 17:51:38 -03:00
Conrado Gouvea ae20f14993 cleanups 2024-05-24 14:16:29 -03:00
Conrado Gouvea 5443ed2052 remove debug prints 2024-05-24 14:07:09 -03:00
Conrado Gouvea 53ff7ea44e tmp 2024-05-24 11:38:47 -03:00
Conrado Gouvea 1741fd72d7 use #if 0 instead of commenting out to make diff clearer 2024-05-22 17:57:04 -03:00
Conrado Gouvea 23ecfadc21 moving code around 2024-05-22 17:50:02 -03:00
Conrado Gouvea f00debe4bb remove prehashed code 2024-05-22 17:06:08 -03:00
Conrado Gouvea 132d58f5ea revert formatting changes to interpreter.cpp/.h 2024-05-22 16:45:38 -03:00
Conrado Gouvea 112d0854e6 removed unneded code; callback API 2024-05-22 11:26:22 -03:00
Conrado Gouvea 438369d271 created zcash_script_verify_prehashed; compiles 2024-05-22 11:23:36 -03:00
Alfredo Garcia ef2a7fdd5d
cargo release execute output for v0.16 (#149)
* chore: Release zcash_script version 0.1.16

* fix the date
2024-04-26 09:45:10 -03:00
Alfredo Garcia 06de015788
Bump v0.1.16 (#147)
* remove zcashd depend

* Squashed 'depend/zcash/' content from commit 1408e23f0

git-subtree-dir: depend/zcash
git-subtree-split: 1408e23f00fa49ca5f86d2c7ebeb5d120603aa4c

* delete cargo, update and apply patch

* update dependencies

* fix compiling issue by updating lib.rs

* update `cc`

* update `cxx-gen`

* add changeloig entry

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2024-04-26 11:51:51 +02:00
Alfredo Garcia faed93224e
Bump the release v0.1.15 (#146)
* chore: Release zcash_script version 0.1.15

* update date
2024-04-19 11:48:41 -03:00
Alfredo Garcia 084da225db
Release v0.1.15 (#141)
* remove current zcash

* Squashed 'depend/zcash/' content from commit 889162ccf

git-subtree-dir: depend/zcash
git-subtree-split: 889162ccf3e0c2de4fda7aceec35dc3769c19131

* apply patch

* update dependencies
2024-04-17 15:41:59 -03:00
Conrado Gouvea cf9e0d26cf
Restore Windows support with MSVC (#108)
* switch to MSVC, fixes to support it

* fix linking errors

* document how to patch zcash source

* update hash due to nightly breakage; don't use deprecated bindgen function

* update patch with str4d's upstream suggestion

---------

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-04-11 07:56:54 -03:00
Alfredo Garcia 6c2eb13d9f
Create the v0.1.14 release - 2nd attempt (#110)
* update the changelog

* chore: Release zcash_script version 0.1.14

* remove duplicated
2023-10-18 15:39:20 -03:00
dependabot[bot] 4f678c97f5
Bump cxx-gen from 0.7.107 to 0.7.109 (#105)
Bumps [cxx-gen](https://github.com/dtolnay/cxx) from 0.7.107 to 0.7.109.
- [Release notes](https://github.com/dtolnay/cxx/releases)
- [Commits](https://github.com/dtolnay/cxx/commits)

---
updated-dependencies:
- dependency-name: cxx-gen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-10-17 17:29:05 -03:00
Alfredo Garcia 3fdf588c23
v0.1.14 release (#102)
* rm zcash

* Squashed 'depend/zcash/' content from commit e08571476

git-subtree-dir: depend/zcash
git-subtree-split: e08571476d8a59d0a624da7b118ab8d8ad2a6246

* delete zcash/Cargo.toml

* update versions

* update build

* make sapling.rs work by renaming it and copying it to OUT_DIR

* cargo fmt

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-10-17 16:03:37 -03:00
Alfredo Garcia 36de9309bf
Allow clippy lint (#103)
* allow clippy lint

* Revert "allow clippy lint"

This reverts commit 6744ff1ca4.

* move allow clippy rule to lib.rs

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-10-17 09:26:34 -03:00
Alfredo Garcia 4b8643723a
Add Cargo.lock to the project (#96) 2023-09-18 10:51:36 +10:00
dependabot[bot] 5541e58d34
Bump actions/checkout from 3 to 4 (#92)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 12:02:38 -03:00
Arya b900ff4261
v0.1.13 release (#91)
* rm depend/zcash

* Squashed 'depend/zcash/' content from commit 00c2a2434

git-subtree-dir: depend/zcash
git-subtree-split: 00c2a2434e655d275c26986c8751793f4c98bb01

* rm depends/zcash/Cargo.toml

* updates Cargo.toml

* Updates Changelog

* add tl_expected.hpp

* Fix build

* add test-dependencies features to ecc deps

* add missing .c files from secp256k1

* chore: Release zcash_script version 0.1.13

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-07-07 14:06:27 -04:00
teor 62c83941ed Remove duplicate release instructions 2023-05-08 17:26:23 -04:00
teor 258900639b (cargo-release) version 0.1.12 2023-05-08 07:16:28 +10:00
teor 5cfaef7bbd
Upgrade zcash_script to zcashd v5.5.0 (#84)
* Update dependencies to match zcashd v5.5.0

* Update dependencies to match Zebra main branch

* Update release instructions

* Add module docs for the build script to avoid warnings

* Update bridge file list to match the latest zcashd

* Ignore some emacs temporary files

* Standardise directory include paths in Cargo.toml

* Add extra info to cxx_gen errors

* Add additional Rust dependencies needed to compile

* Ignore some expected clippy lints

* Silence a C compiler macro redefinition warning

* Standardise directory paths in build.rs

* fix cxxbridge code generation

* Update Cargo.lock

* Use include!() for bridge.rs

* Add a changelog entry for the next release

* Fix a warning by adding docs for the crate

* Remove previous depend/zcash

* Squashed 'depend/zcash/' content from commit eb80047476

git-subtree-dir: depend/zcash
git-subtree-split: eb80047476e9c0db3524f647d412faf8d4a584ee

* Update depend/zcash to v5.5.0

```sh
git subtree add -P depend/zcash https://github.com/zcash/zcash.git v5.5.0 --squash
git rm depend/zcash/Cargo.toml
```

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-05-05 09:55:41 -03:00
dependabot[bot] 27f9e77549
Bump actions/checkout from 1 to 3 (#44)
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 10:15:13 +10:00
teor b7ec9532e7
Add CI passing and PR review to the release instructions (#70) 2023-04-17 10:14:37 +10:00
Arya ed7b95b6da
v0.1.11 release (#69)
* Updates changelog

* chore: Release zcash_script version 0.1.11

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

---------

Co-authored-by: teor <teor@riseup.net>
2023-02-23 19:24:18 -05:00
teor 5cbddbdac8
Update dependencies to match Zebra (#67) 2023-02-24 10:05:55 +10:00
teor 2b2c666c04
Add extra dependency update steps to the README (#63)
* Add extra dependency update steps to the README

* Use correct dependency steps from Cargo.toml

* Explain how to make new dependencies work

* Simplify instructions

* Add "check all open PRs before releasing"

* Add "run cargo-release" to the release instructions

Co-authored-by: Arya <aryasolhi@gmail.com>

---------

Co-authored-by: Arya <aryasolhi@gmail.com>
2023-02-24 09:08:01 +10:00
teor fb997ccf3f
Check if we still need the rustc_serialize dependency (#68) 2023-02-24 09:07:06 +10:00
teor e04ad0fd88
Upgrade to Rust 2021 edition (#64) 2023-02-24 07:55:45 +10:00
teor 07a39e32e6
Make dependencies automatically upgrade to match Zebra dependency versions (#66) 2023-02-24 07:47:27 +10:00
Arya 96a9b9026c
chore: Release zcash_script version 0.1.9 (cargo-release) (#62) 2023-02-23 16:08:17 -05:00
Arya b5a8622e6c
update changelog (#61) 2023-02-23 14:20:56 -05:00
Arya 76c0aa5dae
Update depends/zcash to 5.4.0 release (#60)
* delete previous version

* Squashed 'depend/zcash/' content from commit 774f2d8ed

git-subtree-dir: depend/zcash
git-subtree-split: 774f2d8eda62cc51990e0aa154f92f09ffba3873

* updates Cargo.toml
2023-02-17 13:36:49 -05:00
teor d352b0c971
Check for duplicate dependencies (#48) 2022-12-14 14:43:58 -03:00
teor ccd7185489
Activate dependabot on zcash_script (#43) 2022-12-06 14:20:45 -03:00
Marek b4a8aa2b82
Bump dependencies and release v0.1.8 (#41)
* Bump dependencies

* Bump `bindgen`

* Remove zcashd subtree

* Squashed 'depend/zcash/' content from commit 35186b009

git-subtree-dir: depend/zcash
git-subtree-split: 35186b00928f3ba994f0e66bb234c412cbffc7b6

* Update to zcashd v5.3.0

* Make dependency versions match zcashd v5.3.0

* Update README for Orchard, and make dependency bumps clearer

* Add release 0.1.8 to the CHANGELOG

Co-authored-by: teor <teor@riseup.net>
2022-10-31 08:53:25 +10:00
Conrado Gouvea 5266ac19b7
v0.1.7 release (#39)
* update changelog for v0.1.7

* (cargo-release) version 0.1.7
2022-08-31 19:16:10 -03:00
Conrado Gouvea bef75ee7bb
Update to zcash 5.2.0 (#37)
* delete previous version

* Squashed 'depend/zcash/' content from commit f98166f7f5

git-subtree-dir: depend/zcash
git-subtree-split: f98166f7f556ee9b9f597d45275c32843a87b0b6

* update to zcash 5.2.0

* remove Windows support for now, see #38
2022-08-23 05:40:55 +10:00
Conrado Gouvea c9fbc441ef
Use subtree again to allow publishing the crate (#34)
* change: update Cargo.toml, lib.rs, CHANGELOG.md for 0.1.6 release.

* Squashed 'depend/zcash/' content from commit 9af3bce26

git-subtree-dir: depend/zcash
git-subtree-split: 9af3bce265ba428382006b0940678418d65f505f

* fix: delete depend/zcash/Cargo.toml to prevent cargo from ignoring it

* ci: add cargo package test

* change(doc): explain the subtree / squash issue in README.md
2022-05-17 19:31:56 -03:00
Conrado Gouvea 2be4323142
change(doc): update CHANGELOG for 0.1.6 release (#33) 2022-05-16 19:17:44 -03:00
Conrado Gouvea 7704c1ee42
change: update dependencies for NU5 mainnet (matching zcashd 5.0.0) (#32) 2022-05-13 20:18:46 +02:00