Jack Grigg
f270979acb
Migrate to librustzcash 0.2.0 API
2019-10-20 19:11:02 +13:00
Jack Grigg
fe3cb8ec93
Remove makeGrothProof argument from JoinSplit::prove
2019-09-16 13:10:54 +01:00
Homu
2528af69ff
Auto merge of #4025 - bitcartel:shorter_block_target_interval_zip208, r=daira
...
Implement ZIP 208: Shorter Block Target Spacing
Closes #3690 .
2019-08-09 02:35:30 -07:00
Eirik Ogilvie-Wigley
0f0512128c
Make sure that expiry height is not less than height
2019-08-05 12:57:10 -06:00
Eirik Ogilvie-Wigley
65df6225a6
Do not create transactions that will expire after the next epoch
2019-08-02 16:01:20 -06:00
Eirik Ogilvie-Wigley
8865f4b6f6
Update expiry height for shorter block times
2019-07-30 01:16:37 -06:00
Daira Hopwood
bc909a7a7f
Replace http with https: in links to the MIT license.
...
Also change MIT/X11 to just MIT, since no distinction was intended.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:26:01 +01:00
Dimitris Apostolou
f57f76d789
Rename vjoinsplit to vJoinSplit
2019-06-16 19:13:49 +03:00
Daira Hopwood
5eb7129d95
Generalize TransactionBuilder and CreateNewContextualCMutableTransaction to allow choosing the expiry delta.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-05-10 13:48:43 +01:00
Simon
bda85eb06a
Remove unused specifier from format string.
...
The extra specifier meant that a runtime error would be thrown
during Sprout to Sapling migration if `zrpcunsafe` logging
was enabled:
"tinyformat: Too many conversion specifiers in format string"
2019-05-08 20:51:13 -07:00
Eirik0
ea8823ce51
coinsView is required when using TransactionBuilder if there may be Sprout change
2019-05-07 18:41:35 -06:00
Eirik0
ee9ff2ce74
Rename and update comment
2019-03-19 12:55:55 -06:00
Eirik0
6281cc32b7
Use a custom error type if creating joinsplit descriptions fails
2019-02-28 11:29:14 -07:00
Jack Grigg
cb51e03587
Add Sprout support to TransactionBuilder
2019-02-26 13:36:50 -07:00
Eirik Ogilvie-Wigley
caa1203307
Improve some error messages when building a transaction fails
2019-01-30 04:12:15 -07:00
Eirik Ogilvie-Wigley
c297558169
throw an exception rather than returning false when building invalid transactions
2019-01-17 15:19:13 -07:00
Eirik Ogilvie-Wigley
d55d88707c
Return more information when building a transaction fails
2019-01-17 15:10:42 -07:00
Simon
7a9b6f8435
Closes #3597 . TransactionBuilder checks tx version before adding Sapling spends and outputs.
2018-11-07 20:38:32 -08:00
Jack Grigg
ba63dacbbb
Use the correct empty memo for Sapling outputs
2018-10-03 12:14:50 +01:00
Jack Grigg
bd3c860cb4
Use ovk directly in the TransactionBuilder API instead of fvk
2018-09-18 23:26:31 +01:00
Eirik Ogilvie-Wigley
8ea8ef9850
Rename Witnesses to include sprout or sapling
2018-08-01 10:41:36 -06:00
Sean Bowe
04ed758e37
Fix bug in return value.
2018-07-30 22:03:40 -06:00
Jack Grigg
54a868cf0a
Rename xsk to expsk
...
xsk will be used for ZIP 32 extended spending keys, so renaming here to
reduce confusion.
2018-07-30 14:26:29 +01:00
Jack Grigg
a8dd4b0cf1
TransactionBuilder: Make fee configurable
2018-07-30 12:52:48 +01:00
Jack Grigg
45c0d1ec84
TransactionBuilder: Add change output to transaction
2018-07-30 12:46:18 +01:00
Jack Grigg
3466b4677e
TransactionBuilder: Add support for transparent inputs and outputs
2018-07-30 11:03:29 +01:00
Jack Grigg
25bb05de23
Formatting
2018-07-27 12:17:14 +02:00
Jack Grigg
e5dc5228ea
TransactionBuilder: Check that all anchors in a transaction are identical
...
This reduces the amount of information that is leaked by the choice of anchor.
In future we will make a protocol change to enforce that all inputs use the
same anchor.
2018-07-27 09:46:38 +02:00
Jack Grigg
e691e21f40
TransactionBuilder with support for creating Sapling-only transactions
2018-07-25 11:35:10 +02:00