Commit Graph

20801 Commits

Author SHA1 Message Date
Asher Dawes
9cdb60cdcd Updating package from zcash 2018-10-29 00:51:06 +00:00
miketout
a8a4e37b5f extern 2018-10-28 16:11:56 -07:00
miketout
76a77528ab Allow mint=1 to be a VRSC.conf parameter 2018-10-28 13:40:09 -07:00
miketout
6023e8ab75 Merge branch 'dev' of https://github.com/miketout/komodo into dev 2018-10-27 20:29:09 -07:00
miketout
99aeab28f9 Integrate latest Zcash fixes and update for non-latin user names 2018-10-27 20:29:03 -07:00
miketout
ea9c37f245 Merge pull request #33 from VerusCoin/dev
CI update
2018-10-27 18:11:14 -07:00
Asher Dawes
0868246437 Removing redundant verus script from src.
Moving verus.bat from src to scr/fiat
Adjusting gitlab-ci configuration and Mac release packaging script to comform to the changes.
2018-10-27 18:00:53 -07:00
miketout
8546284349 Delete incorrectly located CLI bash file 2018-10-27 14:53:53 -07:00
miketout
45bb468139 Better cheat catcher 2018-10-27 14:53:18 -07:00
Homu
11fa12773e Auto merge of #3633 - str4d:params-path-encoding, r=bitcartel
Pass parameter paths as native strings to librustzcash

Fixes a user-reported crash when starting on Windows with a Cyrillic non-UTF-8 locale.
2018-10-27 11:22:17 -07:00
Jack Grigg
262cf38712 Build librustzcash package without changing directory
This ensures that the depends system's custom PATH is applied correctly,
and the pre-build Rust binaries are accessible.
2018-10-28 06:41:53 +13:00
Jack Grigg
ee3fa7020e Pass parameter paths as native strings to librustzcash 2018-10-27 19:19:02 +13:00
Jack Grigg
eff2938e46 Migrate to current librustzcash
The only upstream change relative to the previous commit is that the
various Zcash-specific dependencies have been pulled into a cargo
workspace. The dependecies in the workspace use the same commits as the
crates we had previously vendored.

The patches are necessary to handle the fact that cargo requires that
dev dependencies are available even if not used, and we would otherwise
need to vendor all the underlying crates.
2018-10-27 17:03:47 +13:00
Asher Dawes
95b8f04f77 Updating version 2018-10-26 09:29:57 -07:00
Asher Dawes
395f18f556 Merge pull request #146 from miketout/dev
Dev
2018-10-26 09:21:53 -07:00
miketout
a12f70bf55 Ensure that only valid staking transactions are synced with wallets 2018-10-26 01:04:07 -07:00
miketout
846b64df6f Merge branch 'dev' of https://github.com/miketout/komodo into dev 2018-10-25 23:25:55 -07:00
miketout
4c8293dc76 Fixed issue #145, should fix stake synching with wallets 2018-10-25 23:25:31 -07:00
Homu
186874bb83 Auto merge of #3622 - Eirik0:rpc-assert-message, r=daira
Fix potentially misleading test failures

This is in response to https://github.com/zcash/zcash/pull/3590#discussion_r224677644

Currently statements such as:

```assert_equal("Embarassment", "Embarrassment", "Misspelling detected")```

Will produce essentially the following error:
```
Assertion failed: Misspelling detected; expected: <Embarassment> but was: <Embarrassment>
  File "/home/eirik/Development/zcash/qa/rpc-tests/test_framework/test_framework.py", line 121, in main
    self.run_test()
  File "/home/eirik/Development/zcash/qa/rpc-tests/test_spelling.py", line 13, in run_test
```
Which is misleading because the item on the left is not what is actually expected.

This PR changes the assertion failure to be displayed as:
```
Assertion failed: (left == right); Misspelling detected
  left: <Embarassment>
 right: <Embarrassment>
  File "/home/eirik/Development/zcash/qa/rpc-tests/test_framework/test_framework.py", line 121, in main
    self.run_test()
  File "/home/eirik/Development/zcash/qa/rpc-tests/test_spelling.py", line 13, in run_test
```
2018-10-24 23:14:19 -07:00
miketout
ada0f5a496 Merge pull request #32 from VerusCoin/dev
Adding missing batch scripts
2018-10-24 16:09:40 -07:00
Asher Dawes
6954882ce3 Adding missing batch scripts 2018-10-24 16:03:24 -07:00
Homu
e88a069627 Auto merge of #3620 - Eirik0:fix-sendmany-errmsg, r=bitcartel
Fix error message

This error should never happen, but it may as well reference the method it is thrown from.
2018-10-24 14:12:05 -07:00
Eirik Ogilvie-Wigley
882a4f577f Fix potentially misleading test failures 2018-10-24 13:53:25 -06:00
Eirik Ogilvie-Wigley
81005fb214 Fix error message 2018-10-24 12:05:48 -06:00
Homu
dc3398fa88 Auto merge of #3611 - bitcartel:3467_add_sapling_benchmarks, r=bitcartel
Closes #3467. Add benchmarks for Sapling spends and outputs.

Four new benchmarks are added to RPC zcbenchmark:
- createsaplingspend
- createsaplingoutput
- verifysaplingspend
- verifysaplingoutput
2018-10-23 22:52:22 -07:00
miketout
fbb4a542c8 Merge branch 'dev' of https://github.com/miketout/komodo into dev 2018-10-23 21:22:28 -07:00
miketout
9532e6b7c9 Hoisted path var in ZC_GetBaseParamsDir 2018-10-23 21:21:59 -07:00
miketout
3994f32514 Merge pull request #31 from VerusCoin/master
Fetching deltas from VerusCoin Repository
2018-10-23 19:36:12 -07:00
Asher Dawes
325b6a72a7 Merge pull request #144 from VerusCoin/dev
Adding symbols back to Linux builds.
2018-10-23 19:21:19 -07:00
Asher Dawes
844637a503 Adding symbols back to Linux builds.
Stripping symbols on master branch builds
2018-10-23 19:19:38 -07:00
miketout
8a1e0d0d5f Add support for -zcashparamsdir parameter 2018-10-23 16:39:31 -07:00
Homu
d2019a4ccd Auto merge of #3581 - Eirik0:3580-unspent-note-cleanup, r=daira
Remove GetUnspentFilteredNotes

Closes #3580

This PR generalized `GetFilteredNotes`, expanding its functionality to also do what we do in `GetUnspentFilteredNotes`. This enables us to remove the latter.
2018-10-22 22:36:05 -07:00
Eirik Ogilvie-Wigley
095eee4f4d Wrap long line and update comments 2018-10-22 10:01:17 -06:00
Asher Dawes
7cd3bbd0f4 Merge pull request #143 from VerusCoin/dev
Adding missing build
2018-10-21 15:22:59 -07:00
Asher Dawes
2b198dc777 Adding missing build 2018-10-21 15:22:05 -07:00
Asher Dawes
f5d9dde208 Merge pull request #142 from VerusCoin/dev
Updating version
2018-10-21 15:19:37 -07:00
Asher Dawes
7e6fdc5b7f Updating version 2018-10-21 15:18:47 -07:00
Asher Dawes
f3e9093da6 Merge pull request #141 from VerusCoin/dev
Dev
2018-10-21 15:04:29 -07:00
Asher Dawes
685c74044a Merge pull request #140 from miketout/dev
Remove retries on getBlockTemplate to fix pool flooding with calls
2018-10-21 15:02:58 -07:00
miketout
d82a969a58 Remove retries on getBlockTemplate to fix pool flooding with calls 2018-10-21 14:54:19 -07:00
Asher Dawes
e7657bf1f6 Dev (#139)
* Adding comments to structure GitLab-CI configuration
enabling tests

* Fixing verus shell script to change to its current directory upon call.
2018-10-21 11:09:52 -07:00
Asher Dawes
892448889d Fixing verus shell script to change to its current directory upon call. 2018-10-21 11:07:13 -07:00
Asher Dawes
b8a246d313 CI run tests need to be revised on a branch. Disabling for now 2018-10-19 17:43:12 -07:00
Homu
32c2c17a91 Auto merge of #3579 - Eirik0:3577-generate-sprout-zkey, r=bitcartel
Make it clear that CWallet::GenerateNewZKey is Sprout specific

Closes https://github.com/zcash/zcash/issues/3577

When adding sapling support we had considered making the method `GenerateNewZKey` generic, but it ended up making more sense to add a second method `GenerateNewSaplingZKey` for sapling support.

This PR changes the name of `GenerateNewZKey` to `GenerateNewSproutZKey` and changes the return type from `libzcash::PaymentAddress` to `libzcash::SproutPaymentAddress` to make it more clear that this is what the method does.
2018-10-18 19:47:46 -07:00
Simon
67d2b79783 Closes #3467. Add benchmarks for Sapling spends and outputs.
Four new benchmarks are added to RPC zcbenchmark:
- createsaplingspend
- createsaplingoutput
- verifysaplingspend
- verifysaplingoutput
2018-10-18 19:10:59 -07:00
Homu
d810703431 Auto merge of #3588 - bitcartel:hash_final_sapling_root_verification, r=bitcartel
Add test to verify final sapling root in block header is updated.
2018-10-18 17:52:11 -07:00
Homu
e077fb321b Auto merge of #3541 - leto:amount_docs, r=bitcartel
Clarify in sendmany/z_sendmany rpc docs that amounts are not FP

Fixes #3539

I clarified in the docs that only 8 digits of precision are allowed. For example, if you try 9 digits you will get:
```
zcash-cli z_sendmany $TADDR  "[{\"address\":\"$ZADDR\",\"amount\":0.123456789}]"
error code: -3
error message:
Invalid amount
```
2018-10-18 15:36:34 -07:00
Eirik Ogilvie-Wigley
e92414f91e Remove GetUnspentFilteredNotes 2018-10-18 15:52:13 -06:00
Eirik Ogilvie-Wigley
ef27d7e4b3 Add functionality from GetUnspentFilteredNotes to GetFilteredNotes 2018-10-18 15:52:13 -06:00
Eirik Ogilvie-Wigley
9396b85db8 Remove unspent note entry structs 2018-10-18 15:52:07 -06:00